matlab plot for non separable function
이전 댓글 표시
is it necessary to separate y=f(x) , to use plot of function ?
cant i write f(x,y)=0 and plot ; in case y and x are non separable ,
then is there way to plot?
댓글 수: 4
Dyuman Joshi
2022년 7월 11일
What do you mean by "in case y and x are non separable"?
Can you give an example?
Satyajit Kumar
2022년 7월 11일
KSSV
2022년 7월 11일
What exactly you are expecting?
Satyajit Kumar
2022년 7월 11일
채택된 답변
추가 답변 (1개)
I believe you want to plot custom function over a range without having to pass the x and y points.I guess plot_expression_or_funtion might be able to help your cause.
%Using the fplot func to plot y=x^2+2x+5 over the range [1,50]
fplot(@(x) (x*x)+3*x+5,[1 50])
Hope this helps.
카테고리
도움말 센터 및 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!

