Speed up the minimum search in a third order tensor

5 views (last 30 days)
Hi
I need to find the absolute minimum inside a thermographic set of data (let's call it hyper_cube) which is a third order tensor, with the structure
  1. dimension one = pixel
  2. dimension two = pixel
  3. dimenstion three = time (time steps)
to be exact the tensor has the sizes of (512,640,3000) and it is loaded from an external mat file which is 1.4 GByte big.
I need to retrieve the absolute minimum but using the "traditional":
abs_min = min(min(hyper_cube(:)));
search takes up to 1 minutes and 30 seconds. I was wondering if there is a way to speed up this search.
  • I am working with MATLAB 2015 and 2018 and I am dealing with retrocompatibily since 2014
  • the computer I am working with is a DELL Latitude 5480. Not the fastest tool ever I am aware
Greetings
Luca

Answers (0)

Categories

Find more on Programming 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!