Hi Hyeonju,
You can make use of the "fplot" fucntion available in MATLAB which is mainly used to plot expression or function.
As a workaround you can try the following code in MATLAB
x = [0 10]
fplot(@(x)3*x.^2+2,[0 10])
Hope this Helps!
Info
此问题已关闭。 请重新打开它进行编辑或回答。
此问题已关闭。
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!