Could someone explain below part of code please ? I do not understand the first part [~,b]
1 次查看(过去 30 天)
显示 更早的评论
[~,b] = min(abs(RealEL1));
0 个评论
采纳的回答
更多回答(1 个)
Guillaume
2017-10-4
The ~ ignores the first output of min as you're only interested in the index of the minimum, not its actual value.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!