How to assign a input number
조회 수: 12 (최근 30일)
이전 댓글 표시
답변 (1개)
madhan ravi
2018년 10월 17일
편집: madhan ravi
2018년 10월 17일
function input_a_number
number = input('enter a number : ')
end
or
x = 10
data = cuberoot(x)
function value = cuberoot(x)
value = x.^(1/3)
end
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Logical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!