Postgres Sql Len Function Matlab