function(return driver)

조회 수: 5 (최근 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 CenterFile Exchange에서 Instrument 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