![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/13349252_1535018037313_DEF.jpg)
Tapaswini Hansdah
Followers: 0 Following: 0
Feeds
提问
How can i read and change the elements of a matrix A with its corresponding new values of elements stored in vector B ?
A1=[1 2 3; 4 4 6; 7 8 9] A=reshape(A1,[1,9]); Now i want to replace 1 with11 2 with 22 3 with 33 4 with 44 6 with 66 7 ...
4 years 前 | 1 个回答 | 0