horizondistancemain - %Show the data as a graph...

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

View Full Document Right Arrow Icon
%Bryan Choquette %ME82 %Assignment 5 part 3 clc clear all %Run the Function distance1=horizondistance(1516,0:1000:10000); distance2=horizondistance(3763.5,0:1000:10000); distance3=horizondistance(3963,0:1000:10000); distance4=horizondistance(2111,0:1000:10000);
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %Show the data as a graph fprintf('Height Planet\n') fprintf('(miles) Mercury Venus Earth Mars\n') matrix=[0:1000:10000; distance1; distance2; distance3; distance4]; fprintf('%.1f%22.1f%17.1f%19.1f%19.1f\n',matrix)...
View Full Document

This note was uploaded on 03/22/2012 for the course ENGINEERIM 1000 taught by Professor Ee during the Spring '12 term at Vermont Tech.

Ask a homework question - tutors are online