解決済み


Combine Cards to make 21
Given between two and six cards, e.g. A _ 3 _ 7 _ 6 _ 2 place one of the mathematical symbols (+,-,*,/) in the space betw...

11年弱 前

解決済み


Number of occurrences of letter in a text
Given an input text either as a string or as a cell array of strings, return a (1 x 26) matrix containing the number of occurren...

11年弱 前

解決済み


Throw common elements of two vector arrays
Throw common elements as output of two given input vector arrays

11年弱 前

解決済み


Throw common elements of two vector arrays in sorted manner
Throw common elements as output in sorted manner (acending order) of two given input vector arrays

11年弱 前

解決済み


Find Month & day for given day number of a year
Find Month & day for given day number of a year (day number is any number ranging from 1 to 366)

11年弱 前

解決済み


Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

11年弱 前

解決済み


Step up
For given input array, output a array with all elements step up by two

11年弱 前

解決済み


Is It a Snake?
Given an m-by-n matrix, return true if the elements of the matrix are a connected "snake" shape from 1 to m*n. Otherwise return ...

11年弱 前

解決済み


multiple of nine?
Given a positive number n, return true if n is a multiple of 9 and false if not. Do not make the division and do not use functio...

11年弱 前

解決済み


Bulls Eye Matrix
Bulls Eye Matrix

11年弱 前

解決済み


Sum of elements of array
Sum of elements of array

11年弱 前

解決済み


prime to each other
Given two integers n1, n2 greater than 1, find out if they are prime to each other.

11年弱 前

解決済み


Find elements of set A those are not in set B
Given two sets of data A and B. Find elements of A those are not in set B. ...

11年弱 前

解決済み


FInd an Area of a Polygon
Consider 2-D geometry and assume that the points are given in form of rows of a matrix. Find an area of polygon enclosed by the ...

11年弱 前

解決済み


How long does it take to run a bath?
Given the *volume flow rate* (volume/time) of a faucet and the *volume* of a bath tub, find the amount of time it takes to fill ...

11年弱 前

解決済み


Why the heck are they blinking!?!?
Merry Christmas everyone! Sadly, the lights you've had on your tree for so many years burned out, and it's time to get a new se...

11年弱 前

問題


Why the heck are they blinking!?!?
Merry Christmas everyone! Sadly, the lights you've had on your tree for so many years burned out, and it's time to get a new se...

11年弱 前 | 2 | 42 個のソルバー

解決済み


sparse_matrix
You convert a vector to a sparse matrix. for example *x* =[1 2 3]; output will be *y* = [1 0 0 ...

11年弱 前

解決済み


Determine the full width at half max
Determine the full width at half max of a curve. The full width at half maximum (FWHM) is a parameter which is used for desc...

11年弱 前

解決済み


Replace secondary diagonal elements of a square array
Replace all the secondary diagonal elements of the square array A with the number n Example: A=[1 2 3; 4 5 6; 7 8 ...

11年弱 前

解決済み


2048 Next Move
Given a board in the game 2048 (see the game here: <http://gabrielecirulli.github.io/2048/ 2048>) and a direction ('up','down','...

11年弱 前

解決済み


Matrix of almost all zeros, except for main diagonal
Write a program to input an integer n and build a n-by-n matrix with the numbers 1,2,...,n on the main diagonal and zeros elsewh...

11年弱 前

解決済み


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

11年弱 前

解決済み


Distance a ball travels after throwing vertically
Calculate the total distance *'d'* (in meters) a ball would travel after *'s'* seconds and starting velocity of *'v'* (in m/s). ...

11年弱 前

解決済み


UICBioE240 2.8
Convert x number of hours into seconds.

11年弱 前

解決済み


UICBioE240 2.2
Make a 3x4 matrix that contains all ones.

11年弱 前

解決済み


What's the missing interior angle?
I'm talking about polygons... The sum of the interior angles of a triangle is 180 degrees. The sum of the interior angles of a...

11年弱 前

解決済み


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

約11年 前

解決済み


Can you reshape the matrix?
Given a matrix A, is it possible to reshape it into another matrix with the given number of rows?

約11年 前

解決済み


Get all corner elements from a matrix where dimension of matrix is always equal to or greater than 2.
if a given matrix a = [1 2 3;4 5 6]; so answer is going to be [1 3;4 6]

約11年 前

さらに読み込む