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 个评论

Thank you for reply - the plot comes up now - but does not have anything actually plotted - any ideas why?

请先登录,再进行评论。

 采纳的回答

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

2 个评论

Thank you for reply - the plot comes up now - but does not have anything actually plotted - any ideas why?
Check the formula, check the values..

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by