How to plot fourier sin series

조회 수: 1 (최근 30일)
deltanabla
deltanabla 2015년 1월 4일
댓글: Star Strider 2015년 1월 4일
Hi Folks,
I have a column of amplitudes d_n and frequencies Omega both from 1 to 664.
1) How to i create the series? I have attempted V_x=sum(d_n.*cos(Omega.*x)) (which generated all the sin terms with values of d_n and Omega, however I cannot repeat this now for some reason) but then when I attempted to plot, I got error message stating
"cannot convert from syms to double"
2) Then plot the series in sysmbolic mode?
Any information will be appreciated. Regards
  댓글 수: 1
Star Strider
Star Strider 2015년 1월 4일
deltanabla’s ‘Answer’ moved here:
For example if both the vector d_n and Omega have 2 numerical entries, what is the syntax to automatically write
A cos (b x)+ C cos(d x)
and then plot this...?
Thanks

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by