How to insert calculation values in to a zero matrix
2 views (last 30 days)
Show older comments
Dr is the result matrix (4 by 4) and I want to insert only the third non-zero column into a new matrix like Z.
Dr =
0 0 -0.0618 0
0 0 -0.0618 0
0 0 0.9884 0
0 0 0.9884 0
Z = [-0.0618;-0.0618;0.9884;0.9884]
I've been tried a lot of ways but none of them works. Therefore, any advises are very welcome. Thanks!
0 Comments
Answers (1)
See Also
Categories
Find more on Operators and Elementary Operations 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!