photo

Anna


Last seen: mer än 2 år ago Active since 2022

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


plot of y = 2.*(x.^4 - x.^2) isn't right
I set x = linspace(-10, 10); y = 2.*(x.^4 - x.^2); plot(x, y) and the graph is not correct. what did I do wrong?

mer än 2 år ago | 1 answer | 0

1

answer

Question


Questions about elements in function ode45(@(t,x) x.*(4-x), [0,5], -2:4:6)
In ode45(@(t,x) x.*(4-x), [0,5], -2:4:6), why do we have to add t in our @function even though t is not used. For the initial y...

mer än 2 år ago | 2 answers | 0

2

answers