Create the following matrix by typing one command Do not typ

Create the following matrix by typing one command. Do not type individual elements explicitly. F = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 6 4 2 Create the following matrix by typing one command. Do not type individual elements explicitly. 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 1 0 0 0 1 1 0 0 0 1 1

Solution

(a) F(3, 3:6 ) = reshape( 8:-2:2, [1 4] ).\';

The matrix is stored in F. The default value in F will be all 0\'s So we will add the values 8,6,4,2 in the required places.

 Create the following matrix by typing one command. Do not type individual elements explicitly. F = 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 6 4 2 Create the following mat

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site