numel(l)
how many values it display
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
更多回答(0 个)
另请参阅
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!