if true% code
endclearclclg=0.0005;ls=0.0005;i=2.3;N=1300;g=0.002;g1=linspace(0.002,0.0001,0.0225);h=0.5;r=0.2;nuo=4*pi*10e-7;B=nuo*N*i/(g1+r*g/(2*h));
Hi i have this code and i got the error 'Matrix dimensions must agree.' I am making a noobly mistake for sure but i am a beginner. How can i fix that? After doing the calculations i need to plot(B,g1). Thank you for your help.
Best Answer