Code
NA = 1.33; naValues = NA+pi/180:pi/180:(NA+pi/2); assert( (naValues > NA), 'naValues not bigger than NA'); where I also tried unsuccessfully floor(sum(naValues > NA))/90 in the place of the inequality that is trying assert( [logical], msg). Output
Error using assert The condition input argument must be a scalar logical. How can you use a vector inequality in Matlab's assert?
alloranyto make it a scalar