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.

回答 (1 件)

Andrei Bobrov
Andrei Bobrov 2013 年 12 月 5 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeLinear Algebra についてさらに検索

タグ

質問済み:

2013 年 12 月 5 日

回答済み:

2013 年 12 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by