how to write equation in matlab ?
Show older comments
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 Comments
Stephen23
on 22 Aug 2017
The image shows a parametric function, not an equation.
KSSV
on 22 Aug 2017
That equation is indexing the matrices....read about MATLAB matrix indexing.
ajeet verma
on 22 Aug 2017
Torsten
on 22 Aug 2017
https://de.mathworks.com/help/matlab/ref/yyaxis.html
Best wishes
Torsten.
Accepted Answer
More Answers (2)
aisha obaid alsuwaidi
on 6 Dec 2018
(4 * x^4 - 2 * x^(-7/4) - x^(-2))
khalid salim
on 8 Nov 2019
0 votes
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])
Categories
Find more on Object Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!