Caleb Wilson
Followers: 0 Following: 0
Statistics
2 Questions
0 Answers
RANK
95,604
of 295,569
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 20,247
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 154,105
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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
7 years ago | 1 answer | 0
1
answerQuestion
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); ...
7 years ago | 2 answers | 0