hello guys, first post here, and the question is so simple but i'm still a beginner,
i'm having a heat transfer class and in it i saw a graph of Monochromatic Luminosity plotted as a function of heat and wavelength, i wanted to try and do it in MatLab myself, but i'm getting the matrix dimensions must agree error, that's where i could use some help, thank you in advance this is a capture of what I've done, </matlabcentral/answers/uploaded_files/97976/matlab.JPG>

 採用された回答

Star Strider
Star Strider 2017 年 12 月 9 日

0 投票

The problem is using ‘T’ as a subscript here:
L(T) = (cl'*ld.^-5)/exp(c2'/ld*T')-1);
Just do:
L = (cl'*ld.^-5)/exp(c2'/ld*T')-1);
I didn’t run your code because I didn’t feel like typing it in. It is always better to copy your code and paste it here, then highlight it and use the [{}Code] button to format it.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Heat and Mass Transfer についてさらに検索

タグ

質問済み:

2017 年 12 月 9 日

回答済み:

2017 年 12 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by