Vectors creation with ranged indices

Vectors creation with ranged indices - How to use vectors with subscripts (by typing: [) - Poruke

#1 Objavljeno: 21. 3. 2018. 10:17:31
Rens

Rens

0 svidjanja u 4 postova.

Grupa: User

Does anyone know how to use vectors with subscripts (by typing: [) in SMAth as I have done in the attached Mathcad file (.pdf + .xmcd). I have tried it in SMath (see the attached SMath file) but this does not work in the same way. Does anyone knows a workaround?

Best regards,
Rens Servais

Fajl nije pronađen.Fajl nije pronađen.Fajl nije pronađen.
#2 Objavljeno: 21. 3. 2018. 10:54:39
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: Moderator

Hello Rens,

You can do it in the same way, but indices here are base 1 instead of base 0

SMath file (r1).sm (4,53 KiB) preuzeto 1241 put(ova).

2018-03-21 14_55_53-SMath Studio - [SMath file (r1).sm_].png

2018-03-21 14_54_55-Mathcad%20print.pdf - Adobe Acrobat Reader DC.png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#3 Objavljeno: 22. 3. 2018. 07:12:23
Rens

Rens

0 svidjanja u 4 postova.

Grupa: User

Thanks a lot Davide!

Best Regards
Rens
#4 Objavljeno: 22. 3. 2018. 11:09:04
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

Reminded me of a loop I had for Mathcad. Somehow, the equal sign is not correct and not working. A little help? Range2Vec program.smz (2,93 KiB) preuzeto 1353 put(ova).
#5 Objavljeno: 22. 3. 2018. 11:20:17
Davide Carpi

Davide Carpi

1.444 svidjanja u 2.936 postova.

Grupa: Moderator

Wrote

Reminded me of a loop I had for Mathcad. Somehow, the equal sign is not correct and not working. A little help? Range2Vec program.smz (2,93 KiB) preuzeto 1353 put(ova).



What would be the expected result?
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#6 Objavljeno: 22. 3. 2018. 11:26:42
Arie

Arie

94 svidjanja u 285 postova.

Grupa: User

You had Count as subscript instead of index in the loop.

Range2Vec program.smz (2,93 KiB) preuzeto 1344 put(ova).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 Objavljeno: 22. 3. 2018. 11:26:57
Ruben Sidranski

Ruben Sidranski

17 svidjanja u 465 postova.

Grupa: User

Wrong subscript ... Fixed Range2Vec.smz (3,31 KiB) preuzeto 1375 put(ova).
  • Novi postovi
  • Nema novih postova