~= means?
240 次查看(过去 30 天)
显示 更早的评论
~= means what? Is that means not equal to? Or it can have other meaning too? Thanks :)
1 个评论
Evelyn
2023-3-10
编辑:Walter Roberson
2023-6-5
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.
采纳的回答
Wayne King
2012-5-11
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.
更多回答(1 个)
Ali Rashid
2023-3-10
means values that are not equal to the mean, and this command usually comes after if
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!