functions to create special matricesthe matlab


Functions to create special matrices:

The MATLAB also has various functions which create special matrices. For illustration, the zeros function generates a matrix of all zeros. Similar to rand, either one argument can be passed (that will be both the number of rows and columns), or two arguments (at first the number of rows and then the number of columns).

 

>> zeros(3)

ans =

0 0 0

0 0 0

0 0 0

>> zeros(2,4)

ans =

0 0 0 0

0 0 0 0

 

 

Request for Solution File

Ask an Expert for Answer!!
Applications of MATLAB: functions to create special matricesthe matlab
Reference No:- TGS0174724

Expected delivery within 24 Hours