~= means?
236 views (last 30 days)
Show older comments
~= means what? Is that means not equal to? Or it can have other meaning too? Thanks :)
1 Comment
Evelyn
on 10 Mar 2023
Edited: Walter Roberson
on 5 Jun 2023
Yes, "~=" commonly means "not equal to" in many programming languages and mathematical notation. It is often used to compare two values or variables to see if they are not equal [SL: removed URL that was unrelated to the question].However, the exact meaning of "~=" may vary depending on the context and programming language.
Accepted Answer
Wayne King
on 11 May 2012
It means not equal to as you say. It doesn't have any other meaning in MATLAB. The ~ by itself has meaning. It can be used to not return certain outputs from a function.
2 Comments
More Answers (1)
Ali Rashid
on 10 Mar 2023
means values that are not equal to the mean, and this command usually comes after if
0 Comments
See Also
Categories
Find more on Symbolic Math Toolbox 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!