Postgres View Function In Matlab Example Problems