Question: immediately, in matlab pls! Write a user-defined function which accepts two same sized vectors as input arguments and returns a matrix as output argument. Your

 immediately, in matlab pls! Write a user-defined function which accepts two

immediately, in matlab pls!

Write a user-defined function which accepts two same sized vectors as input arguments and returns a matrix as output argument. Your function should first check if the input arguments are really a vector. If one of the input vectors is a scalar or matrix, an error message should be displayed. Your function should then combine these vectors by merging them horizontally if they are vertical vectors, and vertically if they are horizontal vectors and should give the result as the output matrix

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!