필터 지우기
필터 지우기

How to create a cosine filter ?

조회 수: 2 (최근 30일)
Nasser  Dav
Nasser Dav 2013년 11월 13일
댓글: Yingyu 2014년 1월 27일
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 :) >>

채택된 답변

Wayne King
Wayne King 2013년 11월 13일
Do you have the Communication System Toolbox installed?
That functionality ships with that toolbox.
The Signal Processing Toolbox has functions for raised cosine filtering: rcosdesign()
  댓글 수: 1
Nasser  Dav
Nasser Dav 2013년 11월 13일
no, can i download it from the web ?

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Ken
Ken 2014년 1월 10일
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
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. =(

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Matched Filter and Ambiguity Function에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by