Adding Noise to Signal through Rand function?
Mostrar comentarios más antiguos
Hello everyone, I just want a simple help as I am new to matlab.
I want to add Noise to my Signal through rand function but its giving error. Kindly if anyone can see how am i doing it wrong. Thoguh its just few lines from a long code which works perfectly without this noise addition.
noise = 2*rand (size(time));
y2t=noise+y22t; // y22t is the signal
plot(time*1e9,y2t,'-k','LineWidth',2);
xlabel('Time - [ns]');ylabel('Amplitude - [V]');
hold on;
grid on;
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Signal Operations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

