how many values it display

1 ビュー (過去 30 日間)
nitya ...
nitya ... 2011 年 3 月 20 日
AF=1/N*(sin(N*(w./2))./sin(w./2));
polar(theta,AF)
h = plot(theta,AF)
x=(get(h,'Xdata'));
y=(get(h,'Ydata'));
l=rad2deg(x(y>=0.7 & y<=0.8))
In between 0.7 to 0.8 l has certain number of values. I need the number of values it display on command window

採用された回答

Paulo Silva
Paulo Silva 2011 年 3 月 20 日
numel(l)

その他の回答 (0 件)

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by