diff options
author | Brijeshcr | 2017-07-27 20:33:40 +0530 |
---|---|---|
committer | Brijeshcr | 2017-07-27 20:33:40 +0530 |
commit | 8398cac9dceebe7ae065b89dd0d39541acc11d5f (patch) | |
tree | c8de9b6141ee130a0343dd75fe42416bee24e55e /2.3-1/demos/Brijesh_Demos | |
parent | a6d3e7ed708e3911f082997b51a5fbd253c825de (diff) | |
download | Scilab2C-8398cac9dceebe7ae065b89dd0d39541acc11d5f.tar.gz Scilab2C-8398cac9dceebe7ae065b89dd0d39541acc11d5f.tar.bz2 Scilab2C-8398cac9dceebe7ae065b89dd0d39541acc11d5f.zip |
Updated Nanmin
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 |