Simple question about text in Matlab

Posted by ruby2 on Stack Overflow See other posts from Stack Overflow or by ruby2
Published on 2010-05-06T18:13:30Z Indexed on 2010/05/06 18:18 UTC
Read the original article Hit count: 146

Filed under:
|

A=rand(10) B=find(A>98)

How do you have text saying "There were 2 elements found" where the 2 is general i.e. it isn't text, so that if I changed B=find(A>90) it would automatically no longer be 2.

© Stack Overflow or respective owner

Related posts about matlab

Related posts about text