How do I call on each point in a triplet individually, so that I can perform a calculation on each triplet set?
2 views (last 30 days)
Show older comments
Steve on 10 Sep 2019
Commented: the cyclist on 17 Sep 2019
The other day, Matt J offered a great solution to my first problem, which was: "What is the best way to store groups of 3 nearest non-zero pixels?"
I would like to build on his answer to now perform a calculation on each triplet set (see attached file), but I need to call on each point of the triplet set within an equation. After that, I'll need to iterate in a loop to perform the same calculation on every triplet set. What is the best way to do this?
Find more on Operating on Diagonal Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!