Professional Documents
Culture Documents
Experiment-3 (A)
Experiment-3 (A)
MATRIX CREATION
THEORY: Vectors are special forms of matrices and contain only one row or one column.
Whereas scalars are special forms of matrices and contain only one row and one column. A
matrix with one row is called row vector and a matrix with single column is called column
vector.
OUTPUT:
P=
0.2000 0
00
P=
0.2000 0
0.2000 0
P=
0.2000
RESULT: Program for A matrix creation in Scilab has been executed successfully.
EXPERIMENT- 3 (B)
BASIC OPERATION ON MATRICES
AIM: Write commands to create matrix, manipulate them by addition, subtraction and
multiplication.
THEORY: Vectors are special forms of matrices and contain only one row or one column.
Whereas scalars are special forms of matrices and contain only one row and one column. A
matrix with one row is called row vector and a matrix with single column is called column
vector.
PROCEDURE:
Click on SCILAB Icon
Click on launch scinotes.
Type the program on editor window
Save the program with filename.sce extension
Execute the program and observe the output
PROGRAM:
OUTPUT: