ptb db processing in matlab