Path: news.mathworks.com!not-for-mail From: <HIDDEN> Newsgroups: comp.soft-sys.matlab Subject: Re: random values Date: Thu, 27 May 2010 10:28:06 +0000 (UTC) Organization: Tractebel Engineering Lines: 25 Message-ID: <htlhfm$o5d$1@fred.mathworks.com> References: <htjeqd$s1a$1@fred.mathworks.com> <htjg6u$14o$1@fred.mathworks.com> <htk4g4$rel$1@fred.mathworks.com> <htk7ua$a64$1@fred.mathworks.com> <htl2ce$2gk$1@fred.mathworks.com> <htl6qe$gfb$1@fred.mathworks.com> Reply-To: <HIDDEN> NNTP-Posting-Host: webapp-02-blr.mathworks.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: fred.mathworks.com 1274956086 24749 172.30.248.37 (27 May 2010 10:28:06 GMT) X-Complaints-To: news@mathworks.com NNTP-Posting-Date: Thu, 27 May 2010 10:28:06 +0000 (UTC) X-Newsreader: MATLAB Central Newsreader 2339239 Xref: news.mathworks.com comp.soft-sys.matlab:639735 "Roger Stafford" <ellieandrogerxyzzy@mindspring.com.invalid> wrote in message <htl6qe$gfb$1@fred.mathworks.com>... > "Artur Artur" <arturracu@yahoo.com> wrote in message <htl2ce$2gk$1@fred.mathworks.com>... > > dear Roger, > > > > i'm sorry if i wasn' clear, this is not i want...so...i have 100 random values which i want to inject in a power system so i can disturb it, the time for this incident is 15 seconds, the way i am doing now is this: > > 0.15s-first rand value > > 0.3s-second rand value > > 0.45s-third rand value > > .......................... > > 14.45s-99-th rand value > > 15s-100 rand value > > > > so, if i am doing in this way i will have a liniar time disturbance that's way i want 100 random values for this 15s > > > > thank you > > > > Artur > > Well then what's all this about "i want random values with sum 15" and "for this i need small randoms times?" Why must they have a sum of 15? What is "random times" about events that are spaced evenly apart by .15 seconds each? That was certainly misleading. It sounded just as though you wanted the total time spam of the 100 successive events to be 15 seconds but that the timing was otherwise random. > > Roger Stafford yes Roger i have 100 successive events to generate in 15 seconds and i would like to have random times as i describe above thanks