MATLAB: How to invert a sample

doit4meidon'treaddocumentationtag

I'm doing a project related to DSP. I have a doubt regarding sampling. My project is about inverting the samples of an audio signal. My doubt is how to invert samples by using MATLAB. For example if we take 16 samples the 0th sample should be 15th and the 15th sample should be 0th one. Can you please help me implement this in MATLAB.

Best Answer

doc fliplr
doc flipud