MATLAB Answers

How can i explain this to matlab?

1 view (last 30 days)
IBM watson
IBM watson on 22 Oct 2018
Commented: madhan ravi on 22 Oct 2018
if a is not an empty vector/cluster then do 'this'

  0 Comments

Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 22 Oct 2018
Edited: madhan ravi on 22 Oct 2018
if ~isempty(vector)==1
Do this
end

  2 Comments

IBM watson
IBM watson on 22 Oct 2018
Oh wait! It is wrong.
It says if it is empty.
I want to say " if it is NOT empty..."
madhan ravi
madhan ravi on 22 Oct 2018
Check my answer now

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by