I have to write some simple examples in Matlab which use spectral subtraction. These examples will be included in a paper to help a friend understand spectral subtraction. But I don't know where to start with spectral subtraction ? Please, explain the technique and maybe give me some tips for what can I do with this method in Matlab. Some snippets of code would be very useful for me as I am not an expert in Matlab.
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.