![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197704/image.jpeg)
how to get z-transform expression along with the curve of this function
2 ビュー (過去 30 日間)
古いコメントを表示
I am getting the plot for this function. But i want to show the H(z) of this butterworth lowpass filter. Can You pls help me with this!
0 件のコメント
回答 (1 件)
Dimitris Kalogiros
2018 年 10 月 12 日
Try this:
clear; clc;
fc=500; %Hz;
fs=2000; %Hz;
n=4; % filter order
[b,a] = butter(n ,fc/(fs/2));
freqz(b,a);
You should get:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/197704/image.jpeg)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!