What is the difference between rcosdesign and fdesign.pulseshaping?
The <https://www.mathworks.com/help/signal/release-notes.html?searchHighlight=firrcos&s_tid=doc_srchtitle release notes on the Signal Processing Toolbox> say that firrcos and fdesign.pulseshaping are deprecated by rcosdesign, and a little bit farther it gives specific code for converting from fdesign.pulseshaping to rcosdesign. Specifically, it says:
n1n = rcosdesign(Beta,span,sps);
n1n = n1n / max(n1n) * (-1/(pi*sps) …
* (pi*(Beta-1) – 4*Beta))
is equivalent to:
sps = 6;
span = 4;
Beta = 0.25;
f1 = fdesign.pulseshaping(sps, …
‘Square Root Raised Cosine’, …
‘Nsym,Beta’,span,Beta);
d1 = design(f1);
n1 = d1.Numerator
which appears to be true. However, can anyone explain what the
n1n = n1n / max(n1n) * (-1/(pi*sps) …
* (pi*(Beta-1) – 4*Beta))
is doing? In other words, what is the difference between these two functions such that some connector code is needed to go from one to the other? From a rough understanding, it looks like it is normalizing the values, but then not really sure on the rest.The <https://www.mathworks.com/help/signal/release-notes.html?searchHighlight=firrcos&s_tid=doc_srchtitle release notes on the Signal Processing Toolbox> say that firrcos and fdesign.pulseshaping are deprecated by rcosdesign, and a little bit farther it gives specific code for converting from fdesign.pulseshaping to rcosdesign. Specifically, it says:
n1n = rcosdesign(Beta,span,sps);
n1n = n1n / max(n1n) * (-1/(pi*sps) …
* (pi*(Beta-1) – 4*Beta))
is equivalent to:
sps = 6;
span = 4;
Beta = 0.25;
f1 = fdesign.pulseshaping(sps, …
‘Square Root Raised Cosine’, …
‘Nsym,Beta’,span,Beta);
d1 = design(f1);
n1 = d1.Numerator
which appears to be true. However, can anyone explain what the
n1n = n1n / max(n1n) * (-1/(pi*sps) …
* (pi*(Beta-1) – 4*Beta))
is doing? In other words, what is the difference between these two functions such that some connector code is needed to go from one to the other? From a rough understanding, it looks like it is normalizing the values, but then not really sure on the rest. The <https://www.mathworks.com/help/signal/release-notes.html?searchHighlight=firrcos&s_tid=doc_srchtitle release notes on the Signal Processing Toolbox> say that firrcos and fdesign.pulseshaping are deprecated by rcosdesign, and a little bit farther it gives specific code for converting from fdesign.pulseshaping to rcosdesign. Specifically, it says:
n1n = rcosdesign(Beta,span,sps);
n1n = n1n / max(n1n) * (-1/(pi*sps) …
* (pi*(Beta-1) – 4*Beta))
is equivalent to:
sps = 6;
span = 4;
Beta = 0.25;
f1 = fdesign.pulseshaping(sps, …
‘Square Root Raised Cosine’, …
‘Nsym,Beta’,span,Beta);
d1 = design(f1);
n1 = d1.Numerator
which appears to be true. However, can anyone explain what the
n1n = n1n / max(n1n) * (-1/(pi*sps) …
* (pi*(Beta-1) – 4*Beta))
is doing? In other words, what is the difference between these two functions such that some connector code is needed to go from one to the other? From a rough understanding, it looks like it is normalizing the values, but then not really sure on the rest. fir, filter, dsp MATLAB Answers — New Questions