Clear Filters
Clear Filters

Functions with three input variables

1 view (last 30 days)
Hayatullahi Adeyemo
Hayatullahi Adeyemo on 4 Dec 2017
Commented: KL on 4 Dec 2017
Hi, Please I need MATLAB functions that are about 20 or more lines of code or less which accept three inputs. I am using MATLAB to carry out software testing. I need them to serve as subject programs for the testing I am carrying out. The testing approach I am using is mutation testing.
  3 Comments
Hayatullahi Adeyemo
Hayatullahi Adeyemo on 4 Dec 2017
Edited: Hayatullahi Adeyemo on 4 Dec 2017
I need any program sample preferably in MATLAB that is a function which takes three inputs and return an output. I have an example like quadraticSolver function that takes three coefficients of a quadratic equation and returns the roots of the equation. I also have triangeType function that takes three sides of a triangle and determine the type of triangle is with those sides. So, I need more programs that are bigger or same size as previous to use in validating my testing technique - mutation testing. It can be function from any discipline (be it in mathematics, engineering, computer science, etc). I hope my question and request is clear? Thanks

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!