MATLAB: How to make different 2d shapes to be used in the game 2d shapesgames I want to make different shapes to be used in my game. Please can anyone help me in this manner? Best Answer We've compiled a list of suggestions: http://www.mathworks.com/matlabcentral/answers/8026-best-way-s-to-master-matlab Related SolutionsMATLAB: How can I make an oval mask doc imellipseLook at its createMask method. MATLAB: How to create a grid for memory tile game The grid generation is easy:nrows = 5; % User Input: Number Of Rowsncols = 7; % User Input: NumberOf ColumnsXL = [0 nrows];YL = [0 ncols];rowx = repmat([0:ncols], 2, 1);rowy = [min(XL)*ones(1, ncols+1); max(XL)*ones(1, ncols+1)];colx = [min(YL)*ones(1, nrows+1); max(YL)*ones(1, nrows+1)];coly = repmat([0:nrows], 2, 1);figure(1)plot(rowx, rowy, 'g')hold onplot(colx, coly, 'g')hold offaxis equal tight Related QuestionCan anyone explain the following codeHow to use optimtool to optimize a tetris game
Best Answer