Question: 1. Define a function, name it varinputs, that accepts variable number of inputs and displays the number of input arguments and the value of the

1. Define a function, name it varinputs, that accepts variable number of inputs and displays the number of input arguments and the value of the first and last inputs. 2. Define a function, name it SquareMatrix, that accepts variable number of inputs and returns the average of all elements of the square matrix inputs only and displays the number of input and output arguments set by the user. 3. Define a function, name it varinputs, that accepts variable number of inputs and displays the number of input and output arguments and returns the average of numerical scalar inputs and max elements of numerical vector or matrix inputs. use matlab 1. Define a function, name it varinputs, that accepts variable number of inputs and displays the number of input arguments and the value of the first and last inputs. 2. Define a function, name it SquareMatrix, that accepts variable number of inputs and returns the average of all elements of the square matrix inputs only and displays the number of input and output arguments set by the user. 3. Define a function, name it varinputs, that accepts variable number of inputs and displays the number of input and output arguments and returns the average of numerical scalar inputs and max elements of numerical vector or matrix inputs. use matlab
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
