how to plot the magnitude of a vector ?
1 view (last 30 days)
Show older comments
i have a curve ([0:20:50000],x(:,3)) I want to calculate the magnitude of this curve, but i obtain zero. Th curve is attache
index=1;
for i=0:20:50000
xm=(max(x(:,3))-min(x(:,3)));
xlm(index)=xm;
index=index+1;
end
3 Comments
Azzi Abdelmalek
on 6 May 2016
What is your definition of magnitude for this signal which is not periodic
KSSV
on 6 May 2016
What do you mean by magnitude? Is it that you want to calculate the length of the curve?
Answers (0)
See Also
Categories
Find more on Loops and Conditional Statements 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!