Question: Help with Matlab Function Please write a function with one input, a matrix, and one output, a matrix of the same size. The output matrix
Help with Matlab Function
Please write a function with one input, a matrix, and one output, a matrix of the same size. The output matrix should be the input matrix mirrored on the vertical axis. For instance, the input: [ 1 2 3 4 5 6 7 8 9 ] (this is a 3x3 matrix) Would become: [ 3 2 1 6 5 4 9 8 7 ] ( this is a 3x3 matrix)
This needs to be done using for loops and not the fliplr function.
Thanks
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
