Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Include Page
SIMULATION: MATLAB Google Analytics
SIMULATION: MATLAB Google Analytics

The following video leads you through making a plot of the spring position x vs. time.

HTML
 <iframe width="600" height="450" src="//www.youtube.com/embed/ixSPeMxjODw?rel=0" frameborder="0" allowfullscreen></iframe> 


figure(1); %Create figure #1
clf; %Clear current figure
h=plot( , ,' ');
set(h,'LineWidth',2); %Set linewidth for curve
set(gca,'Box','on','LineWidth',2,...
   'FontName','Helvetica',...
   'FontSize',14); %Set axis properties
xlabel('');
ylabel('');
title('');
axis square; %Make axis box square