How do I round up a number?
4 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Qilin
am 20 Apr. 2013
Kommentiert: Steven Lord
am 2 Nov. 2019
Hi, I was wondering whether there's any function other than 'round(X)' that can round up a number? I'm trying not to use round(X) because every time I use it, I get an error: Subscript indices must either be real positive integers or logicals. Thanks
0 Kommentare
Akzeptierte Antwort
the cyclist
am 20 Apr. 2013
Bearbeitet: the cyclist
am 20 Apr. 2013
You are probably getting that error because somehow you have created a variable called "round".
What do you get if you type
>> which round
Weitere Antworten (1)
Siehe auch
Kategorien
Mehr zu Logical finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!