Hi, I was new in matlab, I was doing a convert function, I have face a problem which is dont know how to key in a number to the function

1 Kommentar

Jan
Jan am 17 Okt. 2018
What exactly does "how to key in a number to the function" mean?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

madhan ravi
madhan ravi am 17 Okt. 2018
Bearbeitet: madhan ravi am 17 Okt. 2018

0 Stimmen

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
not sure what you mean , see functions

Kategorien

Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 17 Okt. 2018

Kommentiert:

Jan
am 17 Okt. 2018

Community Treasure Hunt

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

Start Hunting!

Translated by