Maker Pro
Maker Pro

plotting a curve

kds

May 23, 2010
6
Joined
May 23, 2010
Messages
6
I have 15 samples and now I have to optimise these two things while plotting a curve
1. The curve should pass through as many as points possible
2. It should be as near as to a sine curve (the frequency is already given)
Pls help.
 

(*steve*)

¡sǝpodᴉʇuɐ ǝɥʇ ɹɐǝɥd
Moderator
Jan 21, 2010
25,510
Joined
Jan 21, 2010
Messages
25,510
Why would you want to pass through as many points as possible? Surely you would want to do something like a fourier transform?

Incidentally, that will tell you how close it is to a sine wave, an how close it is to that frequency.

But it sure sounds like homework.
 

NickS

Apr 6, 2010
367
Joined
Apr 6, 2010
Messages
367
If it is homework than perhaps you have access to Matlab?

If so you should go spend some time with the Curve Fitting toolbox(it perfect for this sort of thing).
 
Top