Question: % Create a 1 0 array named a 1 containing the values 8 . 5 , 7 . 7 , 0 . 0 , 5

% Create a 10 array named a1 containing the values 8.5,7.7,0.0,5.5,4.2,8.0, and 9.1. Use direct entry to create the array.
a1=
% Create a 10 array (row vector) named z50 containing fifty zeros. Use MATLAB's built in zeros function to create the array.
z50=
% Create a 1D array named a2 containing the values from 0.0 to 25.0 with an increment of 0.1. Use the MATLAB colon operator to crea
a2=
% Use an indexing operation to extract and save element 4 of the array a1. The result should be saved in the array a3.
a3=
%Use an indexing operation to extract and save elements 12 through 18 of the array a2. The result should be saved in the array a4.
a4=
 % Create a 10 array named a1 containing the values 8.5,7.7,0.0,5.5,4.2,8.0,

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!