- "randn" function - https://www.mathworks.com/help/matlab/ref/randn.html
- "Random source" block - https://www.mathworks.com/help/dsp/ref/randomsource.html
- "Gain" block - https://www.mathworks.com/help/simulink/slref/gain.html
signals booster for random signals
2 views (last 30 days)
Show older comments
sddfds sddfds
on 11 Jan 2024
Commented: sddfds sddfds
on 11 Jan 2024
hello i would like to ask how to create a random signals booster using matlab and simulink. it works similar to a 5g wifi booster but with random signals. thanks very much.
0 Comments
Accepted Answer
Ayush Modi
on 11 Jan 2024
Hi,
I understand you would like to generate a random signal and boost it with a boost factor. You can achieve this in "Matlab" using "randn" function. Here is an example to demonstrate how you can accomplish this:
fs = 1e3; % Sampling frequency (Hz)
t = 0:1/fs:1-1/fs; % Time vector
randomSignal = randn(size(t)) % Generate Gaussian noise
% Define the gain (Amplification factor)
gain = 10; % Boost factor
% Boost the signal
boostedSignal = gain * randomSignal
Alternatively, you can achieve this using the "Random Source" block to generate random signal and "Gain" block to amplify the signal.
Please refer to the following MathWorks documentation for more information on:
I hope this helps!
More Answers (0)
See Also
Categories
Find more on Sources in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!