function(return driver)

4 ビュー (過去 30 日間)
Shuoze Xu
Shuoze Xu 2019 年 9 月 8 日
コメント済み: Walter Roberson 2019 年 9 月 8 日
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.

回答 (0 件)

カテゴリ

Help Center および File ExchangeInstrument Control Toolbox Supported Hardware についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by