my_adder - %only used the input variable and displayed the...

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

View Full Document Right Arrow Icon
%% Problem 1a % function out=my_adder(in1, in2) f out=in1+in2; o end e a=5; b=16; myadder %MATLAB assigned values to a and b, but when given the function command it
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %only used the input variable and displayed the answer of the function....
View Full Document

This note was uploaded on 02/18/2010 for the course ENGINEERIN 7 taught by Professor Patzek during the Spring '08 term at University of California, Berkeley.

Ask a homework question - tutors are online