Community Profile

photo

Kavan


Miami University

Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


Using a string as a command?
Let's say I have x=linspace(0,10), and y='x.^2', as a string. How do I tell MatLab to apply y to x? What I am asking is, in the ...

11 years ago | 3 answers | 0

3

answers

Question


How can I plot a sym variable?
I am trying to plot a function and it's derivative, but syms x y y=4*x*cos(x)+2*x^cos(x^2) dydx=diff(y) plot(y) g...

11 years ago | 1 answer | 0

1

answer