Plot in matlab

Hi and welcome.
Linking related thread with several solutions.