Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Searching for a function.' topicStudent Support Forum > General > Archives > "Searching for a function."

Next Comment >Help | Reply To Topic
Author Comment/Response
Student Konrad
01/21/13 4:23pm

Hi,

i'm searching for a function in mathematica 8.0 that is the answer to my problem:

I want that mathematica counts the "movement" of the numbers.

For example (the real data contains more than 10000 numbers) :

How often is there a "growing" scenario and a "shrinking" scenario.

Numbers = {1,2,5,9,4,2,1,10,12,1]

1,2,5,9 <- up, 9,4,2,1 <- down, 1,10,12 <- up
12,1 <- down
So that there are 2 ups and 2 downs.

The function count doesn't solve the my problem. because i can't count for ups and downs.


I appreciate every little hint.

URL: ,

Subject (listing for 'Searching for a function.')
Author Date Posted
Searching for a function. Student Konrad 01/21/13 4:23pm
Re: Searching for a function. Bill Simpson 01/21/13 7:38pm
Re: Searching for a function. Bill Simpson 01/22/13 01:11am
Re: Searching for a function. yehuda 01/22/13 04:39am
Re: Searching for a function. Student Konrad 01/22/13 3:22pm
Next Comment >Help | Reply To Topic