Need help on random selection of matrix

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Need help on random selection of matrix

sharad jain
Hi Team

Please let me know how can we select random number of rows from actave matrix.
and assign it to another matrix.
thanks
Sharad Jain


Reply | Threaded
Open this post in threaded view
|

Re: Need help on random selection of matrix

Doug Stewart-4


On Thu, Aug 1, 2019 at 12:47 PM sharad jain <[hidden email]> wrote:
Hi Team

Please let me know how can we select random number of rows from actave matrix.
and assign it to another matrix.
thanks
Sharad Jain



q=magic(5)
w=q(:,3)

does this help?
--
DASCertificate for 206392