Caleb Wilson
Followers: 0 Following: 0
Statistica
2 Domande
0 Risposte
RANK
145.547
of 292.815
REPUTAZIONE
0
CONTRIBUTI
2 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
100.0%
VOTI RICEVUTI
0
RANK
of 148.001
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
I'm trying to plot the function: x(t) = 20*cos(2*pi*500*t). When I try to do this, nothing is plotted and i'm not sure why. The x and y limits are also incorrect. What can i do to fix this?
if true t = 0:0.005; xlim([-0.002 0.002]) ylim([-20 20]) y = 20*cos(2*pi*500*t) plot (t,y) end
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
I am trying to do this problem, but I'm having some issues with steps 2 3 and 4. I thought I did it right, but the values stored in the "velocites" vector all share the same value and they shouldn't. Any help would be appreciated
InitialVelocity = 2 * rand(1) - 1; F = 1; tau = 1; N = T/dt; T = 10; dt = 0.01; n = 0; velocities = zeros(1,N); ...
quasi 7 anni fa | 2 risposte | 0