how many values it display

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

 採用された回答

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeGet Started with MATLAB についてさらに検索

製品

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by