function(return driver)

5 visualizaciones (últimos 30 días)
Shuoze Xu
Shuoze Xu el 8 de Sept. de 2019
Comentada: Walter Roberson el 8 de Sept. de 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.

Respuestas (0)

Categorías

Más información sobre Instrument Control Toolbox Supported Hardware en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by