func1 - % % function OUTPUT = nameFunc(INPUT) function =...

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

View Full Document Right Arrow Icon
% These comments get printed out to the screen when you type: % DO NOT USE BLOCK COMMENT FOR THIS % % help func1 % % This function DOES NOT take in any inputs and does not have % any outputs. All it does is print 'Hello WOrld!'
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: % % function OUTPUT = nameFunc(INPUT) function = func1() disp('Hello WOrld!') % Now you can call the function: % >> func1 % Hello WOrld!...
View Full Document

This note was uploaded on 03/30/2011 for the course ENGINEERIN 127 taught by Professor Finch during the Spring '08 term at Rutgers.

Ask a homework question - tutors are online