Random numbers in a specific interval

  • Follow


How can I create in matlab a diagonal matrix with random elements in the interval
(-π/4 , + π/4)??
0
Reply Olta 4/6/2010 1:42:05 PM

"Olta Çakaj" <oltacakaj@gmail.com> wrote in message <hpfdnd$fn2$1@fred.mathworks.com>...
> How can I create in matlab a diagonal matrix with random elements in the interval
> (-&#960;/4 , + &#960;/4)??

a hint:

http://www.mathworks.com/matlabcentral/newsreader/view_thread/277889

us
0
Reply us 4/6/2010 1:49:04 PM


"us " <us@neurol.unizh.ch> wrote in message <hpfe4g$mci$1@fred.mathworks.com>...
> "Olta Çakaj" <oltacakaj@gmail.com> wrote in message <hpfdnd$fn2$1@fred.mathworks.com>...
> > How can I create in matlab a diagonal matrix with random elements in the interval
> > (-&#960;/4 , + &#960;/4)??
> 
> a hint:
> 
> http://www.mathworks.com/matlabcentral/newsreader/view_thread/277889
> 
> us


Thank you
0
Reply Olta 4/7/2010 6:44:05 AM

2 Replies
781 Views

(page loaded in 0.001 seconds)

Similiar Articles:













7/24/2012 1:05:21 PM


Reply: