how to craete a matrix with desired elements
Show older comments
in case of magic(n) and rand(n) an n by n matrix is created wit magic and pseudorandom elements respectively ,
how i can create a matrix of my choice(rows and col.) and with user defined elements in it .
Accepted Answer
More Answers (1)
Sachin Ganjare
on 17 Oct 2012
0 votes
What exactly is your requirment, please elaborate.
1 Comment
MANJUNATH
on 17 Oct 2012
Categories
Find more on Loops and Conditional Statements in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!