Community Profile

photo

Bhavya Gandham


Aktiv seit 2016

Followers: 0   Following: 0

Statistiken

Feeds

Anzeigen nach

Beantwortet
How can I assign two sets of values randomly among two other sets?
Hi! Thanks for the answer. But I need to randomly interchange the total 2 sets between other two sets. like, first a(set of 1...

mehr als 7 Jahre vor | 0

Frage


How can I assign two sets of values randomly among two other sets?
I have two sets a and b, these sets of values to another two sets s1 and s2. I tried for randperm but i am getting errors. Tha...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten

Frage


How to assign two values randomly among 2 variables?
c1 = (b1-a1).*rand(100,1) + a1; c2 = (b2-a2).*rand(100,1) + a2; I have to assign the c1 and c2 values randomly among two varia...

mehr als 7 Jahre vor | 2 Antworten | 0

2

Antworten