loop while

loop while - loop while from mathcad prime to SMath Studio - Poruke

#1 Objavljeno: 11. 9. 2021. 14:25:54
Erick Valentino

Erick Valentino

7 svidjanja u 29 postova.

Grupa: User

How can I do this loop while?
what am I doing wrong?

NR.sm (8,06 KiB) preuzeto 1227 put(ova).

NR.jpg
#2 Objavljeno: 11. 9. 2021. 15:00:19
Erick Valentino

Erick Valentino

7 svidjanja u 29 postova.

Grupa: User

I think it already came out, but how do I make the numbers that are almost 0 not appear as 2.72 * 10 ^ -17?

imagen_2021-09-11_125819.png
#3 Objavljeno: 11. 9. 2021. 15:23:39
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Add a check for every element if they are lower than something.
And if they are, make them zero.

Regards

2021-09-11_21-22.png
1 korisnika je svidelo ovu objavu
Erick Valentino 11. 9. 2021. 15:40:00
#4 Objavljeno: 11. 9. 2021. 15:43:26
Erick Valentino

Erick Valentino

7 svidjanja u 29 postova.

Grupa: User

Wrote

Add a check for every element if they are lower than something.
And if they are, make them zero.

Regards

2021-09-11_21-22.png



what function does this have?

iMarkup_20210911_133439.jpg

Thank you so much
#5 Objavljeno: 11. 9. 2021. 16:09:46
overlord

overlord

601 svidjanja u 1.382 postova.

Grupa: Moderator

Wrote

what function does this have?


That is cases(), it is in Custom Functions plugin.
I would prefer to write your algorithm like attached.
It is just my preference by the way.

Regards

NR_r1.sm (9,6 KiB) preuzeto 1238 put(ova).

2021-09-11_22-09.png
  • Novi postovi
  • Nema novih postova