HarmonicSeries.m

Space-Time series (1D, 2D, or 3D) as the sum of cosines.

이 제출물을 팔로우합니다

Syntax:

Z = harmonicseries(AMP, PER, PHA, LEN, DIR, T, X, Y);
Performs the sum of harmonics:

z(t,y,x) = sum [ a*cos(k*x + l*y - w*t + theta) ]

where:

a = AMP (amplitude)

k = K*cos(rdir) (x-component of wavenumber vector)

l = K*sin(rdir) (y-component of wavenumber vector)

K = sqrt(k^2+l^2) = (2*pi)./LEN (magnitude of wavenumber vector)

rdir = DIR*(pi/180) (direction of wavenumber vector in radians)

w = (2*pi)./PER (Temporal angular frequency)

theta = PHA*(pi/180) (Initial phase in radians)

This is useful when performing tests of Fourier Spectral Analysis, for example.

The program comes with the example on the screenshot.

인용 양식

Carlos Adrian Vargas Aguilera (2026). HarmonicSeries.m (https://kr.mathworks.com/matlabcentral/fileexchange/13420-harmonicseries-m), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Polar Plots에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0

Fixed inputs. Rewritten code.
BSD License