diff options
Diffstat (limited to '2.3-1/demos/Brijesh_Demos')
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_nanmin.sci | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/test_nanmin.sci b/2.3-1/demos/Brijesh_Demos/test_nanmin.sci index 86517436..a77f0c90 100644 --- a/2.3-1/demos/Brijesh_Demos/test_nanmin.sci +++ b/2.3-1/demos/Brijesh_Demos/test_nanmin.sci @@ -1,16 +1,12 @@ function test_nanmin disp('Datatype: Double'); - i1 = [%nan %nan; %nan %nan; %nan %nan]; - [o1, p1] = nanmin(i1); - //o1 = nanmin(i1); + i1 = [ 1 2 %nan; 3 %nan -4; %nan 5 6]; + //[o1, p1] = nanmin(i1,'c'); + o1 = nanmin(i1); disp(o1); - disp(p1); + //disp(p1); //disp('Datatype: Float'); //i2 = float([1 %nan;3 4;5 %nan]); //o2 = nanmean(i2,'r'); //disp(o2); - //disp('Datatype: Double complex'); - //i3 = [1 %nan %i;3 4+1*%i %nan;5 %nan %i]; - //o3 = nanmean(i3,'c'); - //disp(o3); endfunction |