Hello, few notes:
- Please, insert the code as TEXT (in the proper 'code' format), not as an image, otherwise it is difficult to help you with modification of your own code
- Try to enlarge the figure in full-screen, and upload the image.
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!