Prev: Calling Matlab from Java
Next: how to read .grb file
From: rounak dubey on 8 Apr 2010 07:22 Hii all, I need help to get through MATLAB. I am new to Matlab and I have a dataset of 200 molecules with its biological activity value in numers. I have to divide my data in training set and test set in 70%-30% ratio using MATLAB. Could any one please tell me how to do this. Give a quick reply at rounakdubey03(a)gmail.com Thanks in advance. rounak
From: Roger Stafford on 8 Apr 2010 14:26 "rounak dubey" <aspiration303(a)yahoo.com> wrote in message <hpke8t$16b$1(a)fred.mathworks.com>... > Hii all, > > I need help to get through MATLAB. > I am new to Matlab and I have a dataset of 200 molecules with its biological activity value in numers. I have to divide my data in training set and test set in 70%-30% ratio using MATLAB. > > Could any one please tell me how to do this. > Give a quick reply at rounakdubey03(a)gmail.com > Thanks in advance. > > rounak You don't state what you consider an acceptable method of division. The easy way is of course to put the first 140 elements in one set and the remaining 60 in the other. However I get the impression you would prefer it to be done randomly. If so, use 'randperm': p = randperm(200); s1 = data(p(1:140)); s2 = data(p(141:200)); Roger Stafford
From: uzair on 26 Apr 2010 11:54 im making a game in matlab i.e the bowman.Im having trouble with the movement of the arrow,how move the arrow in a parabolic path by changing its direction.Please help me in doing so. regards Uzair
From: the cyclist on 26 Apr 2010 17:13 uzair <uzair190(a)yahoo.com> wrote in message <556724908.25849.1272311680390.JavaMail.root(a)gallium.mathforum.org>... > im making a game in matlab i.e the bowman.Im having trouble with the movement of the arrow,how move the arrow in a parabolic path by changing its direction.Please help me in doing so. > regards > Uzair I have two suggestions for getting a better response to you queries. First, make the subject line something more specific and meaningful than "MATLAB". Every post here is (or should be) about MATLAB. Second, show the code that you have already written in trying to solve your problem. People here are much more responsive when they see that you have made a real effort on your own. the cyclist
From: ImageAnalyst on 26 Apr 2010 18:49 Not to mention START YOUR OWN THREAD, rather than piggyback onto someone else's totally unrelated thread.
|
Pages: 1 Prev: Calling Matlab from Java Next: how to read .grb file |