How to assign a input number
29 次查看(过去 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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!