diff options
author | siddhu8990 | 2017-06-21 15:46:02 +0530 |
---|---|---|
committer | siddhu8990 | 2017-06-21 15:46:02 +0530 |
commit | 7dd99346700740df9480b1f47221e24afc32371d (patch) | |
tree | 41b5094514f9a62d40483a1b6c0481c115220c04 /macros/FunctionAnnotation/FA_FSFIRLIN_SZ.sci | |
parent | adbc46709966e50b3fed6ff061afff9e59d4b79c (diff) | |
parent | 061f07929cc984788154bc296c6cc440ef72a3c6 (diff) | |
download | Scilab2C_fossee_old-7dd99346700740df9480b1f47221e24afc32371d.tar.gz Scilab2C_fossee_old-7dd99346700740df9480b1f47221e24afc32371d.tar.bz2 Scilab2C_fossee_old-7dd99346700740df9480b1f47221e24afc32371d.zip |
Merged Ankit's work, signal processing and string functions
Diffstat (limited to 'macros/FunctionAnnotation/FA_FSFIRLIN_SZ.sci')
-rw-r--r-- | macros/FunctionAnnotation/FA_FSFIRLIN_SZ.sci | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macros/FunctionAnnotation/FA_FSFIRLIN_SZ.sci b/macros/FunctionAnnotation/FA_FSFIRLIN_SZ.sci new file mode 100644 index 0000000..c1dc9e5 --- /dev/null +++ b/macros/FunctionAnnotation/FA_FSFIRLIN_SZ.sci @@ -0,0 +1,9 @@ +function outp=FA_FSFIRLIN_SZ(in1sz2) + in1sz2=string(in1sz2); + in1sz=eval(in1sz2); + if(int(in1sz/2)==in1sz/2) then + outp=string(4*in1sz+1); + else + outp=string(4*in1sz+3); + end +endfunction |