1 Pages (7 items)
Vectors creation with ranged indices - How to use vectors with subscripts (by typing: [) - Messages
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.
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) downloaded 614 time(s).
![2018-03-21 14_55_53-SMath Studio - [SMath file (r1).sm_].png](/zh-Hans-CN/files/Download/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.53 KiB) downloaded 614 time(s).
![2018-03-21 14_55_53-SMath Studio - [SMath file (r1).sm_].png](/zh-Hans-CN/files/Download/rZcxyq/2018-03-21-14_55_53-SMath-Studio---[SMath-file-(r1).sm_].png)

If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
Thanks a lot Davide!
Best Regards
Rens
Best Regards
Rens
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) downloaded 603 time(s).
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.93 KiB) downloaded 603 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
You had Count as subscript instead of index in the loop.
Range2Vec program.smz (2.93 KiB) downloaded 600 time(s).
Range2Vec program.smz (2.93 KiB) downloaded 600 time(s).
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
Wrong subscript ... Fixed Range2Vec.smz (3.31 KiB) downloaded 653 time(s).
1 Pages (7 items)
- New Posts
- No New Posts