diff options
Diffstat (limited to '2.3-1/demos/Brijesh_Demos/test_nanmin.sci')
-rw-r--r-- | 2.3-1/demos/Brijesh_Demos/test_nanmin.sci | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/2.3-1/demos/Brijesh_Demos/test_nanmin.sci b/2.3-1/demos/Brijesh_Demos/test_nanmin.sci new file mode 100644 index 00000000..86517436 --- /dev/null +++ b/2.3-1/demos/Brijesh_Demos/test_nanmin.sci @@ -0,0 +1,16 @@ +function test_nanmin + disp('Datatype: Double'); + i1 = [%nan %nan; %nan %nan; %nan %nan]; + [o1, p1] = nanmin(i1); + //o1 = nanmin(i1); + disp(o1); + 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 |