fplot keeps returning horizontal line
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
David M
el 29 de Oct. de 2017
Comentada: madhan ravi
el 3 de Jun. de 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 comentarios
Respuesta aceptada
Karan Gill
el 30 de Oct. de 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 comentarios
madhan ravi
el 3 de Jun. de 2018
whenever you plot a function declare it using sym and then use fplot otherwise Matlab will give a horizontal line at y=0.
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!