My code seems to be having a problem with plotting. I've even tried using linspace to 'fix' xx and Vz1 but that didn't seem to work. Any suggestions would be much appreciated
Error message:
Error using plot
Vectors must be the same length.
Error in Example2 (line 244)
plot(xx,Vz1,'b-','LineWidth',2);
Lines of code to fix:
Defining xx:
x1 = linspace(xa,xb,nn)';
x2 = linspace(xb,xc,nn)';
Defining Vz1:
0 件のコメント
サインインしてコメントする。