sol01 - function sol01 % You may use the file sol01.m as a...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: function sol01 % You may use the file sol01.m as a template on how to structure your % homework reports. It closely emulates what you would do if you were using % separate M-files for each problem, but collects everything into a single % file. The basic objective is to upload a file that contains everything, % that is, code + screen output + graphs, all in a single file. % % step 1: Use the Matlab editor and put all the Matlab commands that solve % your homework questions into a single script M-file, named % anything with an extension .m, for example, % % sol01.m % % step 2: Run the M-file in Matlab to make sure it works: % % >> sol01 % % Step 3: Run the command "publish" to create the HTML file: % % >> publish('sol01', 'html'); % % publish should not be part of the M-file - it should be run from the command window % % Step 4: The Matlab-generated HTML file and supporting PNG graph files will % have been copied into a sub-folder called 'html'. At this point % you have the following choices: % % a) upload to sakai the HTML file + PNG files % % b) open the HTML file in your browser and copy-paste the displayed % screen pages into Word including the graphs....
View Full Document

Page1 / 4

sol01 - function sol01 % You may use the file sol01.m as a...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online