Randomly create lower and upper of matrix separately.
Show older comments
I would like to create a randomly lower triangle of the matrix, and then create an upper triangle of matrix separately. After that I want to compound both of these in one matrix. More deeply, I want to control each cell in both half matrix.
3 Comments
Azzi Abdelmalek
on 28 Dec 2014
Edited: Azzi Abdelmalek
on 28 Dec 2014
can you give more details? illustrate with an example
John D'Errico
on 28 Dec 2014
What do you mean to "control each cell"?
You can always access any element of a matrix.
Abe
on 28 Dec 2014
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!