Meaning of ~isempty()

290 次查看(过去 30 天)
abc abc
abc abc 2016-7-26
编辑: Stephen23 2016-7-26
Hello, i would like to know what this expression means : ~isempty(t) where t is a vector ?
At the beginning i thought it was just to know if t is a empty vector but if remove the ~ my code doesn't work anymore. So what do you think of that ?
Thanks a lot !

采纳的回答

Adam
Adam 2016-7-26
编辑:Adam 2016-7-26
~ means NOT
so isempty tells you if the vector is empty and ~isempty tells you if the vector is not empty.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by