Remove row or column from matrix

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

#1 Posted: 2014/11/20 14:50:13
Ryan Freund

Ryan Freund

20 likes in 339 posts.

Group: 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 Posted: 2014/11/20 15:51:49
Davide Carpi

Davide Carpi

1,435 likes in 2,913 posts.

Group: 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 users liked this post
#3 Posted: 2014/11/20 17:11:51
Вячеслав Мезенцев

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

1,532 likes in 1,838 posts.

Group: Moderator

Quote

edit: another way Language-Integrated Query (Linq)


rm.sm (10.84 KiB) downloaded 794 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
sergio 2014/11/21 05:35:00, Davide Carpi 2014/11/21 09:40:00
#4 Posted: 2014/12/1 19:24:22
Ryan Freund

Ryan Freund

20 likes in 339 posts.

Group: User

Thanks to both of you for this.
Sorry for the delayed response.
  • New Posts
  • No New Posts