How to round up all components of a matrix to nearest integer number
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohammed Kassem
am 14 Apr. 2019
Beantwortet: Image Analyst
am 14 Apr. 2019
Hi,
Does anyone know how I can round this 3x3 matrix and take the absolute value of all elements :
M=
5.421 -5.532 0.532
-4.223 6.543 9.334
1.976 -5.123 7.872
to this
M=
5 6 1
4 7 9
2 5 8
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Creating and Concatenating Matrices 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!