diff options
author | avinashlalotra | 2025-04-26 20:09:12 +0530 |
---|---|---|
committer | avinashlalotra | 2025-04-26 20:09:12 +0530 |
commit | ea7dcdba3b83696b97cc431ee050b58f9a0f3507 (patch) | |
tree | 49ea8ba898b88535c261546f4e3accbdf4c83bdf /macros/polyscale.sci | |
parent | 725d9ee2ddb254f57a896bb47e0e727759eb5901 (diff) | |
download | FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.gz FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.tar.bz2 FOSSEE-Signal-Processing-Toolbox-ea7dcdba3b83696b97cc431ee050b58f9a0f3507.zip |
formated source documentation pattern for generating docs
Diffstat (limited to 'macros/polyscale.sci')
-rw-r--r-- | macros/polyscale.sci | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/macros/polyscale.sci b/macros/polyscale.sci index 019c08a..b2c6c5f 100644 --- a/macros/polyscale.sci +++ b/macros/polyscale.sci @@ -1,3 +1,5 @@ + +function b = polyscale(a,alpha) // polyscale Scaling roots of a polynomial // scales the roots of a polynomial in the z plane //Syntax: @@ -12,21 +14,16 @@ //p=[1 0 0 0 0 0 0 -1] and changing the scaling factor, //b=polyscale(p,0.85) //EXPECTED OUTPUT:b=1. 0. 0. 0. 0. 0. 0. - 0.3205771 - - //p=[1 0 0 0 0 0 0 -1] and changing the scaling factor, //b=polyscale(p,0.95) //EXPECTED OUTPUT:b=1. 0. 0. 0. 0. 0. 0. - 0.6983373 // - //p=[1 0 0 0 0 0 0 -1] and changing the scaling factor, //b=polyscale(p,1) //EXPECTED OUTPUT:b=1. 0. 0. 0. 0. 0. -1 - - // Author //Debdeep Dey -function b = polyscale(a,alpha) + //errcheck1 if(min(size(a))>1) then error('Input polynomial must be an array') |