푸리에 모델 피팅에서 "."이 갖는 의미가 무엇인가요?

3 vues (au cours des 30 derniers jours)
재열 김
재열 김 le 26 Mai 2021
위의 예시를 보던 중에 궁금증이 생겼습니다.
load enso;
f = fit(month,pressure,'fourier2')
plot(f,month,pressure)
w = f.w ...
이 예시에서 "f.w" 의 의미를 이해하기 어렵습니다.
"."이 갖는 의미가 무엇인가요?

Réponses (1)

Angelo Yeo
Angelo Yeo le 6 Nov 2024
load enso
plot(month, pressure)
[f2,gof2] = fit(month,pressure,"fourier2")
f2 =
General model Fourier2: f2(x) = a0 + a1*cos(x*w) + b1*sin(x*w) + a2*cos(2*x*w) + b2*sin(2*x*w) Coefficients (with 95% confidence bounds): a0 = 10.63 (10.23, 11.03) a1 = 2.923 (2.27, 3.576) b1 = 1.059 (0.01593, 2.101) a2 = -0.5052 (-1.086, 0.07532) b2 = 0.2187 (-0.4202, 0.8576) w = 0.5258 (0.5222, 0.5294)
gof2 = struct with fields:
sse: 1.1230e+03 rsquare: 0.4279 dfe: 162 adjrsquare: 0.4103 rmse: 2.6329
f2 안에 있는 w라는 값에 접근하기 위해 "." 이라는 명령어를 쓰는 것입니다.
f2.w
ans = 0.5258

Catégories

En savoir plus sur 보간 dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!