Unfortunate that the LaTeX didn't render for you. Here's an image of how it looks for me:yess, i am trying to plot a periodic extension of y=x^2.
sir, is this my server that cant read your text or this is exactly how it is?
i am sorry, but what does "truncated Fourier series" means?
i am new with fourier series and matlab.
Hi there
MATLAB has a command called repmat (REPeat MATrix) precisely to do what you are asking for
try this
% base signal
dx=pi/100;
x1=[-pi:dx: pi];
y1=x1.^2;
% train
T=10; % amount times to repeat
x=repmat(x1,1,T) % reference signal
y=repmat(x1,1,T) % train
now you can plot
plot(x,y)
does it help?
John BG
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
E | Need really for help LTI Fourier series | Homework Help | 0 | |
S | Fourier Series help please | Homework Help | 21 | |
X | Fourier series - Plot in Matlab | Homework Help | 0 | |
G | Fourier Series, complex number draw in Matlab | Homework Help | 4 | |
A | fourier series matlab | Programming & Languages | 3 |
by Steve Arar
by Jake Hertz
by Luke James