summaryrefslogtreecommitdiff
path: root/2.3-1/demos/Abhinav_Demos/square.sci
blob: 172f73c4d63ae5c7acc28fc3bf24cdb5713c43a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Test file for "Column" function for the data types double, float, double complex, string.
// All the below statements are added to initialize variables in different data types 


function square()
	a=[1,2,3,4; 5,6,7,8; 98,162,6587,0]
	disp(issquare(a))
	disp('')
	b= [%i+25, 1, %i*5+12]
	disp(issquare(b))
	disp('')
	
endfunction