summaryrefslogtreecommitdiff
path: root/demos/Abhinav_Demos/scalar.sci
diff options
context:
space:
mode:
authorBrijeshcr2017-07-21 17:27:46 +0530
committerBrijeshcr2017-07-21 17:27:46 +0530
commit07d9e48f562ecdfc20192c0af6cb06a413caf30e (patch)
treea57b1a927353f525a4a815ae52cd859f685d04ef /demos/Abhinav_Demos/scalar.sci
parent1a31eaf396c7cbb94a6e82776d3f64c857182bbe (diff)
parent388b2e5e833667609f9ddca5f86f5859c8819399 (diff)
downloadScilab2C_fossee_old-07d9e48f562ecdfc20192c0af6cb06a413caf30e.tar.gz
Scilab2C_fossee_old-07d9e48f562ecdfc20192c0af6cb06a413caf30e.tar.bz2
Scilab2C_fossee_old-07d9e48f562ecdfc20192c0af6cb06a413caf30e.zip
Median modified
Diffstat (limited to 'demos/Abhinav_Demos/scalar.sci')
-rw-r--r--demos/Abhinav_Demos/scalar.sci12
1 files changed, 12 insertions, 0 deletions
diff --git a/demos/Abhinav_Demos/scalar.sci b/demos/Abhinav_Demos/scalar.sci
new file mode 100644
index 0000000..6b280ea
--- /dev/null
+++ b/demos/Abhinav_Demos/scalar.sci
@@ -0,0 +1,12 @@
+// Test file for "isscalar" function for the data types double, float, double complex.
+function scalar()
+ a=[1,2,3,4]
+ disp(isscalar(a))
+ b= float(a)
+ disp(isscalar(b))
+ c= %i*2+34
+ disp(isscalar(c))
+
+
+
+endfunction