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/sosbreak.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/sosbreak.sci')
-rw-r--r-- | macros/sosbreak.sci | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/macros/sosbreak.sci b/macros/sosbreak.sci index c82935f..1074133 100644 --- a/macros/sosbreak.sci +++ b/macros/sosbreak.sci @@ -1,13 +1,10 @@ -//Author: Parthasarathi Panda -//parthasarathipanda314@gmail.com + function [zerosort,g]=sosbreak(p) //function for breaking a polynomial in second order polynomials and an extra linear term (g) //where //g:-the interger multiple obtained after breaking the polynomial //zerosort:-the array of the broken polynomials //p:-the input polynomial - - //EXAMPLE: //v=[1+4*%s+6*%s^2+4*%s^3+%s^4]; // [zerosort,g]=sosbreak(v); @@ -20,6 +17,8 @@ function [zerosort,g]=sosbreak(p) // zerosort(2) // 2 //1.0000000 + 2s + s +//Author: Parthasarathi Panda +//parthasarathipanda314@gmail.com //NOTE :To verify the output use coeff(zerosort(1)) and coeff(zerosort(2)) |