q5fromsect175 - set(gca,'XTick',0:0.5:3);...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function output = q5fromsect175() %Q5FROMSECT175 Summary of this function goes here % Detailed explanation goes here t = 0:0.001:3; x=sin(10*pi*t); figure plot(t,x) title('Figure 1.5.1 Solution to Question 5')
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: set(gca,'XTick',0:0.5:3); set(gca,'YTick',-1:0.2:1); xLabel('X') yLabel('Y') fprintf('Length of time vector \n%d\n',length(t)) fprintf('Length of sine vector \n%d\n',length(x)) end e...
View Full Document

This note was uploaded on 10/02/2011 for the course CSE 3451 taught by Professor A during the Spring '10 term at York University.

Ask a homework question - tutors are online