珍妮·波斯顿(Jenny Bosten)在MATLAB迷你黑客中的艺术
The mini hack is one of a few contests running to celebrate 20 years of MATLAB Central. It allows to code golf your way to generating any figure with fewer than 280 executable characters.
TileSlayout(1,2,tilespacing =“没有任何”,填充=“紧的”)
Nexttile
imshow(imread('//www.tianjin-qmedu.com/matlabcentral/communitycontests/uploaded_files/3181/image.png'))
Nexttile
imshow(imread('//www.tianjin-qmedu.com/matlabcentral/communitycontests/uploaded_files/981/image.png'))
我想,本着这场比赛的代码高尔夫精神,我应该用:
TileDlayout(1,2,Tiles =“非”,pad ="t")
b =“//www.tianjin-qmedu.com/matlabcentral/communitycontests/uploaded_files/%d/image.png"
s=@(x)imshow(imread(compose(b, x)),Pa=nexttile)
S(3181)
S(981)
去投票
favorite submissions
and submit or "remix" your own. But hurry before the October 31st deadline!
|
- 类别:
- 选择
Comments
要发表评论,请单击here登录您的数学帐户或创建一个新帐户。