Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9722

Re: Extract coefficients of a trig polynomial

From Yi Wang <tririverwangyi@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Extract coefficients of a trig polynomial
Date 2012-04-20 11:54 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jmrip2$lhi$1@smc.vnet.net> (permalink)
References <jmoge7$46g$1@smc.vnet.net>

Show all headers | View raw


Hi, Sam,

The following may help. But it may be not as general as you want.

Coefficient[expr, #] & /@ {Cos[2 \[Theta]], Cos[4 \[Theta]], 
  Cos[6 \[Theta]]}

Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Extract coefficients of a trig polynomial Sam Takoy <sam.takoy@yahoo.com> - 2012-04-19 07:55 +0000
  Re: Extract coefficients of a trig polynomial danl@wolfram.com - 2012-04-20 11:49 +0000
  Re: Extract coefficients of a trig polynomial Ray Koopman <koopman@sfu.ca> - 2012-04-20 11:51 +0000
  Re: Extract coefficients of a trig polynomial Yi Wang <tririverwangyi@gmail.com> - 2012-04-20 11:54 +0000
  Re: Extract coefficients of a trig polynomial "Dr. Wolfgang Hintze" <weh@snafu.de> - 2012-04-21 04:30 +0000

csiph-web