What's the best short cut for this in MATLAB?

Posted by user198729 on Stack Overflow See other posts from Stack Overflow or by user198729
Published on 2010-04-11T07:08:50Z Indexed on 2010/04/11 7:13 UTC
Read the original article Hit count: 214

Filed under:
|
padColor = [bgColor bgColor bgColor];
padColor = reshape(padColor,1,1,3);  

How to do the above in a more compact way(less code/replication)?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about syntax