How to create a cosine filter ?
古いコメントを表示
i treid to use this code
Nsym = 6; % Filter span in symbol durations
beta = 0.5; % Roll-off factor
sampsPerSym = 8; % Upsampling factor
rcosFlt = comm.RaisedCosineTransmitFilter(...
'Shape', 'Normal', ...
'RolloffFactor', beta, ...
'FilterSpanInSymbols', Nsym, ...
'OutputSamplesPerSymbol', sampsPerSym)
% Visualize the impulse response
fvtool(rcosFlt, 'Analysis', 'impulse')
but the matlab result is
??? Undefined variable "comm" or class
"comm.RaisedCosineTransmitFilter".
I hope that my question is clear ,thanks :) >>
採用された回答
その他の回答 (1 件)
Ken
2014 年 1 月 10 日
0 投票
I have a similar problem. Can someone tell us how to fix this. I have othe comm. functions in my package. More so, I have this RaisedCosine filter in my Simulink package, and it works perfectly.
1 件のコメント
Yingyu
2014 年 1 月 27 日
Exactly, I also have the same problem. I have used >>ver to double confirm that I have the Signal Processing Toolbox. However when I typed the commands like what Nasser Dav did, I received the same error. =(
カテゴリ
ヘルプ センター および File Exchange で Get Started with DSP System Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!