getting error using discrete transfer function
1 回表示 (過去 30 日間)
古いコメントを表示
Hello ,
I want to implement notch filter using discrete transfer function block using simulink...
for this i have take example from mathworks
**********************************************
ST0 = slTunable('new22',{'NOTCH'});
wn = realp('wn',300);
zeta1 = realp('zeta1',1); zeta1.Maximum = 1; % zeta1 <= 1
zeta2 = realp('zeta2',1); zeta2.Maximum = 1; % zeta2 <= 1
N = tf([1 2*zeta1*wn wn^2],[1 2*zeta2*wn wn^2]); % tunable notch filter
ST0.setBlockParam('Notch',N);
*****************************************
but i am getting error when i am associating these parameters to block
what is the error means
"The sample time after propagation is [0, 1]. Enter a discrete sample time in 'new22/NOTCH'"
where should i enter discrete sample time ?
0 件のコメント
回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!