1 Pages (7 items)
Vectors creation with ranged indices - How to use vectors with subscripts (by typing: [) - Messages
#1 Posted: 3/21/2018 10:17:31 AM
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.
Best regards,
Rens Servais
File not found.File not found.File not found.
#2 Posted: 3/21/2018 10:54:39 AM
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 36 time(s).
![2018-03-21 14_55_53-SMath Studio - [SMath file (r1).sm_].png](/en-US/file/rZcxyq/2018-03-21-14_55_53-SMath-Studio---_SMath-file-_r1__sm___png)

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 36 time(s).
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
Thanks a lot Davide!
Best Regards
Rens
Best Regards
Rens
#4 Posted: 3/22/2018 11:09:04 AM
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 31 time(s).
#5 Posted: 3/22/2018 11:20:17 AM
WroteReminded 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 31 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
You had Count as subscript instead of index in the loop.
Range2Vec program.smz (2 KiB) downloaded 32 time(s).
Range2Vec program.smz (2 KiB) downloaded 32 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
Wrong subscript ... Fixed Range2Vec.smz (3 KiB) downloaded 41 time(s).
1 Pages (7 items)
-
New Posts
-
No New Posts