[英]~= operator in Matlab
Does anyone know what the operator ~= in Matlab?有谁知道 Matlab 中的运算符 ~= 是什么? I have seen it in an if statement我在 if 语句中看到过
if currsign ~= 0
[
]
Not equal to?不等于?
It simply means "not equal"它只是意味着“不相等”
For example:例如:
1 ~= 1 % Returns false
1 ~= 2 % Returns true
In Matlab ~= is not equal to.在 Matlab 中 ~= 不等于。 the brackets following the if are not valid Matlab syntax though. if 后面的括号虽然不是有效的 Matlab 语法。 'if' needs to be paired with an 'end' “如果”需要与“结束”配对
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.