I Nearly constant 0 result from a trig function

  • Thread starter homerwho
  • Start date
35
17
Summary
I was fiddling with the amplitude and frequency to find an approximately flat sine function
Interpolating a straight line with a trigonometric function.

In Matlab I ended up with this expression. fplot(@(x)(.0000001*cos(x*2*pi)+10), [0 1])
Would any one like to discuss what this could be used in?
 

Attachments

berkeman

Mentor
55,700
5,785
Sorry, what is a "flat sine function"?
 
35
17
Sorry, what is a "flat sine function"?
the attached image is hard to read but on the interval 0..1 the function lies with in a very very small amplitude. "nearly flat"

[Edit] I tend to view equations as shapes. Sorry about the "flat" wording
 
Last edited:
35
17
A different plot showing sine vs cosine with a near zero amplitude and normalized 0..1. Could this be used to count from 0 to 1 fractionally?
 

Attachments

33,366
9,095
You just added a constant and a sine function with a small amplitude. Where is the point?
Could this be used to count from 0 to 1 fractionally?
I'm not sure what you mean by that.
 
35
17
I needed to plot a curve and needed to normalize 0..1. My question has been answered, Thank you. I was thinking of application to standing wave on a 0..1 (domain or range)
 
Last edited:

Want to reply to this thread?

"Nearly constant 0 result from a trig function" You must log in or register to reply here.

Related Threads for: Nearly constant 0 result from a trig function

Replies
4
Views
9K
Replies
3
Views
1K
Replies
4
Views
2K
Replies
6
Views
584
Replies
7
Views
1K
Replies
3
Views
15K
Replies
2
Views
1K
Replies
8
Views
12K

Physics Forums Values

We Value Quality
• Topics based on mainstream science
• Proper English grammar and spelling
We Value Civility
• Positive and compassionate attitudes
• Patience while debating
We Value Productivity
• Disciplined to remain on-topic
• Recognition of own weaknesses
• Solo and co-op problem solving

Hot Threads

Top