add matlab examples and code comparing results