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?
7 views (last 30 days)
Show older comments
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 Comments
Answers (1)
zhang kai
on 6 Sep 2017
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 Comments
See Also
Categories
Find more on Block Libraries in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!