summaryrefslogtreecommitdiff
path: root/demos/Brijesh_Demos/test_nanmin.sci
blob: a77f0c90ef2d0294d3a90e0dc089e68522d954f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
function test_nanmin
	disp('Datatype: Double');
	i1 = [ 1 2 %nan; 3 %nan -4; %nan 5 6];
	//[o1, p1] = nanmin(i1,'c');
	o1 = nanmin(i1);
	disp(o1);
	//disp(p1);
        //disp('Datatype: Float');
	//i2 = float([1 %nan;3 4;5 %nan]);
	//o2 = nanmean(i2,'r');
	//disp(o2);
endfunction