Answered

How do I multiply two 'int32' data type matrices in MATLAB?

A special case of uint32/64 matrix multiply is where x is a binary matrix and y is a uint32/64 vector. This can be calculated v...

How do I multiply two 'int32' data type matrices in MATLAB?

A special case of uint32/64 matrix multiply is where x is a binary matrix and y is a uint32/64 vector. This can be calculated v...

2 months ago | 0

Answered

How do I multiply two 'int32' data type matrices in MATLAB?

function z = mtimes(x,y) if (isscalar(x) || isscalar(y)) z = x .* y; return; end m = size(x,1); n = si...

How do I multiply two 'int32' data type matrices in MATLAB?

function z = mtimes(x,y) if (isscalar(x) || isscalar(y)) z = x .* y; return; end m = size(x,1); n = si...

2 months ago | 0

Solved

Scrabble Scores - 2

An <https://www.mathworks.com/matlabcentral/cody/problems/56-scrabble-scores introductory Cody problem> asks the user to score a...

2 years ago

Solved

Image Processing 002 : Fix Vignetting in a Visible Sensor

The task is to correct image files for Visible scanning sensors that due to errant tolerancing produce vignetted(V) images. The ...

3 years ago

Solved

Solve Rubik's Cube - One Rotation

A standard Rubik's Cube is shown in 3-D and also unfolded to identify the specific Tile-face/Vector numbering. The faces are ...

3 years ago

Solved

Area of a Square

Given the length x of the side of a regular square, find the area of the square, A.

3 years ago

Solved

Find the minimal value in N*N Matrix

Suppose that we have N by N matrix, we try to find the minimal value in that matrix. examples: Input A=[1 2 3 5 6;52 58 56 45...

3 years ago

Solved

Shift elements of vector left

Shift elements of vector to the left. For ex. : Input_vec = [1 2 3 4 5] Output_vec = [2 3 4 5 1]

3 years ago

Solved

Relation between functions "dec2bin" & "dec2binvec"

Here it's an easy problem we try to find the relation between the two functions "dec2bin" & "dec2binvec", so here you must write...

3 years ago

Solved

Matrix game: Winner takes all

Given a matrix A, return a new matrix of the same size in which the biggest element of each column in A takes 1, and 0 for all t...

3 years ago

Solved

Mastermind

We are playing the boardgame mastermind <https://en.wikipedia.org/wiki/Mastermind_(board_game)>. The game master has created a 4...

3 years ago

Solved

Mastermind IV: Optimal Solver - max of 5 guesses

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago

Problem

Mastermind IV: Optimal Solver - max of 5 guesses

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago | 0 | 8 solvers

Solved

Mastermind III: Solve in 1

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago

Problem

Mastermind III: Solve in 1

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago | 0 | 8 solvers

Solved

Mastermind II: Solve in 8 or less

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago

Problem

Mastermind II: Solve in 8 or less

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago | 1 | 8 solvers

Solved

Mastermind I: Solve all 1296 cases

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago

Problem

Mastermind I: Solve all 1296 cases

<https://en.wikipedia.org/wiki/Mastermind_(board_game) Mastermind> is a code breaking logic puzzle. A pattern of 6 colors(values...

3 years ago | 2 | 10 solvers

Solved

Clock Solitaire

Many card players will be familiar with the game of <http://en.wikipedia.org/wiki/Clock_patience Clock Solitaire>. Briefly, th...

3 years ago

Problem

GJam 2017 Kickstart: Leader (Large)

This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p0 GJam 2017 Kickstart Leader>. This ...

3 years ago | 0 | 9 solvers

Problem

GJam 2017 Kickstart: Leader (Small)

This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p0 GJam 2017 Kickstart Leader>. This ...

3 years ago | 0 | 10 solvers

Problem

GJam 2017 Kickstart: Vote (Large)

This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p1 GJam 2017 Kickstart Vote>. This is...

3 years ago | 0 | 5 solvers

Problem

GJam 2017 Kickstart: Vote (Small)

This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p1 GJam 2017 Kickstart Vote>. This is...

3 years ago | 0 | 9 solvers

Problem

GJam 2017 Kickstart: Parentheses (Large)

This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p2 GJam 2017 Kickstart Parentheses>. ...

3 years ago | 1 | 10 solvers

Problem

GJam 2017 Kickstart: Parentheses (Small)

This Challenge is derived from <http://code.google.com/codejam/contest/6304486/dashboard#s=p2 GJam 2017 Kickstart Parentheses>. ...

3 years ago | 0 | 9 solvers

Solved

Rubik's Cube: 30 Moves or Less: Minimum Avg Time

This Challenge is to solve a thoroughly scrambled Rubik's cube in the minimum time (30 moves max). Rubik's Cube can be solved...

3 years ago

Solved

Constructing column arrays

* Construct a column array elevatorStops with values 2, 4, 5, 9, and 10

4 years ago