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

Stephen23
Stephen23 2017년 8월 22일
The image shows a parametric function, not an equation.
KSSV
KSSV 2017년 8월 22일
That equation is indexing the matrices....read about MATLAB matrix indexing.
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일

0 개 추천

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개)

khalid salim
khalid salim 2019년 11월 8일

0 개 추천

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])

카테고리

도움말 센터File Exchange에서 Loops and Conditional Statements에 대해 자세히 알아보기

질문:

2017년 8월 22일

답변:

2019년 11월 8일

Community Treasure Hunt

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

Start Hunting!

Translated by