Hi, everytime I run the following programme no plot comes up - grateful for any idea? I eventually need to build a programme to fit the planck function to a black body, any tips gratefully recieved.
W =[0:1:3000];
t=6000;
f=((1.19104*10^(-16))/(W^5))*(exp(0.014387769/(W*t))-1);
plot(W,f)

1 件のコメント

Robbie Baillie
Robbie Baillie 2020 年 8 月 19 日
Thank you for reply - the plot comes up now - but does not have anything actually plotted - any ideas why?

サインインしてコメントする。

 採用された回答

KSSV
KSSV 2020 年 8 月 19 日

0 投票

W =[0:1:3000];
t=6000;
f=((1.19104*10^(-16))./(W.^5)).*(exp(0.014387769./(W*t))-1);
plot(W,f)

2 件のコメント

Robbie Baillie
Robbie Baillie 2020 年 8 月 19 日
Thank you for reply - the plot comes up now - but does not have anything actually plotted - any ideas why?
KSSV
KSSV 2020 年 8 月 19 日
Check the formula, check the values..

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2020 年 8 月 19 日

コメント済み:

2020 年 8 月 19 日

Community Treasure Hunt

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

Start Hunting!

Translated by