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

3 views (last 30 days)
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.

Answers (1)

Arun Mathamkode
Arun Mathamkode on 20 Apr 2018

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.

Categories

Find more on Environment and Clutter in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!