Remove row or column from matrix

Remove row or column from matrix - Using matrix as input data table - 消息

#1 已发布: 2014/11/20 14:50:13
Ryan Freund

Ryan Freund

20个赞,共339个帖子。

组: User

I am using a matrix for data input, which will go into a function. Is there a way to delete an entire row or column (not at the end of the matrix)?

Or maybe there is a better way to input data rather than using a matrix?
#2 已发布: 2014/11/20 15:51:49
Davide Carpi

Davide Carpi

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

组: Moderator

If I remember correctly there is some snippet about this task in the forum, even if I can't find it...

Anyway this should help (in the same way you can delete a column or add a row/column)


edit: another way Language-Integrated Query (Linq)
2014-11-20 19_49_13-SMath Studio Desktop - [rmRow.sm].png
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1位用户喜欢此帖子
#3 已发布: 2014/11/20 17:11:51
Вячеслав Мезенцев

Вячеслав Мезенцев

1,558个赞,共1,868个帖子。

组: Moderator

引用

edit: another way Language-Integrated Query (Linq)


rm.sm (10.84 KiB)已下载 1458 次。
Russia ☭ forever, Viacheslav N. Mezentsev
2位用户喜欢此帖子
sergio 2014/11/21 05:35:00, Davide Carpi 2014/11/21 09:40:00
#4 已发布: 2014/12/1 19:24:22
Ryan Freund

Ryan Freund

20个赞,共339个帖子。

组: User

Thanks to both of you for this.
Sorry for the delayed response.
  • 有新帖
  • 无新帖