I want to plot the above equation in matlab but i dont know how to plot please help or provide me code

 采纳的回答

Azzi Abdelmalek
Azzi Abdelmalek 2012-11-15
x=0:0.1:10;
y=exp(-x.^2);
plot(x,y)

3 个评论

(x^2)+3*(y^3)-25*z=100;
i am assigning this eqn a value. but matlab is giving me error every time. how to use this eqn in matlab?
Rik
Rik 2021-10-9
Is this the exact code you're using? Because this isn't a valid Matlab syntax.
Take a look at fimplicit3.

请先登录,再进行评论。

更多回答(1 个)

Manka'a Abongnwi
Manka'a Abongnwi 2023-6-9

0 个投票

y = be ax sin(bx)(0.012x4 0.15x3 + 0.075x2 + 2.5x)

3 个评论

y = b.*exp(a.*x).*sin(a.*x).*(0.012*x.^4 + 0.075*x.^2 + 2.5*x);

Possibly

Wow after using the formula given by sir, everything worked well except the place to plot a graph of y and z versus x that's difficult
plot3()... except that you do not show any z variable.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Graphics Objects 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by