how many values it display
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Logical in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!