Reverse power matlab