MATLAB Answers


Creating 1D array from frequency data/histogram?

Asked by Rose Lakatos on 15 Jun 2018 at 7:47

I’m trying to run an algorithm that requires a 1 dimensional data to work. My data is grey values from ct images describing the frequency of 8bit pixel values from 0-255. Is it possible to create an 1D array [0,1,2,3,4,5...255] with corresponding frequency of that pixel value?


Sign in to comment.


0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today