MATLAB: How many values it display

MATLAB

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

Best Answer

numel(l)
Related Question