How to plot a function with an unknown answer and a changing variable?
显示 更早的评论
Say I have an equation with a changing variable, call it R. I want to have the values of R between 0.001 and 0.01.
R is a part of an equation X, and I want to plot the value of X for the changing variables of R. How do I do this?
I tried to use fplot, but it was only giving me a straight line, which I know is not the answer.
2 个评论
Walter Roberson
2018-2-8
One of the most common reasons for getting an unexpected straight line is if you have used / in a place you need ./ instead .
But beyond that, we would need to see code.
Nicole Cronin
2018-2-8
编辑:Walter Roberson
2018-2-8
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!