MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayNew to MATLAB?
MATLAB Central > MATLAB Newsreader > How to obtain the coefficient of a trigonometric ... 

Subject: How to obtain the coefficient of a trigonometric equations? From: Venkata Date: 18 Nov, 2011 18:20:11 Message: 1 of 10 
I have a polynomial equation like consider f(x) = x^6+5x^4+x^2, and x is 2cos(A/2). After substituting x in the equation, the equation can be solved theoritically in terms of a0+a1*cos(A)+a2*cos(2A)+a2*cos(3A)..... I need the values for a0,a1,a2 using the matlab..... Do we have any instruction to obtain coefficient in this case? Please let me know 
Subject: How to obtain the coefficient of a trigonometric equations? From: Matt J Date: 18 Nov, 2011 18:38:30 Message: 2 of 10 
"Venkata " <goutam_nalamati@yahoo.com> wrote in message <ja67kr$3op$1@newscl01ah.mathworks.com>... 
Subject: How to obtain the coefficient of a trigonometric equations? From: Nasser M. Abbasi Date: 18 Nov, 2011 19:07:46 Message: 3 of 10 
On 11/18/2011 12:20 PM, Venkata wrote: 
Subject: How to obtain the coefficient of a trigonometric equations? From: Roger Stafford Date: 18 Nov, 2011 19:55:30 Message: 4 of 10 
"Venkata " <goutam_nalamati@yahoo.com> wrote in message <ja67kr$3op$1@newscl01ah.mathworks.com>... 
Subject: How to obtain the coefficient of a trigonometric equations? From: Venkata Date: 18 Nov, 2011 20:16:14 Message: 5 of 10 
Thank you all for replying, My theoritcal sovle of that equation always does not end at cos3A, i may also get cos4A, cos5A.... i.e. the coefficents will be a0,a1,a2,a3,a4,a5.... So I need a generalized solution. 
Subject: How to obtain the coefficient of a trigonometric equations? From: Venkata Date: 18 Nov, 2011 20:19:29 Message: 6 of 10 
This is code that i simulated 
Subject: How to obtain the coefficient of a trigonometric equations? From: Roger Stafford Date: 18 Nov, 2011 20:23:29 Message: 7 of 10 
"Roger Stafford" wrote in message <ja6d7i$o0o$1@newscl01ah.mathworks.com>... 
Subject: How to obtain the coefficient of a trigonometric equations? From: Roger Stafford Date: 18 Nov, 2011 20:36:25 Message: 8 of 10 
"Venkata " <goutam_nalamati@yahoo.com> wrote in message <ja6eee$s3u$1@newscl01ah.mathworks.com>... 
Subject: How to obtain the coefficient of a trigonometric equations? From: Roger Stafford Date: 18 Nov, 2011 21:29:27 Message: 9 of 10 
A tantalizing hint: If you follow the procedure I suggested, the value you get for a2 will be 22 with your polynomial f(x) = x^6+5x^4+x^2. I'll leave it to you to find the other three. 
Subject: How to obtain the coefficient of a trigonometric equations? From: Christopher Creutzig Date: 22 Nov, 2011 10:15:13 Message: 10 of 10 
On 18.11.11 19:20, Venkata wrote: 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.