how to write equation in matlab ?

30 次查看(过去 30 天)
this is some different type of equation so i am confused how to write code for the equation in attached file, please help please see attached file
  4 个评论
ajeet verma
ajeet verma 2017-8-22
how to write text both side on y axis of any graph as shown in attached file
Torsten
Torsten 2017-8-22
https://de.mathworks.com/help/matlab/ref/yyaxis.html
Best wishes
Torsten.

请先登录,再进行评论。

采纳的回答

Selva Karna
Selva Karna 2017-8-22
编辑:madhan ravi 2018-12-6
you have to write following equation:
Z=A^2+B^2-2ab
in MATLAB:
syms a b c z
z=(a^2+b^2-2*a*b)

更多回答(2 个)

aisha obaid alsuwaidi
(4 * x^4 - 2 * x^(-7/4) - x^(-2))

khalid salim
khalid salim 2019-11-8
s = @(x) (1-0.4*(cos(x/100))).*(0<=x & x<=511);
x = linspace(0, 500);
R = s(x);
figure(1)
plot(x,R)
axis([xlim 0 1.5])
% intensity function
f=1/20;
x = linspace(0, 500);
I=@(x) (R(x).*sin(2*pi*f*x));
plot(x,I)
axis([xlim 0 1.5])

类别

Help CenterFile Exchange 中查找有关 Programming 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by