write single matlab statements to create these


Write single MATLAB statements to create these vectors from any vector Z. You can use vector Z shown as a sample input. Create a single m-file script (non-function) to containing all the statements. Comment each problem 'a' through 'e' in your m-file.

Z = [4 5 2 8 4 7 2 64 2 57 2 45 7 43 2 5 7 3 3 6523 3 4 3 0 -65 -343];

a. Create a new vector vecA that is the odd numbered elements of Z (not the odd values, the elements with odd indexes).

b. Count how many elements of Z are less than or equal to 10.

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: write single matlab statements to create these
Reference No:- TGS0218711

Expected delivery within 24 Hours