I am new to MATLAB and would like to normalize a vector of data so that the area of all the bars is equal to 1? I put a question mark because I am still trying to learn what normalization really is. Can someone guide me in understanding?
Say my vector is:
v = [1 2 3 4 1 2 3 4];
I know that I need to put this into a histogram, then sum the number of data points within each bin and divide by the bin size (width), but I'm not really sure how to go about doing this and what my next step would be. Thanks.
Also i did ask a similar question yesterday, but didn't know enough to ask it efficiently, so here I am again.