Prev: A begginer's question - ButtonDownFcn
Next: load figure and then save with original figure's color??
From: us on 26 May 2010 05:37 TideMan <mulgor(a)gmail.com> wrote in message <9267ac3c-bdc7-4582-b2d2-747404c2bc6e(a)y18g2000prn.googlegroups.com>... > On May 26, 9:22 pm, "Artur Racu" <arturr...(a)yahoo.com> wrote: > > "David Young" <d.s.young.notthis...(a)sussex.ac.uk> wrote in message <htio66$ch...(a)fred.mathworks.com>... > > > I don't know what Eurostag is, but in Matlab the function I would use to generate an approximation to white Gaussian noise is randn. > > > > Eurostag is a tool used for dynamic computation of power systems, i want to creat a signal(white gausian noise) so i can make a disturbance in power system and after to analyse different things; > > > > for example n=randn(10) if you take the mean of each column you will see that the mean is not zero(for white noise the main roule is t have the mean zero) > > > > could you please help me on that, > > > > thank you > > Oh, don't be so silly!! > Of course the mean will be different from zero with only 10 numbers. > Now try this: > mean(randn(1000000,1)) > Is that close enough to zero for you? > If not, try this: > mean(randn(100000000,1)) but... derek, how mean(!)... mean(randn(100000000,1)) %{ ??? Error using ==> randn Out of memory. Type HELP MEMORY for your options. %} us
From: Artur Racu on 26 May 2010 05:38 TideMan <mulgor(a)gmail.com> wrote in message <9267ac3c-bdc7-4582-b2d2-747404c2bc6e(a)y18g2000prn.googlegroups.com>... > On May 26, 9:22 pm, "Artur Racu" <arturr...(a)yahoo.com> wrote: > > "David Young" <d.s.young.notthis...(a)sussex.ac.uk> wrote in message <htio66$ch...(a)fred.mathworks.com>... > > > I don't know what Eurostag is, but in Matlab the function I would use to generate an approximation to white Gaussian noise is randn. > > > > Eurostag is a tool used for dynamic computation of power systems, i want to creat a signal(white gausian noise) so i can make a disturbance in power system and after to analyse different things; > > > > for example n=randn(10) if you take the mean of each column you will see that the mean is not zero(for white noise the main roule is t have the mean zero) > > > > could you please help me on that, > > > > thank you > > Oh, don't be so silly!! > Of course the mean will be different from zero with only 10 numbers. > Now try this: > mean(randn(1000000,1)) > Is that close enough to zero for you? > If not, try this: > mean(randn(100000000,1)) it is ok...but you know then the chief want that the mean to be zero it is very hard to convience him that this answer is good
From: us on 26 May 2010 05:43 "Artur Racu" > > Oh, don't be so silly!! > > Of course the mean will be different from zero with only 10 numbers. > > Now try this: > > mean(randn(1000000,1)) > > Is that close enough to zero for you? > > If not, try this: > > mean(randn(100000000,1)) > it is ok...but you know then the chief want that the mean to be zero it is very hard to convience him that this answer is good one of the (few) solutions % fire the chief... us
From: Artur Racu on 26 May 2010 06:18 "Artur Racu" <arturracu(a)yahoo.com> wrote in message <htilhq$m70$1(a)fred.mathworks.com>... > hy all, > > so i hope what my problem is clear to everyone, i need to generate a WGN(actually i need those values becouse i want to implement them in Eurostag), > > thank you, > > Artur so...any ideas how can i obtain Gauss curve values, thank you
From: TideMan on 26 May 2010 06:49
On May 26, 9:37 pm, "us " <u...(a)neurol.unizh.ch> wrote: > TideMan <mul...(a)gmail.com> wrote in message <9267ac3c-bdc7-4582-b2d2-747404c2b...(a)y18g2000prn.googlegroups.com>... > > On May 26, 9:22 pm, "Artur Racu" <arturr...(a)yahoo.com> wrote: > > > "David Young" <d.s.young.notthis...(a)sussex.ac.uk> wrote in message <htio66$ch...(a)fred.mathworks.com>... > > > > I don't know what Eurostag is, but in Matlab the function I would use to generate an approximation to white Gaussian noise is randn. > > > > Eurostag is a tool used for dynamic computation of power systems, i want to creat a signal(white gausian noise) so i can make a disturbance in power system and after to analyse different things; > > > > for example n=randn(10) if you take the mean of each column you will see that the mean is not zero(for white noise the main roule is t have the mean zero) > > > > could you please help me on that, > > > > thank you > > > Oh, don't be so silly!! > > Of course the mean will be different from zero with only 10 numbers. > > Now try this: > > mean(randn(1000000,1)) > > Is that close enough to zero for you? > > If not, try this: > > mean(randn(100000000,1)) > > but... derek, how mean(!)... > > mean(randn(100000000,1)) > %{ > ??? Error using ==> randn > Out of memory. Type HELP MEMORY for your options. > %} > > us Oh, Urs, you poor old thing. You need to ask your employers to give you a better computer. Here is what mine says: >> mean(randn(100000000,1)) ans = 2.1549e-005 |