How to assign a input number
12 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commento
Risposte (1)
madhan ravi
il 17 Ott 2018
Modificato: madhan ravi
il 17 Ott 2018
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 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!