Simply, I don't understand the use of the ~ symbol in a specific case.

I understand that ~ is the NOT operation but I was running someone else's script on an older version of MATLAB (2008b) and the function fails because it makes the following call:
[~, x] = function(...)
It works on the 2012 distribution. I however am simply confused as to what this [~, x] means. What is the "~" doing?
Thank you.

카테고리

도움말 센터File Exchange에서 Logical에 대해 자세히 알아보기

질문:

JOE
2012년 12월 13일

Community Treasure Hunt

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

Start Hunting!

Translated by