Community Profile

# Nawal

10 total contributions since 2013

View details...

Contributions in
View by

how to take the derivative for the retained value from ode45?
Can I do something like diff [ts,xs]

6 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 ...

6 years ago | 0 answers | 0

### 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...

6 years ago | 1 answer | 0

### 1

Question

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

6 years ago | 2 answers | 0

### 2

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...

6 years ago | 2 answers | 0

### 2

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

6 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...

6 years ago | 3 answers | 0

### 3

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...

6 years ago | 1 answer | 0

### 1

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...

6 years ago | 0 answers | 0