Recent content by mohamed_ali
-
M
MATLAB Solving 2nd Order ODE with MATLAB:Input Argument "a" is Undefined
yeah it works fine thanks a lot for your help- mohamed_ali
- Post #12
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Solving 2nd Order ODE with MATLAB:Input Argument "a" is Undefined
sorry i don't understand what you mean with vertcat error- mohamed_ali
- Post #10
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Solving 2nd Order ODE with MATLAB:Input Argument "a" is Undefined
I have noticed the error only occures when I debug the code but when I call the function it seems to be working fine. however another problem i have is that when I give a default value to variables by using nargin< , I get the message "too many input arguments" . by using nargin the value given...- mohamed_ali
- Post #9
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Solving 2nd Order ODE with MATLAB:Input Argument "a" is Undefined
thanks for the reply jhae2.718 i am calling the ode like [t,a]=ode45('canti',[0 20],[0.1;0],[],zeta,epsi,lampda,z,omega) sorry i didnt understand what you meant by "post the code in tags..." and btw i am not using pi (π) am using ϕ (phi)- mohamed_ali
- Post #6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Solving 2nd Order ODE with MATLAB:Input Argument "a" is Undefined
thanks for the reply gb7nash yeah it tells me that error is at da_dt=a(2) but i will try to rename the variable "a" to something else- mohamed_ali
- Post #3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
M
MATLAB Solving 2nd Order ODE with MATLAB:Input Argument "a" is Undefined
hi i am trying to solve second order ODE in MATLAB but when i write my scribt and call into the command window using ode45 i get input argument "a" is undefined i have spent so much time trying to figure out what the problem is but unsuccessful. the function is as follows function...- mohamed_ali
- Thread
- 2nd order Argument Ode
- Replies: 12
- Forum: MATLAB, Maple, Mathematica, LaTeX