deleting some of the arrays in a matrix based on a principle
Afficher commentaires plus anciens
Hello
I have a matrix of numbers for example: [10; 20; 30; 40; 50; 60; 70; 80; 90;...;160] which are assigned to a mesh in order, the same as the figure below(element size=10). I want to delete the numbers: 40, 80, 120, 160 based on a line which intersects this mesh and only retain [10;20;30;50;60;70;90;100;110;130;140;150] to be my output. How can I code this? Any suggestion is highly appreciated.
Best Regards
Pooneh

3 commentaires
Matt J
le 28 Fév 2022
What is the relationship to the line which determines which values get deleted?
Pooneh Shah Malekpoor
le 28 Fév 2022
Pooneh Shah Malekpoor
le 28 Fév 2022
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Resizing and Reshaping Matrices dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
