tf2zp behaves weird
Show older comments
I need to obtain poles and zeros for system, here is a code: [b,a] = eqtflength(b,a); [z p] = tf2zp(b, a );
it gives me this error: In an assignment A(I) = B, the number of elements in B and I must be the same.
Error in ==> testfile at 140 [z p] = tf2zp(b , a );
have no idea why? im following exactly the example code. before equality b has size 1 and a has size 5, after equality both are sized 5
Accepted Answer
More Answers (1)
Ernest Milenko
on 28 Sep 2011
0 votes
Categories
Find more on Digital Filtering in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!