~= means?

298 次查看(过去 30 天)
Superb 2012-5-11
~= 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
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.
  2 个评论
Burkhard Blaich
Burkhard Blaich 2021-11-4


更多回答(1 个)

Ali Rashid
Ali Rashid 2023-3-10
means values that are not equal to the mean, and this command usually comes after if


Help CenterFile Exchange 中查找有关 Symbolic Math Toolbox 的更多信息


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by