Functions with three input variables

1 visualizzazione (ultimi 30 giorni)
Hayatullahi Adeyemo
Hayatullahi Adeyemo il 4 Dic 2017
Commentato: KL il 4 Dic 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 Commenti
Hayatullahi Adeyemo
Hayatullahi Adeyemo il 4 Dic 2017
Modificato: Hayatullahi Adeyemo il 4 Dic 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

Accedi per commentare.

Risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by