[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Hi sci! I'm a musician and i need a little help. I need

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 23
Thread images: 3

File: 2000px-Arctangent.svg.png (45KB, 2000x999px) Image search: [Google]
2000px-Arctangent.svg.png
45KB, 2000x999px
Hi sci!
I'm a musician and i need a little help.
I need some functions of a real variable in R like tan^-1.
I need C0 class functions, I don't need an odd one, but it should have:
f(0) = 0
f(x) < 0 ∀ x
lim x-> +inf f(x) = 1

A nice feature could be:
f'(0) = 1

Thanks you so much!
>>
>>8025000
>f(0) = 0
>f(x) < 0 ∀ x

Uh.
>>
>>8025000
>f(x) < 0 ∀ x
That's not how you use quantifiers (I know what you're trying to say, but that's not proper syntax).
>>
>>8025000
>f(x) < 0 ∀ x
>lim x-> +inf f(x) = 1
What.

Also,
>f(0) = 0
>f(x) < 0 ∀ x
>f'(0) = 1

And >>>/sqt/
>>
>>8025024
>>8025000

I'm so sorry, I meant f(x) < 1 ∀ x
But thinking it again, I just need a horizontal asymptote and f(x) < lim x-> +inf f(x)
I can normalize my result later
>>
Try f(x) = a*arctan(b*x) for some appropriate constants a and b.
>>
>>8025036
That's much easier. How about 1-e^(-(x^2)?
Upside down bell curve! Best function.
>>
>>8025036
tanh(x)
>>
f(x) = x / (abs(x) + c) should do the job for all positive c.
>>
>>8025030
>bitches about syntax
>doesn't provide anything helpful about proper syntax
Kill yourself

So you know, OP, most people put their quantifies in front of their conditional statements and you should probably include a set. So say something more like "for all x in R, f(x)<1" instead of "f(x)<1 all x"
>>
>>8025000
tanh(x) is exactly what you need
>>
>>8025050
>>8025044
>>8025041
>>8025038

This is the result, just a first try...
You can see the waveform of the original sine,atan, tanh, x / (abs(x) and 1-e^(-(x^2).
tanh is nice, but the Upside down bell curve is interesting. =)

Ty m8! XD
>>
File: ws.png (64KB, 1284x644px) Image search: [Google]
ws.png
64KB, 1284x644px
>>8025184
>>
File: wave.jpg (29KB, 963x132px) Image search: [Google]
wave.jpg
29KB, 963x132px
>>8025220
Making sound with help of math and programming?
I have the same hobby :D
Pic related, program I'm writing from scratch.
>>
I'm more a musician than a programmer, I work with max/msp to make audio and video. This sketch is made for try with a simple compressor/waveshaper. The arctan give nice results for it's simplicity!
>>
>>8025000
fourier series
>>
It's not really a class of functions, but it sounds like you're interested in sigmoid functions OP. This is a bunch of functions that are generally S-shaped (like 1/tan x) and they're used a lot in machine learning and statistical stuff in general. There's a good list on wikipedia: https://en.wikipedia.org/wiki/Sigmoid_function
>>
>>8025000
> f(0) = 0
> f(x) < 0 for any x

You mean for any x except x = 0?
>>
>>8025000
Can it be piecewise? Does it need to be continuous and differentiable at x = 0? You could do something like the following:

f(x) = {1 - 1/x, x > 1; 0, -1 < x < 1, 1 + 1/x, x < -1}.
>>
>>8026006

Yep! I really like sigmoid curves!!! Thanks!!!
>>
>>8026059
Whoops. fucked that one up. I meant the following:

f(x) = {1 - 1/x, x > 1; -(x^3) + x, -1 < x < 1, 1 + 1/x, x < -1}.

This way, you have f'(0) = 1, f(0) = 0, and f(x) < 1 for all real values of x. Finally, lim x -> +infinity of f(x) = 1. This is continuous (f(1) = 0 and f(-1) = 0) for all real values of x, but not differentiable for +/- 1.
>>
>>8025233
Just use a synth and its ADSR desu, it's easier.
>>
>>8026006

>>8026006
The erf function looks pretty good, especially because i can use it as a class of functions and change the graph in real time.

My problem is that it's a integral function! I know that i only need to find out a primitive of the integral part and and take the difference between F(0) and F(x), but the point is that I don't know hot to integrate that! I just have a high scool education in math, sorry.

I have tried with https://www.wolframalpha.com/input/?i=integral+e%5E(-x%5E2) but is not useful to me.
Thread posts: 23
Thread images: 3


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.