Answered

how to take the derivative for the retained value from ode45?

Can I do something like diff [ts,xs]

how to take the derivative for the retained value from ode45?

Can I do something like diff [ts,xs]

7 years ago | 0

Question

How to take the derivative for the retained value from ode45 solver?

[t,y]= ode45(@my_function,[0,10],[5,0]); I'm getting angular velocity and angular position from the ODE solver above. Now I ...

7 years ago | 0 answers | 0

Question

How to change the colors in the plot?

%How to change the colors in the plot? %I have four curves, and they are black and blue, %I'm trying to change the color t...

7 years ago | 1 answer | 0

Question

Why I'm keep getting these errors? Please help!

I'm writing a program and I can't finish it because I'm keep getting these error below.... Error using odearguments (line...

7 years ago | 2 answers | 0

Question

how to take the derivative for the retained value from ode45?

I'm using the ode45 to find the velocity, now I need to find the acceleration how can I take the derivative of the retained valu...

7 years ago | 2 answers | 0

Answered

How to use fprintf?

Also, how can I add units to each number For this example let's say kg,kg, kg, m, m, KN, KN Thanks in advance

How to use fprintf?

Also, how can I add units to each number For this example let's say kg,kg, kg, m, m, KN, KN Thanks in advance

7 years ago | 0

Question

How to use fprintf?

For example if I have seven variable x=[a;b;c;d;e;f;g] and I have y=[1;2;3;4;5;6;7] how can I use fprintf to assign eac...

7 years ago | 3 answers | 0

Question

How to assign a value of differential equation?

Not sure how to ask my question, but for example if I have a= sin(5)+3x I want to assign its differential value to b, ho...

7 years ago | 1 answer | 0

Question

How can I solve this problem using MATLAB?

In a theme park a new ride modeled as swinging pendulum is being studied. A simple pendulum that is undergoing swinging in th...

7 years ago | 0 answers | 0

Question

How to write a program that can solve these equation simultaneously ?

Assume that :W=50 lb, L=12ft, g=32.2 ft/s2, theta=35*pi/180 radians, mu_k=0.2; And the equation are: Na-Fb= (W* ax /g); ...

7 years ago | 0 answers | 0