Creating functions with certain inputs but no outputs

조회 수: 1 (최근 30일)
Kalpha.mc
Kalpha.mc 2020년 9월 27일
댓글: madhan ravi 2020년 9월 27일
How to create a function called x with two inputs. Two variables x and y then display the sum, difference , product and quotient.
example two variables are 6 and 7
6+7 = 13
6-7 = -1
6*7 = 42
6/7 = 0.857

답변 (1개)

madhan ravi
madhan ravi 2020년 9월 27일
doc *
doc +
doc -
doc /
doc function

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by