From: Jonas Camillus Jeppesen on 16 Mar 2010 04:07 Hi everyone Every time I try to use the randi() function (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/randi.html) MATLAB just respond: >> randi(10,100,1) ??? Undefined function or method 'randi' for input arguments of type 'double'. and Help found in my MATLAB can not find any function called randi. I use MATLAB version 7.6.0.324 (R2008a) and I'm fairly sure I've used this function on this version of MATLAB before. Can anyone enlighten me? Best regards Jonas C. Jeppesen, Denmark
From: Jonas Camillus Jeppesen on 16 Mar 2010 04:30 If you have no other suggestions maybe you could just post your MATLAB version and whether or not you have access to the randi() function? That would also be a great help. Thank you.
From: Husam Aldahiyat on 16 Mar 2010 05:55 "Jonas Camillus Jeppesen" <wuhtzu(a)hotmail.com> wrote in message <hnne76$ovq$1(a)fred.mathworks.com>... > Hi everyone > > Every time I try to use the randi() function (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/randi.html) MATLAB just respond: > > >> randi(10,100,1) > ??? Undefined function or method 'randi' for input arguments of type 'double'. > > and Help found in my MATLAB can not find any function called randi. > > I use MATLAB version 7.6.0.324 (R2008a) and I'm fairly sure I've used this function on this version of MATLAB before. > > Can anyone enlighten me? > > Best regards > Jonas C. Jeppesen, Denmark Student version doesn't have randi().
From: Jonas Camillus Jeppesen on 16 Mar 2010 06:18 "Husam Aldahiyat" <numandina(a)gmail.com> wrote in message <hnnkib$7v8$1(a)fred.mathworks.com>... > "Jonas Camillus Jeppesen" <wuhtzu(a)hotmail.com> wrote in message <hnne76$ovq$1(a)fred.mathworks.com>... > > Hi everyone > > > > Every time I try to use the randi() function (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/randi.html) MATLAB just respond: > > > > >> randi(10,100,1) > > ??? Undefined function or method 'randi' for input arguments of type 'double'. > > > > and Help found in my MATLAB can not find any function called randi. > > > > I use MATLAB version 7.6.0.324 (R2008a) and I'm fairly sure I've used this function on this version of MATLAB before. > > > > Can anyone enlighten me? > > > > Best regards > > Jonas C. Jeppesen, Denmark > > Student version doesn't have randi(). And what makes my version a student version? Are all the RXXXXy versions student versions or? My program is made available to me through my university...
From: David Young on 16 Mar 2010 06:40 How about working round it with ceil(imax*rand(m,n))
|
Next
|
Last
Pages: 1 2 3 Prev: Alzare i tergicristalli MONDEO?! Next: Find biggest index j s.t z(i)<=C |