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

2 ビュー (過去 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 Center および File ExchangeEnvironment and Clutter についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!