MATLAB Answers

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

2 views (last 30 days)
jaejun shin
jaejun shin on 9 Apr 2018
Answered: Arun Mathamkode on 20 Apr 2018
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.

  0 Comments

Sign in to comment.

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.

  0 Comments

Sign in to comment.

Tags