Vectors creation with ranged indices

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

#1 Posted: 3/21/2018 10:17:31 AM
Rens

Rens

0 likes in 4 posts.

Group: 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

File not found.File not found.File not found.
#2 Posted: 3/21/2018 10:54:39 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 KiB) downloaded 37 time(s).

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 Posted: 3/22/2018 7:12:23 AM
Rens

Rens

0 likes in 4 posts.

Group: User

Thanks a lot Davide!

Best Regards
Rens
#4 Posted: 3/22/2018 11:09:04 AM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: 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 KiB) downloaded 32 time(s).
#5 Posted: 3/22/2018 11:20:17 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 posts.

Group: 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 KiB) downloaded 32 time(s).



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 Posted: 3/22/2018 11:26:42 AM
Arie

Arie

93 likes in 285 posts.

Group: User

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

Range2Vec program.smz (2 KiB) downloaded 33 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 Posted: 3/22/2018 11:26:57 AM
Ruben Sidranski

Ruben Sidranski

17 likes in 463 posts.

Group: User

Wrong subscript ... Fixed Range2Vec.smz (3 KiB) downloaded 42 time(s).
  • New Posts New Posts
  • No New Posts No New Posts