Where is the mistake ?

1 次查看(过去 30 天)
murat
murat 2013-12-5
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.

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Directed Graphs 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by