Creating a pulse for thermal noise
6 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Shahar ben ezra
il 20 Set 2021
Commentato: Shahar ben ezra
il 21 Set 2021
Hi
How can I start my Y-axis from -174
And not from 0?
*Example drawing
clc,clear
Hz = 10;
Amp = -164;
x = -10:0.01:10;
% a pulse function
f = @(xi,a,b) a*rectpuls(xi,b);
% plot to
plot(x,f(x,Amp,Hz),'b--');
title(['Pulse']);
xlabel('Freq');
ylabel('Amplitude');
TNX
0 Commenti
Risposta accettata
Fangjun Jiang
il 20 Set 2021
Modificato: Fangjun Jiang
il 20 Set 2021
clc,clear
Hz = 10;
Amp = 10;
x = -10:0.01:10;
% a pulse function
f = @(xi,a,b) a*rectpuls(xi,b)-174;
% plot to
plot(x,f(x,Amp,Hz),'b--');
title(['Pulse']);
xlabel('Freq');
ylabel('Amplitude');
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!