MATLAB
Developed by
Pranoti R. Doke
Date:
1
Chapter 3
(Commands at Command Window )
Commands at command window :
2
>>who
>>whos
>>min(a)
>>max(a)
>>Transpose(a)
>>Length
>>size(a)
>>cos(90) and sin(90)
>>Zeros(3,3)
>>Ones(4,4)
1/8 …
3
2/8…
4
3/8…
5
Examples to solve :
6
Q). Calculate size, length ,min ,max, transpose for the following
matrices
1. A=[8 6 9 6 ; 5 8 3 9 ; 9 6 7 6]
2. B=[9 8 6 4 ; 8 6 3 2 ; 8 6 3 1; 9 6 3 5 ]
Q). Solve for all the formats :
1. X=(5/9)+9 *6+(9/3)-3
2. Y=(pi/2)*9-1

Chapter 3 Commands at MATLAB Command Window

  • 1.
    MATLAB Developed by Pranoti R.Doke Date: 1 Chapter 3 (Commands at Command Window )
  • 2.
    Commands at commandwindow : 2 >>who >>whos >>min(a) >>max(a) >>Transpose(a) >>Length >>size(a) >>cos(90) and sin(90) >>Zeros(3,3) >>Ones(4,4)
  • 3.
  • 4.
  • 5.
  • 6.
    Examples to solve: 6 Q). Calculate size, length ,min ,max, transpose for the following matrices 1. A=[8 6 9 6 ; 5 8 3 9 ; 9 6 7 6] 2. B=[9 8 6 4 ; 8 6 3 2 ; 8 6 3 1; 9 6 3 5 ] Q). Solve for all the formats : 1. X=(5/9)+9 *6+(9/3)-3 2. Y=(pi/2)*9-1