Example for zpk2tf function doesn't work
Reported by hugojmaia
BUG DESCRIPTION:
----------------
On the help page for the zpk2tf function there's an example of its usage, upon trying to execute said example on scilab it errors out
ERROR LOG:
----------
--> sys=zpk([2;1],0;-3-%i;-3+%i],2.5,"c")
sys=zpk([2;1],0;-3-%i;-3+%i],2.5,"c")
^
Error: syntax error, unexpected ;, expecting "," or )
--> S=zpk2tf(sys)
Undefined variable: sys
HOW TO REPRODUCE THE BUG:
-------------------------
On the help page click the execute button to run the example.
OTHER INFORMATION:
------------------
It's missing a "[" right after the first comma on the first line. After fixing that the example worked fine.