Help in troubleshooting a code
1 view (last 30 days)
Show older comments
Commented: fiona rozario on 3 Mar 2017
This code gives me an error 'Subscripted assignment dimension mismatch.' in line 7. I can't figure out why?
Alexandra Harkai on 3 Mar 2017
dec2hec results in a char array of 1*n for each (i,j) pair, which then would not fit into one element of the numeric array z.
Depends on what you want to use z for, you could consider changing the shape.
More Answers (0)
Find more on Creating and Concatenating 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!