why Tsun=5780 and numE=1000?

조회 수: 1 (최근 30일)
YaLin
YaLin 2023년 4월 7일
댓글: YaLin 2023년 4월 11일

답변 (1개)

Walter Roberson
Walter Roberson 2023년 4월 7일
Tsun is the approximate temperature of the Sun, which is said to have a surface temperature of 5772 K
I would need more context to guess what numE is here.
  댓글 수: 4
Walter Roberson
Walter Roberson 2023년 4월 9일
numE is the number of different E values to plot over. You can change it to any integer that gives you enough points for a plot that is smooth enough for your purposes.
For your case I suspect you should be changing to
E = linspace(0.1, 4, numE);
If you want to plot for multiple Tsun then use a for loop, such as
for Tsun = [5000 5500 5780 6000 7000 10000]
end
YaLin
YaLin 2023년 4월 11일
I still don't understand this code, can I add your contact information to ask? thank you very much

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 曲面图和网格图에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!