function(return driver)

9 Ansichten (letzte 30 Tage)
Shuoze Xu
Shuoze Xu am 8 Sep. 2019
Kommentiert: Walter Roberson am 8 Sep. 2019
Write a MATLAB function called triple that takes a number as its parameter and returns a value that is three times its parameter. You must also write a driver file called tripleDriver to test your program.
input output
0 0
3 9
12 36
Add three additional test cases to your driver.

Antworten (0)

Kategorien

Mehr zu Instrument Control Toolbox Supported Hardware finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by