I am reviewing for a test and one of the questions is "what would be the outcome of 10>6>4?" I thought it would be logical: 1 because all the statements are true, but when I put it into MATLAB it returned logical: 0 for any number I used. Can anyone explain this?
MATLAB: 10>6>4
.gt10 6 4binary operatorgelelogical operatorsltMATLABternary operatortwo greater than s...two greater than signs
Related Question
- How to vectorize operations on arrays which involve the colon ‘:’ for indexing purposes
- Is implementing the “fft” formula in documentation giving me opposite sign for imaginary part
- How to create a pictogram in MATLAB
- How to plot ternary eutectic system
- How to do one-hot encoding in MATLAB
- How to use custom date labels for the x-axis in MATLAB plots
Best Answer