Using symbolic variables in MATLAB tf function

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 5K views
AcesofSpades
Messages
10
Reaction score
0
I have the transfer function z+b/z^2-1.5*z+0.7

I want to write this to MATLAB so :

syms b
h=tf([1 b],[1 -1.5 0.7],1)

The problem is that it returns an error of the variable b.
How can I define it so that I can get an answer?
 
Physics news on Phys.org
Please can anyone help? It is urgent!