Lec17: MATLAB: Examples on Relational and Logical Operators (some unusual things that MATLAB does)

preview_player
Показать описание
In this video you will be able to get the information about some unusual but very important things that MATLAB does when we use Relational and Logical Operators. You will learn the following:
00:00 1. The reason of getting different output for the following two expression:
a. 3 less than 5 || 0/0
b. 0/0 || 3 less than 5
05:21 2. The reason of getting output as 1 for any value of x substituted in the expressions like:
4 less than x less than 8
3. Expressions like 4 less than x less than 8 are not valid in most of the programming languages, but in MATLAB it is valid

08:24 Summary
Рекомендации по теме