Bug in stdchan.m of MATLAB R2014a
1 view (last 30 days)
Show older comments
Hello,
can anybody check again, it can be an error in file stdchan.m! from line 227 to line 233 Doppler spectrum GAUS2 was defined:
% % GAUS2 (bi-Gaussian) Doppler object
dg2 = doppler.bigaussian;
dg2.CenterFreqGaussian1 = 0.7;
dg2.CenterFreqGaussian2 = -0.4;
dg2.SigmaGaussian1 = 0.1;
dg2.SigmaGaussian2 = 0.15;
dg2.GainGaussian1 = sqrt(2*pi*(dg1.SigmaGaussian1)^2);
dg2.GainGaussian2 = 1/10^1.5 * sqrt(2*pi*(dg1.SigmaGaussian2)^2);
In two last lines dg2.GainGaussian1 and dg2.GainGaussian2 were calculated by dg1.SigmaGaussian1 and dg1.SigmaGaussian2, which belong to above defined Doppler object GAUS1 dg1. I think those used values must be dg2.SigmaGaussian1 and dg2.SigmaGaussian2 logically.
Thanks!
0 Comments
Answers (0)
See Also
Categories
Find more on Detection, Range and Doppler Estimation 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!