Clear Filters
Clear Filters

[varargout{1:nargout}] = matlab.sys​tem.intern​al.execute​Command(va​rargin{:})​; ERROR

2 views (last 30 days)
I have the following question
**In this part, you must synthesize a set of waveforms using different numbers of Fourier coefficients.
Use fplot to call the syn fourier synthesis function that generates xN(t) from a finite number
of terms. Do the cases for N = 2, N = 4 and N = 8.7 For each of these synthesized signals make
a plot showing the synthesized signal xN(t) and the desired x(t) on the same plot. Use a three-panel
subplot to show the three cases on one page.
Note: one advantage of using fplot is that it will generate a time grid that is dense enough to show
the details of the synthesized signal**
I have written the following code for it
for N=2
N=2;
ak=system(N);
k=N
t0=0.01;
fk=k/t0;
fplot('syn_fourier',[o,t0],200,[],[],'ak',fk)
end
but i am getting this error
[varargout{1:nargout}] = matlab.system.internal.executeCommand(varargin{:});
Error in Untitled3 (line 3)
ak=system(N);
Can someone please help me with this i am new to matlab

Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!