Info

This question is closed. Reopen it to edit or answer.

Write code to produces the same output for horizontal and vertical input vectors,output should be vertical column vectors regardless of whether the input vectors are vertical or horizontal.

1 view (last 30 days)
. The code should check if the lengths of the input vectors are the same and terminate the calculation with an explanatory message to the user if they are not the same. Provide demonstrations to show your program meets the statement of requirements listed above.x=2 7 4 y=1 8 5

Answers (0)

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!