How to evaluate a math function?
Ältere Kommentare anzeigen
I need to plot a 100 points for a math function, which is:
mu= 0.14-0.04*x;
I wish to use a 0.01 interval.
I believe that first I must store the values in an array, using a for loop. However, I can't seem to be able to evaluate the function, because whenever I type "mu(1)" in the command window I get "0.14" rather than "0.1". Other times, I just get "0.14-0.04*x"
How can I do this?
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Mathematics finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!