How can one generate a matrix that the first column is larger than the second column?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
alpedhuez
am 3 Aug. 2020
Kommentiert: alpedhuez
am 3 Aug. 2020
In a previous question I have learned that, given a matrix, how to pick the rows that the first column entry is larger than the second column entry.
V=V(V(:,1)>=V(:,2),:)
Then, now, I want to generate a 1000*2 matrix where each entry is from randn and that the first column is larger than the second column.
0 Kommentare
Akzeptierte Antwort
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Get Started with MATLAB finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!