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

2 Ansichten (letzte 30 Tage)
jaejun shin
jaejun shin am 9 Apr. 2018
Beantwortet: Arun Mathamkode am 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.

Antworten (1)

Arun Mathamkode
Arun Mathamkode am 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.

Kategorien

Mehr zu Environment and Clutter finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!