Writing A Function To Plot Histrogram Without Imhist R Matlab

Writing A Function To Plot Histrogram Without Imhist R Matlab