How to take the absolute value for 2D spectrum?
Show older comments
I have 2D spectrum with positive(blue) and negative(red) signals, I want to make all signals positive and to save the received spectra.
How to make it? (thank you in advance)

Accepted Answer
More Answers (1)
Matt J
on 21 Apr 2022
spectra=abs(spectra)
1 Comment
Ilya Grishanovich
on 21 Apr 2022
Edited: Ilya Grishanovich
on 21 Apr 2022
Categories
Find more on Spectral Measurements in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
