Vectors creation with ranged indices

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

#1 已发布: 2018/3/21 10:17:31
Rens

Rens

0个赞,共4个帖子。

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

未找到文件。未找到文件。未找到文件。
#2 已发布: 2018/3/21 10:54:39
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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)已下载 1227 次。

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 已发布: 2018/3/22 07:12:23
Rens

Rens

0个赞,共4个帖子。

组: User

Thanks a lot Davide!

Best Regards
Rens
#4 已发布: 2018/3/22 11:09:04
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: 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)已下载 1326 次。
#5 已发布: 2018/3/22 11:20:17
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: 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)已下载 1326 次。



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 已发布: 2018/3/22 11:26:42
Arie

Arie

94个赞,共285个帖子。

组: User

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

Range2Vec program.smz (2.93 KiB)已下载 1321 次。
Feel free to join the SMath Studio Users Discord Channel: https://discord.gg/PayZpJW
#7 已发布: 2018/3/22 11:26:57
Ruben Sidranski

Ruben Sidranski

17个赞,共465个帖子。

组: User

Wrong subscript ... Fixed Range2Vec.smz (3.31 KiB)已下载 1350 次。
  • 有新帖
  • 无新帖