码迷,mamicode.com
首页 > 其他好文 > 详细

《DSP using MATLAB》示例Example 8.16

时间:2017-04-15 18:05:16      阅读:196      评论:0      收藏:0      [点我收藏+]

标签:png   images   example   --   microsoft   示例   fprintf   soft   inf   

技术分享

%% ------------------------------------------------------------------------
%%            Output Info about this m-file
fprintf(‘\n***********************************************************\n‘);
fprintf(‘        <DSP using MATLAB> Exameple 8.16 \n\n‘);

time_stamp = datestr(now, 31);
[wkd1, wkd2] = weekday(today, ‘long‘);
fprintf(‘      Now is %20s, and it is %8s  \n\n‘, time_stamp, wkd2);
%% ------------------------------------------------------------------------

c = [1, 1];               % Numerator coefficient of Ha(s)
d = [1, 5, 6];            % Denominator coefficient of Ha(s)
T = 1; Fs = 1/T;

[b, a] = bilinear(c, d, Fs)

  运行结果:

技术分享

《DSP using MATLAB》示例Example 8.16

标签:png   images   example   --   microsoft   示例   fprintf   soft   inf   

原文地址:http://www.cnblogs.com/ky027wh-sx/p/6714961.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!