diff options
author | Jorawar Singh | 2017-07-16 22:17:43 +0530 |
---|---|---|
committer | Jorawar Singh | 2017-07-16 22:36:51 +0530 |
commit | d9d92203ea349d5eb44c0edc5565d827322caabe (patch) | |
tree | 9bf874443e6e5a8ccd8fba3f5918297d95a194e8 /demos | |
parent | ce5c0f9d407d533364e9e7adc81e4d338e031383 (diff) | |
download | Scilab2C_fossee_old-d9d92203ea349d5eb44c0edc5565d827322caabe.tar.gz Scilab2C_fossee_old-d9d92203ea349d5eb44c0edc5565d827322caabe.tar.bz2 Scilab2C_fossee_old-d9d92203ea349d5eb44c0edc5565d827322caabe.zip |
Toolbox merge, RPI demos and structured demos
Diffstat (limited to 'demos')
-rw-r--r-- | demos/Arduino/Arduino.dem.gateway.sce | 22 | ||||
-rw-r--r-- | demos/Arduino/analog_in_out_volt.dem.sce (renamed from demos/analog_in_out_volt.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Arduino/analog_out.dem.sce (renamed from demos/analog_out.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Arduino/blink.dem.sce (renamed from demos/blink.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Arduino/dc_motor.dem.sce (renamed from demos/dc_motor.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Arduino/digital_in.dem.sce (renamed from demos/digital_in.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Arduino/master_write.dem.sce (renamed from demos/master_write.dem.sce) | 0 | ||||
-rw-r--r-- | demos/CT/CT.dem.gateway.sce | 18 | ||||
-rw-r--r-- | demos/CT/test_dct.dem.sce (renamed from demos/test_dct.dem.sce) | 0 | ||||
-rw-r--r-- | demos/CT/test_idct.dem.sce (renamed from demos/test_idct.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Filters/Filter.dem.sce (renamed from demos/Filter.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Filters/FilterResponse.dem.sce (renamed from demos/FilterResponse.dem.sce) | 0 | ||||
-rw-r--r-- | demos/Filters/Filters.dem.gateway.sce | 19 | ||||
-rw-r--r-- | demos/Filters/analogFilter.dem.sce (renamed from demos/analogFilter.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/FULLRF.dem.sce (renamed from demos/FULLRF.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/GIVENS.dem.sce (renamed from demos/GIVENS.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/HESS.dem.sce (renamed from demos/HESS.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/HOUSEHOLDER.dem.sce (renamed from demos/HOUSEHOLDER.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce | 27 | ||||
-rw-r--r-- | demos/LinearAlgebra/NORM.dem.sce (renamed from demos/NORM.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/QR.dem.sce (renamed from demos/QR.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/ROWCOMP.dem.sce (renamed from demos/ROWCOMP.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/SPEC.dem.sce (renamed from demos/SPEC.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/SQROOT.dem.sce (renamed from demos/SQROOT.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/SVA.dem.sce (renamed from demos/SVA.dem.sce) | 0 | ||||
-rw-r--r-- | demos/LinearAlgebra/SVD.dem.sce (renamed from demos/SVD.dem.sce) | 0 | ||||
-rw-r--r-- | demos/RPi/RPi.dem.gateway.sce | 17 | ||||
-rw-r--r-- | demos/RPi/test_wait_and_blink.dem.sce | 19 | ||||
-rw-r--r-- | demos/scilab2c.dem.gateway.sce | 36 |
29 files changed, 131 insertions, 27 deletions
diff --git a/demos/Arduino/Arduino.dem.gateway.sce b/demos/Arduino/Arduino.dem.gateway.sce new file mode 100644 index 0000000..417291a --- /dev/null +++ b/demos/Arduino/Arduino.dem.gateway.sce @@ -0,0 +1,22 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Jorawar Singh, Yash Pratap Singh Tomar +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Arduino blink", "blink.dem.sce"; + "Arduino digital input", "digital_in.dem.sce"; + "Arduino analog voltage i/o", "analog_in_out_volt.dem.sce"; + "Arduino analog output", "analog_out.dem.sce"; + "Arduino DC motor", "dc_motor.dem.sce"; + "Arduino Master write", "master_write.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/Arduino/"+ subdemolist(:,2); diff --git a/demos/analog_in_out_volt.dem.sce b/demos/Arduino/analog_in_out_volt.dem.sce index ca6da61..ca6da61 100644 --- a/demos/analog_in_out_volt.dem.sce +++ b/demos/Arduino/analog_in_out_volt.dem.sce diff --git a/demos/analog_out.dem.sce b/demos/Arduino/analog_out.dem.sce index 65a1e27..65a1e27 100644 --- a/demos/analog_out.dem.sce +++ b/demos/Arduino/analog_out.dem.sce diff --git a/demos/blink.dem.sce b/demos/Arduino/blink.dem.sce index b01d3da..b01d3da 100644 --- a/demos/blink.dem.sce +++ b/demos/Arduino/blink.dem.sce diff --git a/demos/dc_motor.dem.sce b/demos/Arduino/dc_motor.dem.sce index 36c0bad..36c0bad 100644 --- a/demos/dc_motor.dem.sce +++ b/demos/Arduino/dc_motor.dem.sce diff --git a/demos/digital_in.dem.sce b/demos/Arduino/digital_in.dem.sce index 2eb4c3a..2eb4c3a 100644 --- a/demos/digital_in.dem.sce +++ b/demos/Arduino/digital_in.dem.sce diff --git a/demos/master_write.dem.sce b/demos/Arduino/master_write.dem.sce index cdf522d..cdf522d 100644 --- a/demos/master_write.dem.sce +++ b/demos/Arduino/master_write.dem.sce diff --git a/demos/CT/CT.dem.gateway.sce b/demos/CT/CT.dem.gateway.sce new file mode 100644 index 0000000..1aba91e --- /dev/null +++ b/demos/CT/CT.dem.gateway.sce @@ -0,0 +1,18 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Discrete Cosine Transform" , "test_dct.dem.sce"; + "Inverse Cosine Transform" , "test_idct.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/CT/"+ subdemolist(:,2); diff --git a/demos/test_dct.dem.sce b/demos/CT/test_dct.dem.sce index b1b6247..b1b6247 100644 --- a/demos/test_dct.dem.sce +++ b/demos/CT/test_dct.dem.sce diff --git a/demos/test_idct.dem.sce b/demos/CT/test_idct.dem.sce index b1d3339..b1d3339 100644 --- a/demos/test_idct.dem.sce +++ b/demos/CT/test_idct.dem.sce diff --git a/demos/Filter.dem.sce b/demos/Filters/Filter.dem.sce index 100b37b..100b37b 100644 --- a/demos/Filter.dem.sce +++ b/demos/Filters/Filter.dem.sce diff --git a/demos/FilterResponse.dem.sce b/demos/Filters/FilterResponse.dem.sce index 7104836..7104836 100644 --- a/demos/FilterResponse.dem.sce +++ b/demos/Filters/FilterResponse.dem.sce diff --git a/demos/Filters/Filters.dem.gateway.sce b/demos/Filters/Filters.dem.gateway.sce new file mode 100644 index 0000000..274d0e4 --- /dev/null +++ b/demos/Filters/Filters.dem.gateway.sce @@ -0,0 +1,19 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["High Pass Filter", "Filter.dem.sce"; + "Analog Filters","analogFilter.dem.sce"; + "Filter Responses","FilterResponse.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/Filters/"+ subdemolist(:,2); diff --git a/demos/analogFilter.dem.sce b/demos/Filters/analogFilter.dem.sce index 674c954..674c954 100644 --- a/demos/analogFilter.dem.sce +++ b/demos/Filters/analogFilter.dem.sce diff --git a/demos/FULLRF.dem.sce b/demos/LinearAlgebra/FULLRF.dem.sce index 3aeeba2..3aeeba2 100644 --- a/demos/FULLRF.dem.sce +++ b/demos/LinearAlgebra/FULLRF.dem.sce diff --git a/demos/GIVENS.dem.sce b/demos/LinearAlgebra/GIVENS.dem.sce index 0ab2d2a..0ab2d2a 100644 --- a/demos/GIVENS.dem.sce +++ b/demos/LinearAlgebra/GIVENS.dem.sce diff --git a/demos/HESS.dem.sce b/demos/LinearAlgebra/HESS.dem.sce index 4c70d67..4c70d67 100644 --- a/demos/HESS.dem.sce +++ b/demos/LinearAlgebra/HESS.dem.sce diff --git a/demos/HOUSEHOLDER.dem.sce b/demos/LinearAlgebra/HOUSEHOLDER.dem.sce index 7447407..7447407 100644 --- a/demos/HOUSEHOLDER.dem.sce +++ b/demos/LinearAlgebra/HOUSEHOLDER.dem.sce diff --git a/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce b/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce new file mode 100644 index 0000000..ef99e53 --- /dev/null +++ b/demos/LinearAlgebra/LinearAlgebra.dem.gateway.sce @@ -0,0 +1,27 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Singular Value Decomposition", "SVD.dem.sce"; + "Singular Value Approximation", "SVA.dem.sce"; + "SQROOT", "SQROOT.dem.sce"; + "SPEC", "SPEC.dem.sce"; + "ROWCOMP","ROWCOMP.dem.sce"; + "QR Decomposition", "QR.dem.sce"; + "NORM type 2", "NORM.dem.sce"; + "HOUSEHOLDER","HOUSEHOLDER.dem.sce"; + "HESS", "HESS.dem.sce"; + "GIVENS Transformation", "GIVENS.dem.sce"; + "Full rank factorization","FULLRF.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/LinearAlgebra/"+ subdemolist(:,2); diff --git a/demos/NORM.dem.sce b/demos/LinearAlgebra/NORM.dem.sce index 1de3feb..1de3feb 100644 --- a/demos/NORM.dem.sce +++ b/demos/LinearAlgebra/NORM.dem.sce diff --git a/demos/QR.dem.sce b/demos/LinearAlgebra/QR.dem.sce index 7d2fc1a..7d2fc1a 100644 --- a/demos/QR.dem.sce +++ b/demos/LinearAlgebra/QR.dem.sce diff --git a/demos/ROWCOMP.dem.sce b/demos/LinearAlgebra/ROWCOMP.dem.sce index 6557eb4..6557eb4 100644 --- a/demos/ROWCOMP.dem.sce +++ b/demos/LinearAlgebra/ROWCOMP.dem.sce diff --git a/demos/SPEC.dem.sce b/demos/LinearAlgebra/SPEC.dem.sce index 423c152..423c152 100644 --- a/demos/SPEC.dem.sce +++ b/demos/LinearAlgebra/SPEC.dem.sce diff --git a/demos/SQROOT.dem.sce b/demos/LinearAlgebra/SQROOT.dem.sce index 676d5e5..676d5e5 100644 --- a/demos/SQROOT.dem.sce +++ b/demos/LinearAlgebra/SQROOT.dem.sce diff --git a/demos/SVA.dem.sce b/demos/LinearAlgebra/SVA.dem.sce index 3ced74f5..3ced74f5 100644 --- a/demos/SVA.dem.sce +++ b/demos/LinearAlgebra/SVA.dem.sce diff --git a/demos/SVD.dem.sce b/demos/LinearAlgebra/SVD.dem.sce index aa35cce..aa35cce 100644 --- a/demos/SVD.dem.sce +++ b/demos/LinearAlgebra/SVD.dem.sce diff --git a/demos/RPi/RPi.dem.gateway.sce b/demos/RPi/RPi.dem.gateway.sce new file mode 100644 index 0000000..29d4c71 --- /dev/null +++ b/demos/RPi/RPi.dem.gateway.sce @@ -0,0 +1,17 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in + + +subdemolist = ["Wait and Blink","test_wait_and_blink.dem.sce"; + ]; + +global SCI2CHOME; +subdemolist(:,2) = SCI2CHOME + "/demos/RPi/"+ subdemolist(:,2); diff --git a/demos/RPi/test_wait_and_blink.dem.sce b/demos/RPi/test_wait_and_blink.dem.sce new file mode 100644 index 0000000..31396c6 --- /dev/null +++ b/demos/RPi/test_wait_and_blink.dem.sce @@ -0,0 +1,19 @@ +// Copyright (C) 2017 - IIT Bombay - FOSSEE +// +// This file must be used under the terms of the CeCILL. +// This source file is licensed as described in the file COPYING, which +// you should have received as part of this distribution. The terms +// are also available at +// http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt +// Author: Jorawar Singh, Sandeep Gupta +// Organization: FOSSEE, IIT Bombay +// Email: toolbox@scilab.in +// + +lines(0); + +global SCI2CHOME + +scilab2c(SCI2CHOME + "/tests/unit_tests/test_RPi/wait_and_blink.sci", TMPDIR,SCI2CHOME + "/tests/unit_tests/test_RPi/", "All", "make" ,"RPi", "uno"); + +editor([TMPDIR+"/main.c"]); diff --git a/demos/scilab2c.dem.gateway.sce b/demos/scilab2c.dem.gateway.sce index bc158bf..92fd12e 100644 --- a/demos/scilab2c.dem.gateway.sce +++ b/demos/scilab2c.dem.gateway.sce @@ -12,36 +12,18 @@ demopath = get_absolute_file_path("scilab2c.dem.gateway.sce"); -subdemolist = ["Trigonometric Identity" , "TrigonometricIdentity.dem.sce"; +subdemolist =["Linear Algebra","LinearAlgebra/LinearAlgebra.dem.gateway.sce"; + "Arduino","Arduino/Arduino.dem.gateway.sce"; + "Cosine Transforms","CT/CT.dem.gateway.sce"; + "Filters","Filters/Filters.dem.gateway.sce"; + "Raspberry Pi","RPi/RPi.dem.gateway.sce"; + "Trigonometric Identity" , "TrigonometricIdentity.dem.sce"; "Linear Regression" , "LinearRegression.dem.sce"; "Symbols", "Symbols.dem.sce"; - "High Pass Filter", "Filter.dem.sce"; - "Jacobi functions","Jacobi.dem.sce"; - "Analog Filters","analogFilter.dem.sce"; - "Discrete Cosine Transform" , "test_dct.dem.sce"; - "Inverse Cosine Transform" , "test_idct.dem.sce"; - "String Functions","string.dem.sce"; - "Filter Responses","FilterResponse.dem.sce"; - "Singular Value Decomposition", "SVD.dem.sce"; - "Singular Value Approximation", "SVA.dem.sce"; - "SQROOT", "SQROOT.dem.sce"; - "SPEC", "SPEC.dem.sce"; - "ROWCOMP","ROWCOMP.dem.sce"; - "QR Decomposition", "QR.dem.sce"; - "NORM type 2", "NORM.dem.sce"; - "HOUSEHOLDER","HOUSEHOLDER.dem.sce"; - "HESS", "HESS.dem.sce"; - "GIVENS Transformation", "GIVENS.dem.sce"; - "Full rank factorization","FULLRF.dem.sce"; - "Arduino blink", "blink.dem.sce"; - "Arduino digital input", "digital_in.dem.sce"; - "Arduino analog voltage i/o", "analog_in_out_volt.dem.sce"; - "Arduino analog output", "analog_out.dem.sce"; - "Arduino DC motor", "dc_motor.dem.sce"; - "Arduino Master write", "master_write.dem.sce"; + "Jacobi functions","Jacobi.dem.sce"; + "String Functions","string.dem.sce"; + ] "Ffilt coeff. of FIR low pass filter","ffilt.dem.sce"; "Design of FIR linear phase filters using freq. samping technique","fsfirlin.dem.sce"; "Samples of sinc function","filt_sinc.dem.sce"; - ]; - subdemolist(:,2) = demopath + subdemolist(:,2); |