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
madhan ravi 2020년 9월 15일

1 개 추천

doc floor % and co

댓글 수: 3

will it work for factional calculation?
'Enter the integer value of m'
I suggest you to read the docs.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

태그

질문:

2020년 9월 15일

댓글:

2020년 9월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by