Question: Create custom MATLAB functions for the following simple mathematical functions. Once youve created the function file. When executing your functions, try to pass a scalar,

Create custom MATLAB functions for the following simple mathematical functions. Once youve created the function file. When executing your functions, try to pass a scalar, vector, or matrix input argument.
Multiple inputs and a single output (z)
1. (,,)= ^c
2. (, , ) = (/y)
3. (,)= /sin()
Single input (x) and two outputs
4. cos() , sin ()
5. exp (), log()
Two inputs (x,y) and two outputs
6. +,
7. ^, ^

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Chemical Engineering Questions!