Resuelto


Multiply by 3 and subtract 1
As a class assignment, I'm making a Cody problem. It shouldn't be terribly difficult. Given the variable x as your input, mu...

alrededor de 10 años hace

Resuelto


Average Grade
Given a 1x5 vector presents the grades of a student on five tests. Calculate the average grade of that student.

alrededor de 10 años hace

Resuelto


Simple Interest Calculator
Determine the future value (F) of the funds in a savings account after (n) years, at annual interest rate (i), given an original...

alrededor de 10 años hace

Resuelto


Convert from integer to binary
if true % decimalToBinaryVector(x) end

alrededor de 10 años hace

Resuelto


Spherical Volume
Calculate the volume of a sphere.

alrededor de 10 años hace

Resuelto


Find the area of a triangle
Given a triangle with a base b and height h, return the triangle area.

alrededor de 10 años hace

Resuelto


Multiplying Vectors
Find a way to multiply two vectors.

alrededor de 10 años hace

Resuelto


Return the names and values of the input arguments of a function
Given a function name, return the names and values of the input arguments. e.g. function_name(arg1, arg2) is a function de...

alrededor de 10 años hace

Resuelto


Spherical radius given four points
Determine the radius of a sphere provided four non-coplanar points on the surface of the sphere. pts = [x1 y1 z1; x...

alrededor de 10 años hace

Resuelto


Calculate the volume of a sphere
Calculate the volume of a sphere

alrededor de 10 años hace

Resuelto


Breaking Bad Tiles (Spelling with Element Symbols)
Given a word, how you would spell it with element symbols from the periodic table? For instance, if given the string "Paper", yo...

alrededor de 10 años hace

Resuelto


Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

alrededor de 10 años hace

Resuelto


Decrypt a secret message!
The crypto system in question is based on phone keyboard. We need two numbers in order to decrypt a word. First number represent...

alrededor de 10 años hace

Resuelto


String permutations on phone keyboard
Given a number such as 2639 return all possible string permutations using the phone-keyboard on <http://www.mathworks.com/matlab...

alrededor de 10 años hace

Resuelto


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...

alrededor de 10 años hace

Resuelto


Return the 'Size' of a String of Code
One of the most 'mysterious' parts of playing Cody is the sizing system. Given a string of commands, return the size that Cody w...

alrededor de 10 años hace

Resuelto


Create Combination
Motivation: In many problems, we need to create combinations with the function nchoosek. In some cases, however, choices are lim...

alrededor de 10 años hace

Resuelto


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)

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Cleaner
Write a code _cleaner_ which creates variable/object that can clear current workspace when used. Missing semicolon (";") in lin...

alrededor de 10 años hace

Problema


Cleaner
Write a code _cleaner_ which creates variable/object that can clear current workspace when used. Missing semicolon (";") in lin...

alrededor de 10 años hace | 2 | 7 solvers

Resuelto


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

alrededor de 10 años hace

Resuelto


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 ...

alrededor de 10 años hace

Resuelto


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

alrededor de 10 años hace

Resuelto


Sum of elements of array
Sum of elements of array

alrededor de 10 años hace

Resuelto


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 ...

alrededor de 10 años hace

Resuelto


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...

alrededor de 10 años hace

Resuelto


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...

alrededor de 10 años hace

Resuelto


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. ...

alrededor de 10 años hace

Cargar más