MATLAB Answers

How do I call on each point in a triplet individually, so that I can perform a calculation on each triplet set?

1 view (last 30 days)
Steve
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?
  5 Comments

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!