fplot keeps returning horizontal line
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
David M
am 29 Okt. 2017
Kommentiert: madhan ravi
am 3 Jun. 2018
I am trying to evaluate the constituents of a source of Californium 252 after a certain number of days. I have defined an expression in terms of other variables that I want to plot. But 'fplot' seems to only return a horizontal line at Y=0. There is no error message when I run the script. Any help is greatly appreciated.
0 Kommentare
Akzeptierte Antwort
Karan Gill
am 30 Okt. 2017
You are plotting a constant Atom_Cf_P with value 1.8235e-78. A horizontal line is the expected output. What were you expecting?
2 Kommentare
madhan ravi
am 3 Jun. 2018
whenever you plot a function declare it using sym and then use fplot otherwise Matlab will give a horizontal line at y=0.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Surface and Mesh Plots finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!