Create a row vector of the diagonal elements from matrix.
15 views (last 30 days)
Show older comments
Benjamin Nienhouse
on 17 Oct 2020
Commented: Star Strider
on 17 Oct 2020
So I am knew to MATLAB and have a question reguarding matricies.
I'm wondeirng how to create a row vector from the diagonal values (Top left to bottom right) from a matrix (I'm using a 6x6 matrix).
Any advice would be much appreaciated.
Thanks,
Ben.
1 Comment
Accepted Answer
Star Strider
on 17 Oct 2020
2 Comments
Star Strider
on 17 Oct 2020
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
More Answers (0)
See Also
Categories
Find more on Operating on Diagonal Matrices 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!