Create the following matrix by using vector notation for creating vectors with constant spacing and/or the linspace command. Do not type individual elements explicitly.
Create the following matrix by using vector notation for creating vectors with constant spacing and/or the linspace command. Do not type individual elements explicitly.
Create a matrix whose first row contains all zeros, the second row contains the numbers from 1 through n, the third the numbers from n to 1, where n is a variable with a positive integer value.
Activity2.11.
The following vector is defined in MATLAB:
>> v = [15 0 6 -2 3 -5 4 9 1.8 -0.35 7]
Enter below what will be displayed if the following commands are executed by MATLAB. Check your answers by executing the commands with MATLAB.