ans =
Please stop posting your homework questions with no effort made. Future questions like this will be closed as soon as I see them, if you cannot make an effort. Homework is yours to do.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!