I am using Simulink Raised Cosine Transmit Filter with a gain of 1 and the output about 1/5 of expected. I looked at an example project and it used 'rcfiltgaincompat(gcbh)' for the filter gain. I can't find any info on this.How is this param used?
1 回表示 (過去 30 日間)
古いコメントを表示
I am using Simulink Raised Cosine Transmit Filter with a gain of 1. The output is about 1/5 of expected. I looked at an example project and it uses 'rcfiltgaincompat(gcbh)' for the filter gain. I can't find any info on this. How is this param used?
0 件のコメント
回答 (1 件)
zhang kai
2017 年 9 月 6 日
you can type "help rcfiltgaincompat" at the command window. actually this is a function and gcbh is "get current block handle". But, interestingly, you cannot find anything from the help browser. BTW I am using matlab2017a. the information for this function is as follows:
function g = rcfiltgaincompat(block) %RCFILTGAINCOMPAT Backwards compatible raised cosine filter gain % % This function is intended to be used by the raised cosine filter % upgrade code only. This function returns a gain value that ensures the % upgraded blocks provide the same filter coefficients. Do not use this % function for regular use of the blocks.
% Copyright 2013 The MathWorks, Inc.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Array and Matrix Mathematics についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!