'conditional operation on matrix element with nested for loop My Solutions
You are given a 3 by matrix m of integers use nested for loops and if-else statements as necessary; to operate on each element of the matrix m if the element is less than 5, add 0.1 to it if the element is more than 5, subtract 0.2 from it
if the element is exactly 5_ do nothing
display the modified m in the end
1
Script
Save
C Reset
MATLAB Documentation
0 0
0
0 (6t) ENG 2125'