request integer inputs to put into the function
显示 更早的评论
Hi I dont know how to request integer inputs to put into the factional equation. Can anyone help me learn about how to ask for integer inputs ? Can we solve a factional with 2 integers ?
this is my code
m= input('enter the integer value of m')
n=input('enter the integer value of n');
for i=n:m
t=n*i;
end
回答(1 个)
madhan ravi
2020-9-15
doc floor % and co
3 个评论
Dai Nguyen
2020-9-15
madhan ravi
2020-9-15
'Enter the integer value of m'
madhan ravi
2020-9-15
I suggest you to read the docs.
类别
在 帮助中心 和 File Exchange 中查找有关 Matrix Indexing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!