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:
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!