vectorized_312 - n (t(npts) - t(1))/ni ( for i = 2:(ni + 1)...

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

View Full Document Right Arrow Icon
y = zeros (6,1); y T = zeros (6,1); T t = (0:20)' t %tstart = 0; % %tend = 20; % %t(1) = tstart; % %tend = 20; % ni = 5; n y(1) = 10 + 5*cos(2*pi*t(1)/(tend-tstart)); y npts = size (t)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: n (t(npts) - t(1))/ni ( for i = 2:(ni + 1) T(i,1) = t(i-1) + (t(npts) - t(1))/ni y(i,1) = 10 + 5*cos(2*pi*t(i)/(t(npts) - t(1))); end e %T % %y...
View Full Document

This note was uploaded on 09/21/2011 for the course EGM 3344 taught by Professor Raphaelhaftka during the Spring '09 term at University of Florida.

Ask a homework question - tutors are online