Could someone explain below part of code please ? I do not understand the first part [~,b]
1 view (last 30 days)
Show older comments
[~,b] = min(abs(RealEL1));
0 Comments
Accepted Answer
More Answers (1)
Guillaume
on 4 Oct 2017
The ~ ignores the first output of min as you're only interested in the index of the minimum, not its actual value.
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!