the meaning of basic matlab words

조회 수: 5(최근 30일)
Osama Alkurdi
Osama Alkurdi 2020년 2월 6일
댓글: Osama Alkurdi 2020년 2월 6일
there is alot of words I see in the matlab online document but I wonder what is mean
the first word is argument
and the second word is command line
can you help me, please?

채택된 답변

Jim Riggs
Jim Riggs 2020년 2월 6일
an argument is a constant or variable that you provide to a function; e.g.
sin(x) % here x is the argument to the function sin.
The command line is the line in the command window where you type commands. After you type the command, you hit "enter" and then Matlab evaluates the command and displays the answer. Usually the command line has ">>" at the beginning; so if I type "sin(x) followed by <enter> on the command line, Matlab will calculate sin(x) and display the answer.
>> sin(0.1) <enter>
ans =
  댓글 수: 1
Osama Alkurdi
Osama Alkurdi 2020년 2월 6일
thank you

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

추가 답변(0개)





Community Treasure Hunt

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

Start Hunting!

Translated by