Units in variables from a matrix

Units in variables from a matrix - Messages

#1 Posted: 6/11/2023 6:37:44 AM
AR

AR

0 likes in 3 posts.

Group: User

Hi

I have a dataset (using Excel-file as a source) from where I get values with vlookup, but I am unable to set units properly.

Values retrieved from a matrix have these square brackets around them [], and it makes working with units really difficult.

I was able to convert mm to m (my database has plain values, but they are supposed to be mm). But next step is to display final results in kN/m, but I keep getting kg/s^2.

I am able to remove units completely and display the correct result without units displayed, but this is suboptimal.

EDIT: I'm using importData plugin
#2 Posted: 6/11/2023 9:51:55 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Suggestive ...

VectorUnits.PNG
#3 Posted: 6/11/2023 11:37:52 AM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

You either need to alter your dataset or do corrections after import.
I am not promising anything but maybe units can be imported as they are.
But we need your dataset and smath file for to check if it can be done.

Regards
#4 Posted: 6/11/2023 3:32:41 PM
Alvaro Diaz Falconi

Alvaro Diaz Falconi

992 likes in 1674 posts.

Group: User

Wrote

... I was able to convert mm to m (my database has plain values, but they are supposed to be mm). But next step is to display final results in kN/m, but I keep getting kg/s^2. ...



Hi. Something like this?

Clipboard01.png

Best regards.
Alvaro.
#5 Posted: 6/11/2023 3:52:33 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

Suggestive ...


... Think in terms of sub-utilities you may need to apply.
#6 Posted: 6/11/2023 6:35:16 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Wrote

Hi. Something like this?

Best regards.
Alvaro.


My guess is his data is something like this.
That's what I deduce from his description at least.
Without him posting datasheet we can't help any further.

2023-06-12_00-33.png
1 users liked this post
Alvaro Diaz Falconi 6/11/2023 11:10:00 PM
#7 Posted: 6/12/2023 3:30:41 AM
AR

AR

0 likes in 3 posts.

Group: User

File not found.File not found.

Thanks for your replies, here are the files.

I would like to display variable z as kN/m instead of that kg/s^2
#8 Posted: 6/12/2023 5:29:17 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

You have to customize the result units in the rightmost placeholder.

2023-06-12 10_26_44-SMath Solver - [Worksheet1.sm_].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 users liked this post
sergio 6/12/2023 5:44:00 AM
#9 Posted: 6/12/2023 7:01:46 AM
AR

AR

0 likes in 3 posts.

Group: User

Wrote

You have to customize the result units in the rightmost placeholder.

2023-06-12 10_26_44-SMath Solver - [Worksheet1.sm_].png



Thank you! I don't know how I didn't get that working couple days ago, I tried to write units outside of brackets but didn't succeed. But now it works no problem
#10 Posted: 6/12/2023 8:43:56 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: Moderator

You're welcome
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • New Posts New Posts
  • No New Posts No New Posts