I have no idea of this code,,,, please help me.

조회 수: 1 (최근 30일)
jaejun shin
jaejun shin 2018년 4월 9일
답변: Arun Mathamkode 2018년 4월 20일
project1b_fse.m % % Let us compute the Fourier coefficients and the Fourier series % expansions
if true
% code
endof 4 kinds periodic signals. ///
%
clc; close all; clear; %%
% (1)----------------------------------------------------------------
T = 2; fo = 1/T; Ns=1000;%%%
t = T/2*[-Ns:Ns]/Ns; N=10;
n =-N:N;
x = cos(2*pi*t/T);
X = cfc(x,t,n)
At last codes, i don't know what 'cfc(x,t,n)' this means.. I'm just guessing it is a fourier coeffiecient relative codes.

답변 (1개)

Arun Mathamkode
Arun Mathamkode 2018년 4월 20일

As far as I know, cfc is not a built-in MATLAB function. It may be a custom function and you can open function by entering edit cfc in the command window. By going through the code in the function you may get a better idea.

카테고리

Help CenterFile Exchange에서 Array Geometries and Analysis에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!