Recent content by saeede-
-
S
MATLAB How to Plot a 4th Degree Polynomial in MATLAB: Step-by-Step Guide
yes :)) I'm not an English person . so it's normal having such mistakes.- saeede-
- Post #8
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB How to Plot a 4th Degree Polynomial in MATLAB: Step-by-Step Guide
hey everyone . I want to plot a Grade 4 equation in MATLAB. but don't know how to do. Can anyone guide me? equation : f = 1.47*(x^4)-10^7*(x)+58.92*(10^6)- saeede-
- Thread
- Degree Plot Polynomial
- Replies: 7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB How to plot an orbit around the Earth in MATLAB
oh.. thanks. it works.- saeede-
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB Question about how solve 2 body problem in orbit using MATLAB ode45
in my problem that i solve it , I would take different velocity and see how change orbit. and i should use m because it's mass of satellite. I put the velocity that gave me in y component and become Ok ! Now , I don't know how to plot orbit around Earth . this said in different topic.- saeede-
- Post #7
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB How to plot an orbit around the Earth in MATLAB
Hi. can you help me to plot orbit around Earth with sphere in MATLAB? I wrote the code that plot 3D orbit but without earth. the code: clear all close all clc R=6371e+3; r0=3e+5; p0=[R+r0;0;0;0;10000;0]; [t,p]=ode45(@sattelite,[0,12000],p0); xout=p(:,1); yout=p(:,2); zout=p(:,3); vx=p(:,4)...- saeede-
- Thread
- Earth Matlab Orbit Plot
- Replies: 2
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB Question about how solve 2 body problem in orbit using MATLAB ode45
Oh yes! thanks. all errors gone .although i wanted to plot a circle 3d but it shows a line :)- saeede-
- Post #5
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB Question about how solve 2 body problem in orbit using MATLAB ode45
all the errors are: Unrecognized function or variable 'x'. Error in T3>sattelite (line 16) p=[x position;y position;z position;x velocity(vx);y velocity(vy);z velocity(vz)]; Error in odearguments (line 90) f0 = feval(ode,t0,y0,args{:}); % ODE15I sets args{1} to yp0. Error in ode45 (line...- saeede-
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
S
MATLAB Question about how solve 2 body problem in orbit using MATLAB ode45
hi guys, I'm trying to write a program in MATLAB to solve and plot equation of motion of 2 body problem but it errors as i don't know what it says! do you know how to help me? please! The main equation is r(double dot)=-(mu)*r(hat)/r^3 The code that i wrote is: clear all close all clc...- saeede-
- Thread
- Body Matlab Ode45 Orbit
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX