Units don't match?

Units don't match? - Poruke

#1 Objavljeno: 9. 3. 2025. 10:02:43
netsonicyxf

netsonicyxf

2 svidjanja u 79 postova.

Grupa: User

How to solve it?
Fajl nije pronađen.Fajl nije pronađen.
#2 Objavljeno: 9. 3. 2025. 11:42:44
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Don't know your purpose but it seems you created beta function twice, with same name.
And they should be differ according to your variable units.
Is solution below a possible candidate?

Regards

2025-03-09_06-39.png
3 korisnika je svidelo ovu objavu
netsonicyxf 9. 3. 2025. 11:46:00, NDTM Amarasekera 9. 3. 2025. 15:33:00, sergio 10. 3. 2025. 04:23:00
#3 Objavljeno: 11. 3. 2025. 21:12:12
NDTM Amarasekera

NDTM Amarasekera

130 svidjanja u 352 postova.

Grupa: User

Why this works when the line operator is removed as shown ?

Line Operator Problem.png

Prestress Tension Loss Verification as per EN 1992-R1.sm (29,76 KiB) preuzeto 1858 put(ova).
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1 korisnika je svidelo ovu objavu
sergio 12. 3. 2025. 00:46:00
#4 Objavljeno: 12. 3. 2025. 09:41:55
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Wrote

Why this works when the line operator is removed as shown ?...



Hi Amarasekera. Although β.H2 has a numerical result, changing the value of h also changes the value of β.H2, which doesn't happen with β.H. This is because line causes β.H2 to be evaluated each time it is used, while the value in β.H remains constant and fixed.

vec.png

In this way, vectorize is evaluated with the Min function for β.H2, and vectorize generally does not work well with matrix functions.

A version of β.H without matrix functions, with cases, for example, shouldn't have this problem. However, the correct approach is that if β.H is going to hold a constant value, there's no need for it to be evaluated every time it's used.

Best regards.
Alvaro.
1 korisnika je svidelo ovu objavu
NDTM Amarasekera 14. 3. 2025. 15:35:00
#5 Objavljeno: 14. 3. 2025. 16:09:53
NDTM Amarasekera

NDTM Amarasekera

130 svidjanja u 352 postova.

Grupa: User

Thank you Alvaro for your useful comments.
As you suggested, the cases function does not create any issues.

Line Operator vs cases function.png
Look within!... The secret is inside you. Best Regards Eng. NDTM Amarasekera - Sri Lanka
1 korisnika je svidelo ovu objavu
Alvaro 15. 3. 2025. 11:10:00
  • Novi postovi
  • Nema novih postova