|
-
Sep 3rd, 2006, 04:36 AM
#1
Thread Starter
Fanatic Member
-
Sep 3rd, 2006, 05:38 AM
#2
Re: degrade towards zero
Basicaly you are having sign problems, t can be positive or negative but d is always positive?
If you make d the same sign as t then..... (-10) - (-4) = (-6)
I don't live here any more.
-
Sep 3rd, 2006, 06:35 AM
#3
Thread Starter
Fanatic Member
Re: degrade towards zero
 Originally Posted by wossname
Basicaly you are having sign problems, t can be positive or negative but d is always positive?
If you make d the same sign as t then..... (-10) - (-4) = (-6)
In the main yes.
However I would like to create a formula where
10 function 11 is 0
-9 function -22 is 0
10 function 9 is 1
-10 function 9 is -1
etc. etc.
I'm prity sure the answer should involve x*-1 but it's been a very long time since I did all that larking about... what I'm hoping is that the formula can be constructed such that t and d coiuld be anything but T (the result) never crosses 0.
It doesn't even need to be linier such that the larger the value of t the faster towards 0 it travels (so that back in the real worl the more extream a view is the more it takes to sustain that view). So that larger numbers are naturalised back towards x = 0.
I guess I'm trying to create a deviation towards the mean with a mean of 0. I just realy don't want to use the IF function on a mathmatical problem.
sqrt(t^2)-d would do part of it...
Even if I give in and describe a series of if statments or other logic I still must address the issue for somefunction of T against d with repect to ?
any ideas there.
I've set it in my mind like this
Source = (A, B, C)
Subject = (E, F, G)
T (A(1), B(10), C(-1))
I now take the t for E from A who got it from B who got it from C
I now take the t for F from A who got it from B
I now take the t for G from C who got it from B who got it from A
now rather than just asses the d (3,2,3) and drive the value of t towards zero by this factor I wish to also adjust this by some reasonable function of my T for these sources in the first case it should be something like
T(C)/3 + T(B)/2 + T(A)/1 = D
So I guess I have something like
sum(T(n)/d) = D
which then has to be if-then-elsed which seems a shame.
would a percentage reduction function be a reasonable action here?
-
Sep 3rd, 2006, 07:01 AM
#4
Thread Starter
Fanatic Member
Re: degrade towards zero
Which leaves me with this rather unified theory
Code:
D = SUM( T(n) / d )
T = (t - D) -> 0
where D > t :: t = 0
where t < -1 :: t = t + D
else t = t - D
-
Dec 8th, 2007, 10:10 AM
#5
Thread Starter
Fanatic Member
-
Dec 8th, 2007, 10:18 AM
#6
Re: degrade towards zero
Why don't you just multiply t by 1/d ?
If the abs of the resulting value drops below 1 (such as 10 * (1/11)) then you set your result to 0.
zaza
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|