登录论坛

查看完整版本 : 在MATLAB中最好的捷径是什么?


poster
2019-12-10, 20:30
padColor = ; padColor = reshape(padColor,1,1,3); 如何以更紧凑的方式(更少的代码/复制)完成上述操作?



[B]回答:

ones(1,1,3)*bgColor

更多&回答... (https://stackoverflow.com/questions/2616285)