how to plot the magnitude of a vector ?
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
KSSV
2016-5-6
What do you mean by magnitude? Is it that you want to calculate the length of the curve?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Loops and Conditional Statements 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!