MATLAB: How to normalize a plot MATLABnormalizationplot Hi, can anybody help me to understand how to normalize a spectrum ? I have a spectra and I want to obtain its area equal to 1. Thanks in advance. Best Answer If you want the area to be 1.0, create the sum over the spectrum and divide the values by the result.spectrum = rand(1, 100); % Example datanormalized = spectrum / sum(spectrum); Related SolutionsMATLAB: Normalizing data Dear John,Lets say you have matrix D and you want to normalize each value of Column to unit length (between 0-1). One possible way is :D = bsxfun(@rdivide,D,sum(D));each column will be unit normalized. If you take the sum of each column it will be one.sum(D)Do let me know if I understand you correct. MATLAB: How to convert time domain data to frequency domain by using FFT. fft(amplitude) already gives you the frequency domain information. Related QuestionNormalized CorrelationHow do i convert time domain signal to frequency domain signalImnoise normalization
Best Answer