MATLAB Defining Variables in MATLAB Transfer Function?

AI Thread Summary
The user is trying to define a transfer function in MATLAB using the expression z+b/z^2-1.5*z+0.7 but encounters an error related to the variable b. They attempt to use the symbolic variable b with the tf function but face issues in getting a valid output. The discussion revolves around finding a solution to correctly define the variable b within the transfer function. Suggestions include using numerical values for b or exploring alternative methods to incorporate symbolic variables in MATLAB. The urgency of the request highlights the need for a quick resolution to the problem.
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!
 

Similar threads

Replies
4
Views
1K
Replies
5
Views
3K
Replies
18
Views
2K
Replies
5
Views
2K
Replies
3
Views
3K
Replies
5
Views
2K
Replies
1
Views
2K
Back
Top