how to plot the magnitude of a vector ?

1 Ansicht (letzte 30 Tage)
Mallouli Marwa
Mallouli Marwa am 6 Mai 2016
Kommentiert: KSSV am 6 Mai 2016
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 Kommentare
Azzi Abdelmalek
Azzi Abdelmalek am 6 Mai 2016
What is your definition of magnitude for this signal which is not periodic
KSSV
KSSV am 6 Mai 2016
What do you mean by magnitude? Is it that you want to calculate the length of the curve?

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by