MATLAB: Error: Inner Matrix Dimension Must Agree

inner matrix dimension must agreeMATLAB and Simulink Student Suite

clc
clear all
Vd = 0:0.1:0.7
P = ((0.6*Vd)-((Vd*1.5*10^-12)*(exp(38.64*Vd)-1)))
plot(Vd,P)
when i run this code itgives me error : Inner Matrix Dimension Must Agree ?
What changes should i do to get my code correct ?

Best Answer

Vd = 0:0.1:0.7;
P = ((0.6*Vd)-((Vd*1.5*10^-12).*(exp(38.64*Vd)-1)));%just need a dot (.*)
plot(Vd,P)