Diagnose a misleadingly flat model plot

A prescribed displacement model is


y(t)=0.012sin⁡ ⁣[2π(t1 s)] m.y(t)=0.012\sin\!\left[2\pi\left(\frac{t}{1\ \text{s}}\right)\right]\ \text{m}.


In MATLAB, t stores numerical time values in seconds. A student runs:


MATLAB
t = 0:0.5:2;
y = 0.012*sin(2*pi*t);
plot(t,y,'-')


The computed displacement samples are all essentially zero, even though the prescribed model oscillates between −0.012 m-0.012\ \text{m} and 0.012 m0.012\ \text{m}. Which replacement most directly resolves the missed oscillations while keeping the horizontal and vertical data compatible?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Two Dimensional Plots Questions: