For Programmers: Free Programming Magazines  


Home > Archive > Matlab > February 2008 > ESP test using randperm function









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author ESP test using randperm function
R F

2008-02-29, 8:36 am

Hi
i need matlab to do the following after performing the
randperm(10)>5 function:
- look at the first 4 of these numbers and count the number
of 1's and 0's
- then predict what whether the next will be a 1 or 0 and
keep doing so to the rest of the 6 numbers
- then count the number of 1's and 0's predicted.

any help will be appreciated!
thanks
Roger Stafford

2008-02-29, 7:34 pm

"R F" <ramdayal9@hotmail.com> wrote in message <fq91gi$l13
$1@fred.mathworks.com>...
> Hi
> i need matlab to do the following after performing the
> randperm(10)>5 function:
> - look at the first 4 of these numbers and count the number
> of 1's and 0's
> - then predict what whether the next will be a 1 or 0 and
> keep doing so to the rest of the 6 numbers
> - then count the number of 1's and 0's predicted.
>
> any help will be appreciated!
> thanks

-------
It is surely not necessary to resort to "ESP" to account for a generally better
than 50 percent ability to predict results. For example, when only one result
remains to be looked at, its value is absolutely determined.

Roger Stafford

Walter Roberson

2008-02-29, 7:34 pm

In article <fq9f3i$s19$1@fred.mathworks.com>,
Roger Stafford <ellieandrogerxyzzy@mindspring.com.invalid> wrote:
>"R F" <ramdayal9@hotmail.com> wrote in message <fq91gi$l13
>$1@fred.mathworks.com>...


[color=darkred]
> It is surely not necessary to resort to "ESP" to account for a generally better
>than 50 percent ability to predict results. For example, when only one result
>remains to be looked at, its value is absolutely determined.


The original poster is not resorting to ESP "to account for a generally
better than 50 percent ability to predict results.". If you examine
the stated requirements again, you may note that the program is
only required to count the *number* of 1's and 0's predicted,
not the fraction of 1's and 0's *correctly* predicted. ;-)
--
"Tired minds don't plan well. Sleep first, plan later."
-- Walter Reisch
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com