How can I transform s domain to z domain at Matlab ?

I have one equations.Transfer function s/(s+0.9425).And I want transform z domain. Can you help me ? Thank you.

 Risposta accettata

Nikhil Negi
Nikhil Negi il 29 Mag 2018
Modificato: Walter Roberson il 10 Dic 2024
Hello Berk,
you can use 'c2d' function in matlab to convert a continous transfer function into a discrete transfer function. eg Hc=h=tf([1,0],[1, 0.9425])
Hc=h=tf([1,0],[1, 0.9425])
Hd=c2d(Hc,Ts)
here Ts is the sampling time.

4 Commenti

Thank you very much.
There is a mistake. İ have tried to convert matlab, the result was 1/z-1 function that is 1/s but when i see transform table, 1/s transforms z/z-1. Where did i have misatake in this code.
right, my result was same as @Oncel AKIN's. I guess that there is a mistake too.
i really want to get clear answer about this question as soon as possible!
c2d() offers a variety of methods to convert from continuous to discrete. One of those methods will match your expected result.
doc c2d

Accedi per commentare.

Più risposte (2)

How can I write a program in Matlab which determines the characteristics of the analogue filter which include the following:
• The step response of the RC low pass filter
• The impulse response of the RC low pass filter
• The frequency response of the RC low pass filter

1 Commento

This is a completely different question unrelated to the original, and should be asked by itself.

Accedi per commentare.

You can use the bilinear function or the impinvar function to convert a continuous-time transfer function to a discrete-time equivalent.

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Prodotti

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by