How can I generate signals with in Maltab?

I would like to generate some signals like Wideband Gaussian, Bandlimited noise, narrow band noise, Sine Wave Plus Gaussian with matlab. Which functions or codes are used for that? Thanks

 Accepted Answer

Youssef  Khmou
Youssef Khmou on 17 Mar 2013
Edited: Youssef Khmou on 17 Mar 2013
hi,
1)Concerning Wideband Gaussian signal, you can pick up a Generalized Gaussian Pulse:
alpha=10;
E0=1;
Fs=100e+6;
t=0:1/Fs:2e-3; % SIMULATION OF 2 MILLISECONDS
DT=5e-6;
t0=0.5e-3;
I1= (E0/(1-alpha));
I2=exp(-4*pi*((t-t0)/DT).^2);
I3=alpha*exp(-4*pi*alpha^2*((t-t0)/DT).^2);
y=I1*(I2-I3);
2)Sin narrow band waves are easy to implement using 'sin''cos' functions , and sin wideband signals are generated using 'chirp' signals, type
>>doc chirp
3) Band limited noise can be generated using 'randn' function followed by bandpass filter,

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!