From 8398cac9dceebe7ae065b89dd0d39541acc11d5f Mon Sep 17 00:00:00 2001 From: Brijeshcr Date: Thu, 27 Jul 2017 20:33:40 +0530 Subject: Updated Nanmin --- 2.3-1/demos/Brijesh_Demos/test_nanmin.sci | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to '2.3-1/demos/Brijesh_Demos') 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 -- cgit