How to create a matrix B=[bij]=[max(i,j)] belongs to class of rectangular matrices
3 views (last 30 days)
Show older comments
Please answer me
0 Comments
Accepted Answer
More Answers (1)
Christine Tobler
on 12 Feb 2018
Focusing on the max(i, j) part, you could use
i = 3;
j = 4;
B = max((1:i)', (1:j));
0 Comments
See Also
Categories
Find more on Symbolic Math Toolbox 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!