fplot keeps returning horizontal line
5 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Karan Gill
2017-10-30
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 个评论
madhan ravi
2018-6-3
whenever you plot a function declare it using sym and then use fplot otherwise Matlab will give a horizontal line at y=0.
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!