I am wondering what is the most efficient way in Matlab to do multiple replacements in a cell array based on the content of a differentt cell array ?
More specifically, I am trying to transform cell1 into cell3 based on the associations defined in cell2 in the most efficient way possible (in other words cell1(:,2) becomes cell3(:,2))
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
2 Comments
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/503057-how-to-do-multiple-replacements-in-a-cell-array#comment_792274
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/503057-how-to-do-multiple-replacements-in-a-cell-array#comment_792274
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/503057-how-to-do-multiple-replacements-in-a-cell-array#comment_792287
Direct link to this comment
https://in.mathworks.com/matlabcentral/answers/503057-how-to-do-multiple-replacements-in-a-cell-array#comment_792287
Sign in to comment.