调戏matlab(转载)

xudong

2009-04-28 21:17:46 来自: xudong

>> 1+1
ans =
2
>> why
Pete wanted it that way.
>> why
I told me to.
>> why
A young kid told me to.
>> why
Bill insisted on it.
>> why
For the love of Jack.
>> why
The computer did it.
>> why
Some not very bald very rich system manager wanted it.
>> why
You told the rich system manager.
>> why
Some not excessively rich young and smart hamster obeyed some rich and not very good and good and bald kid.
>> why
Cleve suggested it.
>> why
To fool the smart and smart programmer.
>> why
Some young hamster told me to.
>> why
The young programmer insisted on it.
>> why
A smart programmer suggested it.
>> why
Some smart kid suggested it.
>> why
The engineer told me to.
>> why
I helped all.
>> why
Cleve wanted it.
>> why
Why not?
>> why
To fool some smart and young mathematician.
>> why
A smart and very bald and very terrified bald mathematician obeyed a programmer.
>> why
You helped some mathematician.
>> why
A good engineer wanted it.
>> why
Jack told me to.
>> why
A bald system manager told me to.
>> why
He told me to.
>> why
Bill obeyed a bald engineer.
>> why
I knew it was a good idea.
>> why
A good and smart and not very rich and rich and young and not very young and bald and not excessively rich and tall and tall and not excessively tall and smart and rich and smart and not excessively terrified and rich and good and not very bald and not very terrified very smart not very rich system manager told me to.
>> why
The bald and tall and young and good and smart and terrified and not very tall and young and bald and not very good and good and rich and not very bald and bald system manager told me to.
>> why
Bill suggested it.
>> why
Pete told me to.
>> why
Some young smart tall system manager insisted on it.
>> why
The not very good and terrified and young and smart and smart and young and not excessively good rich hamster suggested it.
>> why
A smart programmer told me to.
>> why
The customer is always right.
>> why
You insisted on it.
>> why
A system manager obeyed the not very tall mathematician.
>> why
Pete obeyed a engineer.
>> why
They threatened a programmer.
>> why
Joe obeyed a tall mathematician.
>> why
Because the terrified and terrified and rich and rich and smart and very young and good and tall and bald and rich and bald and bald and rich and not very good and very terrified and very tall hamster wanted it.
>> why
A bald mathematician told me to.
>> why
The not very good and smart programmer told me to.
>> why
A mathematician wanted it that way.
>> why
In the beginning, God created the heavens and the earth...
>> why
It should be obvious.
>> why
Because they obeyed a smart mathematician.
>> why
Some good good engineer obeyed the programmer.
>> why
For the approval of a young mathematician.
>> why
The rich programmer wanted it that way.
>> why
A hamster obeyed a smart tall hamster.
>> why
Cleve obeyed the young programmer.
>> why
Because she told me to.
>> why
Pete insisted on it.
>> why
A terrified system manager helped a not very smart not excessively young and bald and smart and good and tall and good and not very rich and tall and smart and terrified and good and not excessively young and smart and terrified and bald and not excessively terrified and not excessively smart and smart and tall and tall and smart and bald and very rich and bald and young and not very smart and bald programmer.
>> why
They obeyed a kid.
>> why
Damian knew it was a good idea.
>> why
Loren told me to.
>> why
The not excessively smart hamster suggested it.
>> why
Bill helped a tall mathematician.
>> why
A bald engineer knew it was a good idea.
>> why
You insisted on it.
>> why
For the approval of a terrified tall mathematician.
>> why
Because Pete asked some rich kid.
>> why
A good and terrified tall programmer wanted it that way.
>> why
Because the bald programmer threatened the terrified kid.
>> why
For the love of the very rich mathematician.
>> why
For the love of Jack.
>> why
He threatened a good hamster.
>> why
He threatened the tall system manager.
>> why
Some programmer threatened some hamster.
>> why
A programmer obeyed some not excessively rich hamster.
>> why
Some rich and good system manager obeyed the good programmer.
>> why
To fool the mathematician.
>> why
A hamster knew it was a good idea.
>> why
A not very tall very young mathematician wanted it that way.
>> why
For the love from him.
>> why
She obeyed a terrified engineer.
>> why
Don't ask!
>> why
Jack obeyed the very smart young not very terrified and tall system manager.
>> why
To satisfy the smart and terrified hamster.
>> why
Some bald system manager suggested it.
>> why
I wanted it.
>> why
For the approval of the rich and tall system manager.
>> why
Because a good and smart engineer helped her.
>> why
Jack obeyed a very tall system manager.
>> why
He wanted it that way.
>> why
The smart mathematician told me to.
>> why
Some good terrified very young terrified and rich kid knew it was a good idea.
>> why
The very smart engineer told me to.
>> why
Cleve knew it was a good idea.
>> why
I wanted it that way.
>> why
For the approval of a terrified not very tall and very tall and tall and not very smart and smart system manager.
>> why
For the approval of a young and rich and terrified system manager.
>> why
Some rich and not very terrified and terrified engineer obeyed some engineer.
>> why
Cleve helped a not excessively bald hamster.
>> why
Loren obeyed a engineer.
>> why
To please the not very young kid.
>> why
The very good system manager asked some programmer.
>> why
I obeyed the kid.
>> why
A very good and good and tall and terrified and rich programmer knew it was a good idea.
>> why
A programmer insisted on it.
>> why
Pete threatened a good programmer.
>> why
A engineer obeyed the rich bald mathematician.
>> why
Because some engineer wanted it that way.
>> why
A very rich bald hamster insisted on it.
>> why
They wanted it.
>> why
Jack suggested it.
>> why
I suggested it.
>> why
Some bald rich programmer insisted on it.
>> why
Because a kid insisted on it.
>> why
Because some smart smart system manager obeyed me.
>> why
Bill told me to.
>> why
Some bald hamster suggested it.
>> why
A good not excessively terrified hamster obeyed a mathematician.
>> why
Cleve obeyed some bald system manager.
>> why
Some bald programmer wanted it.
>> why
A terrified system manager insisted on it.
>> why
To satisfy the system manager.

4人喜欢
  • zeta

    2009-04-28 23:07:19 zeta

    有意思。。

  • 砚

    2009-05-01 06:35:59

    这些人就喜欢开个小后门玩这些隐蔽的东西。

  • Tabris

    2009-05-01 09:23:30 Tabris (已无影踪)

    居然有这个!!

  • hoxide

    2009-05-01 10:15:07 hoxide

    直接打why就可以了

  • xudong

    2009-05-01 12:25:02 xudong

    function why(n)
    %WHY Provides succinct answers to almost any question.
    % WHY, by itself, provides a random answer.
    % WHY(N) provides the N-th answer.
    % Please embellish or modify this function to suit your own tastes.

    % Copyright 1984-2002 The MathWorks, Inc.
    % $Revision: 5.15 $ $Date: 2002/06/17 13:20:59 $

    if nargin > 0, rand('state',n); end
    switch fix(10*rand)
    case 0, a = special_case;
    case {1 2 3}, a = phrase;
    otherwise, a = sentence;
    end
    a(1) = upper(a(1));
    disp(a);


    %------------------

    function a = special_case
    switch fix(12*rand)
    case 0, a = 'why not?';
    case 1, a = 'don''t ask!';
    case 2, a = 'it''s your karma.';
    case 3, a = 'stupid question!';
    case 4, a = 'how should I know?';
    case 5, a = 'can you rephrase that?';
    case 6, a = 'it should be obvious.';
    case 7, a = 'the devil made me do it.';
    case 8, a = 'the computer did it.';
    case 9, a = 'the customer is always right.';
    case 10, a = 'in the beginning, God created the heavens and the earth...';
    otherwise,a = 'don''t you have something better to do?';
    end

    function a = phrase
    switch fix(3*rand)
    case 0, a = ['for the ' nouned_verb ' ' prepositional_phrase '.'];
    case 1, a = ['to ' present_verb ' ' object '.'];
    otherwise, a = ['because ' sentence];
    end

    function a = preposition
    switch fix(2*rand)
    case 0, a = 'of';
    otherwise, a = 'from';
    end

    function a = prepositional_phrase
    switch fix(3*rand)
    case 0, a = [preposition ' ' article ' ' noun_phrase];
    case 1, a = [preposition ' ' proper_noun];
    otherwise, a = [preposition ' ' accusative_pronoun];
    end

    function a = sentence
    switch fix(0)
    case 0, a = [subject ' ' predicate '.'];
    end

    function a = subject
    switch fix(4*rand)
    case 0, a = proper_noun;
    case 1, a = nominative_pronoun;
    otherwise, a = [article ' ' noun_phrase];
    end

    function a = proper_noun
    switch fix(8*rand)
    case 0, a = 'Cleve';
    case 1, a = 'Jack';
    case 2, a = 'Bill';
    case 3, a = 'Joe';
    case 4, a = 'Pete';
    case 5, a = 'Loren';
    case 6, a = 'Damian';
    case 7, a = 'Barney';
    end

    function a = noun_phrase
    switch fix(4*rand)
    case 0, a = noun;
    case 1, a = [adjective_phrase ' ' noun_phrase];
    otherwise, a = [adjective_phrase ' ' noun];
    end

    function a = noun
    switch fix(6*rand)
    case 0, a = 'mathematician';
    case 1, a = 'programmer';
    case 2, a = 'system manager';
    case 3, a = 'engineer';
    case 4, a = 'hamster';
    case 5, a = 'kid';
    end

    function a = nominative_pronoun
    switch fix(5*rand)
    case 0, a = 'I';
    case 1, a = 'you';
    case 2, a = 'he';
    case 3, a = 'she';
    case 4, a = 'they';
    end

    function a = accusative_pronoun
    switch fix(4*rand)
    case 0, a = 'me';
    case 1, a = 'all';
    case 2, a = 'her';
    case 3, a = 'him';
    end

    function a = nouned_verb
    switch fix(2*rand)
    case 0, a = 'love';
    case 1, a = 'approval';
    end

    function a = adjective_phrase
    switch fix(6*rand)
    case {0 1 2},a = adjective;
    case {3 4}, a = [adjective_phrase ' and ' adjective_phrase];
    otherwise, a = [adverb ' ' adjective];
    end

    function a = adverb
    switch fix(3*rand)
    case 0, a = 'very';
    case 1, a = 'not very';
    otherwise, a = 'not excessively';
    end

    function a = adjective
    switch fix(7*rand)
    case 0, a = 'tall';
    case 1, a = 'bald';
    case 2, a = 'young';
    case 3, a = 'smart';
    case 4, a = 'rich';
    case 5, a = 'terrified';
    otherwise, a = 'good';
    end

    function a = article
    switch fix(3*rand)
    case 0, a = 'the';
    case 1, a = 'some';
    otherwise, a = 'a';
    end

    function a = predicate
    switch fix(3*rand)
    case 0, a = [transitive_verb ' ' object];
    otherwise, a = intransitive_verb;
    end

    function a = present_verb
    switch fix(3*rand)
    case 0, a = 'fool';
    case 1, a = 'please';
    otherwise, a = 'satisfy';
    end

    function a = transitive_verb
    switch fix(10*rand)
    case 0, a = 'threatened';
    case 1, a = 'told';
    case 2, a = 'asked';
    case 3, a = 'helped';
    otherwise, a = 'obeyed';
    end

    function a = intransitive_verb
    switch fix(6*rand)
    case 0, a = 'insisted on it';
    case 1, a = 'suggested it';
    case 2, a = 'told me to';
    case 3, a = 'wanted it';
    case 4, a = 'knew it was a good idea';
    otherwise, a = 'wanted it that way';
    end

    function a = object
    switch fix(10*rand)
    case 0, a = accusative_pronoun;
    otherwise, a = [article ' ' noun_phrase];
    end

  • 小寒山燕

    2009-05-01 15:10:04 小寒山燕 (千古功过唯一笑,终身未许狂到老)

    真的诶~

  • 佳期

    2009-05-01 15:18:05 佳期

    刚想TX下
    却发现已经卸了


这个小组的成员也喜欢去  · · · · · ·

纯数学
纯数学 (5076)
Firefox
Firefox (20103)
Google Reader
Google Reader (6585)
爱google,爱wave
爱google,爱wave (3719)
WordPress
WordPress (5565)
Google      Chrome
Google Chrome (19749)