Units in dynamic created matrix

Units in dynamic created matrix - Messages

#1 Posted: 12/4/2020 7:19:18 AM
Jadalbert

Jadalbert

0 likes in 17 posts.

Group: User

I created a dynamic matrix as T := matrix(2, cols(T1)). The values of the T1 matrix have units [MPa]. The values have to be rewritten to T where they meet certain requirements. But values of the "new" matrix T have units [kg/m*s2]. Is it possible change thise units to [MPa]? Any attempt to change units fails because the matrix T is computed.

Thank for any advice
Jadalbert
#2 Posted: 12/4/2020 8:45:15 AM
fedeghi

fedeghi

25 likes in 112 posts.

Group: User

Wrote

I created a dynamic matrix as T := matrix(2, cols(T1)). The values of the T1 matrix have units [MPa]. The values have to be rewritten to T where they meet certain requirements. But values of the "new" matrix T have units [kg/m*s2]. Is it possible change thise units to [MPa]? Any attempt to change units fails because the matrix T is computed.

Thank for any advice
Jadalbert



Not sure if I understood but you could show whatever unit is suitable (and consistent) by changing the unit of measure in the displayed results.

Same you would do with a single result, you can change the displayed unit in the black rectangle after results.. only difference from a single formula, is you need to use adiagonal matrix with proper units in proper positions.

At least, this is what I'm often doing to have a clearer view.

Some other users on the forum don't like using/displaying units at all, but that's another separate and recurring topic I guess.
Immagine 2020-12-04 124202.png
1 users liked this post
sergio 12/5/2020 6:34:00 AM
#3 Posted: 12/4/2020 9:11:31 AM
Jadalbert

Jadalbert

0 likes in 17 posts.

Group: User

It works! Tkank You.

In my case now it looks like:

T := [1 2 3 4 ...] MPa

and that is what I wanted.
#4 Posted: 12/4/2020 1:57:26 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

A vector of values can be associated with units.
A data table will have columns units in the header or row wise.

Table.PNG
1 users liked this post
Jadalbert 12/7/2020 8:24:00 AM
#5 Posted: 12/7/2020 8:26:00 AM
Jadalbert

Jadalbert

0 likes in 17 posts.

Group: User

Thakn you Jean Giraud. I wil try use you advice.
#6 Posted: 12/7/2020 9:37:01 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... suggestive examples.

Table Scientific.sm (20 KiB) downloaded 37 time(s).
Table Medic Data.sm (17 KiB) downloaded 38 time(s).
Inst_Colebrook Pipe Data.sm (71 KiB) downloaded 34 time(s).
  • New Posts New Posts
  • No New Posts No New Posts