script - plot(data.Tp,'color',[0.8 0.8 0.8],'LineWidth',2);...

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

View Full Document Right Arrow Icon
subplot(2,1,1); plot(data.date,data.Hs); datetick('x',6) subplot(2,1,2); plot(data.date,data.Tp); datetick('x',6) avgdata=mafilt(5,data.Tp); subplot(3,1,1) plot(data.Tp,'color',[0.8 0.8 0.8],'LineWidth',2); hold on; plot(avgdata,'k'); hold off; avgdata=mafilt(21,data.Tp); subplot(3,1,2)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: plot(data.Tp,'color',[0.8 0.8 0.8],'LineWidth',2); hold on; plot(avgdata,'k'); hold off; avgdata=mafilt(51,data.Tp); subplot(3,1,3) plot(data.Tp,'color',[0.8 0.8 0.8],'LineWidth',2); hold on; plot(avgdata,'k'); hold off; fclose(fid);...
View Full Document

This note was uploaded on 11/01/2011 for the course ANTHRO 5 taught by Professor Gaulin during the Spring '11 term at San Diego.

Ask a homework question - tutors are online