Tests and experiments with matlab