Decimal

2 Ansichten (letzte 30 Tage)
Thulasi Durai Durai Samy
Thulasi Durai Durai Samy am 17 Mai 2012
Hello, I tried with command round2dp(pi,2) in 2008 Ra matlab it shows the following error:
Undefined function or method 'round2dp' for input arguments of type 'double'.
is it a special function or any other function available to round off to nearest fraction or it can be specified by the user.

Akzeptierte Antwort

Oleg Komarov
Oleg Komarov am 17 Mai 2012
This is a user defined function available on the FEX: round2dp.
To use it, you have to download it and then add to MATLAB the path where you unzip it. In MATLAB File > Set path

Weitere Antworten (0)

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by