Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
以下代码中的波浪号是什么意思?
a = [1, 2, 5, 7, 6, 9, 8, 3, 4, 7, 0, 6]; b = [5, 9, 6]; [~,c] = ismember(b,a);
如果我不使用波浪号,我只会得到一个 1x3 逻辑数组,而使用波浪号我会得到数组。但是~到底是做什么的呢?