SMath Studio Forum
»
SMath Studio
»
Questions
»
Vectors creation with ranged indices
Rank: Newbie
Groups: Registered
Joined: 21/03/2018(UTC) Posts: 4 Location: Rosmalen
|
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 SMath file.sm (4kb) downloaded 14 time(s). Mathcad file.xmcd (20kb) downloaded 10 time(s). Mathcad print.pdf (96kb) downloaded 16 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,652 Location: Italy Was thanked: 1339 time(s) in 878 post(s)
|
Hello Rens, You can do it in the same way, but indices here are base 1 instead of base 0 SMath file (r1).sm (5kb) downloaded 19 time(s).Edited by user 21 March 2018 16:57:08(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Newbie
Groups: Registered
Joined: 21/03/2018(UTC) Posts: 4 Location: Rosmalen
|
Thanks a lot Davide! Best Regards Rens Edited by moderator 22 March 2018 13:58:32(UTC)
| Reason: marked as solved - title modified for future reference
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
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 (3kb) downloaded 13 time(s).
|
|
|
|
Rank: Advanced Member Groups: Registered, Advanced Member Joined: 13/01/2012(UTC) Posts: 2,652 Location: Italy Was thanked: 1339 time(s) in 878 post(s)
|
Originally Posted by: ElSid 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 (3kb) downloaded 13 time(s). What would be the expected result? Edited by user 22 March 2018 17:23:01(UTC)
| Reason: Not specified |
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects |
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 23/03/2016(UTC) Posts: 277 Was thanked: 91 time(s) in 57 post(s)
|
You had Count as subscript instead of index in the loop. Range2Vec program.smz (3kb) downloaded 15 time(s). |
|
|
|
|
Rank: Advanced Member Groups: Registered
Joined: 05/03/2009(UTC) Posts: 433 Location: USA Was thanked: 17 time(s) in 15 post(s)
|
Wrong subscript ... Fixed Range2Vec.smz (4kb) downloaded 22 time(s).
|
|
|
|
SMath Studio Forum
»
SMath Studio
»
Questions
»
Vectors creation with ranged indices
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.