Hey, mishal,
This is the simple solution to your problem:
x = -20:0.01:20;
y = x.^2 + 2*x + 3;
plot(x,y);
You can copy and paste this into your Matlab Command Prompt. If you need more information, feel free to ask me.
By the way, you can search Matlab Help, that's very good source for self...