Where is the mistake ?

there is a mistake i could not understand
*i must draw a graph like that:
x=u=10 11 12 13 ... 100000
y=L(u)*
>> u=10:1:100000;
d=4225;
e=(1.917/(4*pi*(10.^-7)*u)+1.326*10.^7);
L=d/e;
plot(u,L);
??? Error using ==> mldivide
Matrix dimensions must agree.

Answers (1)

use ./ instead /:
u=10:1:100000;
d=4225;
e=1.917./(4*pi*(10.^-7)*u)+1.326*10.^7;

Categories

Find more on Linear Algebra in Help Center and File Exchange

Tags

Asked:

on 5 Dec 2013

Answered:

on 5 Dec 2013

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!