Rules | Recent posts | topic RSS | Search | Register  | Log in

how to get sine from cosine

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication
Author Message
ragabs



Joined: 28 Jun 2005
Posts: 99


Post16 May 2006 9:22   how to get sine from cosine

dear all

in a reciver of fm signal i have
rx=cos(wc+kf*∫m(t) dt).
i need to get
sin(wc+kf*∫m(t) dt)

can u suggest algorithm

thanx for help
Back to top
nathan80



Joined: 23 Feb 2006
Posts: 68
Helped: 5
Location: Malaysia


Post17 May 2006 4:45   Re: how to get sine from cosine

well, i am not sure whether it is correct but will like to suggest to you;

go back to basic trigonometric.

just subtract with 90degrees or equivalent in radian. cos can convert to sin
Back to top
Blilix



Joined: 28 Feb 2006
Posts: 30
Helped: 2


Post17 May 2006 5:02   Re: how to get sine from cosine

I think you should look at some communication textbook. There should be the algorithm about FM signal. As I remember, it should be a building block diagram called "delay". However, in trigonometry, you just add or subtract angle of 90 or pi/2 radian.
Back to top
sidra



Joined: 05 Apr 2006
Posts: 107
Helped: 12
Location: see in yr heart...found it?


Post17 May 2006 7:26   Re: how to get sine from cosine

well the basic theme of algorithm is certaily to add or subtract 90' from the present value of the angle...sidra_maheen84(at)yahoo.com
Back to top
ragabs



Joined: 28 Jun 2005
Posts: 99


Post17 May 2006 10:11   Re: how to get sine from cosine

ok
now the question is how to make a delay equalls pi/2 in digital domain?
Back to top
Sal



Joined: 29 Nov 2005
Posts: 288
Helped: 36


Post25 May 2006 20:29   how to get sine from cosine

Hi

I dont know why you need such a signal, analgously you just need a delay line and digitally just remember that the derivative of sin(x) = cos(x). then you just need to integrate your signal

cheers

Sal
Back to top
pakitos



Joined: 14 Nov 2005
Posts: 310
Helped: 38


Post26 May 2006 8:02   Re: how to get sine from cosine

you are using software or hardware?
if hardware use an integrator with no gain using opamps or even rc

if software you can do the same .

wich software you are using?
matlab ....
Back to top
Roshdy



Joined: 23 Nov 2005
Posts: 444
Helped: 7
Location: Egypt


Post27 May 2006 23:35   Re: how to get sine from cosine

I think it will be better it you explained mre details about the problem you need to do this for, it will be great if you explained the whole problem
Roshdy
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Digital communication
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap