How can I find the complex fourier series and plot the the fourier series of piecewise function ?
조회 수: 13 (최근 30일)
이전 댓글 표시
Hello guys,
I read the rules about asFking about home work help so I will not show my full code
so this is my tesk:
we have this signal X(T) with a period of T= 4
and the first think I was nedded to do is to plot it betwwen [-10 10]
so i used syms t and hendele function and with a for loop i created this :
fff
and now i stuck becuse i need to make complex fourier series on this and this is really hard becouse it is not simple function
can you please help ?
I need to write a function that will find ck with the foemula above and proof nomericly what I calculeted and also plot the series on matlab for N=10 and stuff like this but i stil dont know how to do this :(
댓글 수: 0
답변 (1개)
Kartik Saxena
2023년 11월 21일
Hi,
I understand that you need to find and plot the Fourier series of a piecewise function.
Your issue is somewhat, if not entirely, similar to the issue resolved in the following MATLAB Answer:
You can refer to its answer to understand how we can calculate and plot Fourier series of a piecewise function.
I hope this resolves your issue.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!