Add row and column to a interdependent matrix
2 views (last 30 days)
Show older comments
Santhosh Chandrasekar
on 19 Feb 2018
Commented: Santhosh Chandrasekar
on 19 Feb 2018
Hi, how to change the below mentioned 'A' matrix to 'AA' matrix by adding a row and column of 'CR' with the exact values for 'CR' as mention below. For 'CR' all the values in the row from CR to E221 will have 0 and in the column, CR will be zero and E1 to E221 will be 1. I want that string 'CR' also need to be added to the existing headings of E1 to E221 in the row and column wise.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/170541/image.jpeg)
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Random Number Generation 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!