This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: z=sampleFunction(3) Results Use as many cells as required to display your results (i.e. plots and etc). plot(x,y) grid on , xlabel( 'x' ),ylabel( 'y = x^2' ), title( 'Sample Prelab Results' ) function y = sampleFunction(x) y = 2*x+5; Conclusion Place a final cell that describes your solution. This should again be about 3-5 sentences and DESCRIBE THE SIGNIFICANCE of everything that you've done (i.e. what it all means) Function - sampleFunction If you have any functions relating to your prelab, add a section below for each one. You should give about 1-2 sentences describing what the function does in terms of its inputs and outputs. After explaining, type the command 'type functionNAME' and the contents of the function will be displayed. type sampleFunction Published with MATLAB® 7.11...
View Full Document
This note was uploaded on 11/11/2011 for the course ENGR 231 taught by Professor Olehtretiak during the Fall '10 term at Drexel.
- Fall '10