Remove row or column from matrix

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

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

Ryan Freund

19 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: 11/20/2014 3:51:49 PM
Davide Carpi

Davide Carpi

1416 likes in 2873 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
Вячеслав Мезенцев 11/20/2014 5:11:00 PM
#3 Posted: 11/20/2014 5:11:51 PM
Вячеслав Мезенцев

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

1402 likes in 1708 posts.

Group: Moderator

Quote

edit: another way Language-Integrated Query (Linq)


rm.sm (10 KiB) downloaded 122 time(s).
Russia ☭ forever, Viacheslav N. Mezentsev
2 users liked this post
sergio 11/21/2014 5:35:00 AM, Davide Carpi 11/21/2014 9:40:00 AM
#4 Posted: 12/1/2014 7:24:22 PM
Ryan Freund

Ryan Freund

19 likes in 339 posts.

Group: User

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