Path: news.mathworks.com!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail
From: "Sven Schulz" <sven-schu@arcor.de>
Newsgroups: comp.soft-sys.matlab
Subject: Random for basic artihmetic operations
Date: Thu, 21 May 2009 23:43:22 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	format=flowed;
	charset="iso-8859-1";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.5512
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579
Lines: 16
Message-ID: <4a15cb07$0$31332$9b4e6d93@newsspool4.arcor-online.net>
Organization: Arcor
NNTP-Posting-Date: 21 May 2009 23:43:35 CEST
NNTP-Posting-Host: ae5a0b16.newsspool4.arcor-online.net
X-Trace: DXC=1LfSW0>_=_n016@cHD@m;j4IUK<Cl32<a4Fo<]lROoRa^YC2XCjHcbi;TiBAdC3GggGMLZV>W<eMhJU[U`YTh]kb99YQ[cCFi2j>ZF;m4];Q0h
X-Complaints-To: usenet-abuse@arcor.de
Xref: news.mathworks.com comp.soft-sys.matlab:541651


Hi,

how can i design a random choice for basic arithmetic operations?

Example:

First random choice  A+B*C/E
Second random choice A*B-C+E
Third random choice  A-B+C+E
an so on . . .

I have no idea to implement M-Code to solve this problem.

Regards

Sven