KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In GNU Octave version 3.4.3 I want to round a matrix to 2 units precision on the contents of a matrix like this. mymatrix=[1.1234567, 2.12345; 3.1234567891, 4.1234]; disp(mymatrix); This prints: 1.1235 2.1235 3.1235 4.1234 As you can see, the disp forces the precision to '5', I want the units precision to be 2. How do I do this?
Tags (comma-separated)
Save Edits
Cancel