Your problem is the initialization of E you did:
E=10e-19:0.1:20e-19;
your interval is 17 orders of magnitude higher than the values, so you get a scalar instead of a vector
you should use an interval of the same order of magnitude or less
E=10e-19:0.1e-19:20e-19;