Gelöst


Divisible by 2
This is the first problem in a set of "divisible by x" problems. You will be provided a number as a string and the function you ...

etwa 11 Jahre vor

Gelöst


Find the realtion between x and y
x=1 then y=3, x=2 then y=7, x=3 then y=13,

etwa 11 Jahre vor

Gelöst


Dare to solve this
Find square of any number

etwa 11 Jahre vor

Gelöst


Add 8 to given num
add 8 to given number

etwa 11 Jahre vor

Gelöst


increase the number by 7
You need to increase any given digit by 7

etwa 11 Jahre vor

Gelöst


The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...

etwa 11 Jahre vor

Gelöst


It's going down. We're finding simbers!
This problem is inspired by Project Euler 520: Simbers. "We define a simber to be a positive integer in which any odd digit, ...

etwa 11 Jahre vor

Gelöst


write an expression
output is five more than twice an input number.

etwa 11 Jahre vor

Gelöst


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

etwa 11 Jahre vor

Gelöst


Dice roll - lateral faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

etwa 11 Jahre vor

Gelöst


Dice roll - opposite faces
For this problem, you will be provided with the values of a dice roll (regular six-sided dice). The number of dice will be at le...

etwa 11 Jahre vor

Gelöst


Find the jerk
No, it's not the author of this problem... Jerk is the rate of change in acceleration over time of an object. So, if given t...

etwa 11 Jahre vor

Gelöst


Covering area
As an extension of the problem <http://www.mathworks.com/matlabcentral/cody/problems/416-polygon-area>, find the area, bounded b...

etwa 11 Jahre vor

Gelöst


COUNT LETTERS
Count the number of letters in a given string. For Example: STR='The MAtlAb code'; output:T 2 H 1 E 2 M 1 A 2 L 1 B 1 C ...

etwa 11 Jahre vor

Gelöst


Gambler?
Given a handle to a wealth function, confirm within 100 milliseconds 'Millionaire', 'Likely', or 'Gambler', if wealth() returns ...

etwa 11 Jahre vor

Gelöst


McCabe Complexity
The Challenge is to return the McCabe complexity for various functions. One way to determine the McCabe Complexity is to use ...

etwa 11 Jahre vor

Gelöst


What digit is it?
The function you are being asked to write will take three numbers (n,x,q) as input. The object of the function is to determine ...

etwa 11 Jahre vor

Gelöst


Molecule Atomic Wt (CHONS) Molecules
Given a molecular equation string determine its atomic weight. Limited atoms of C H O N and S where wts are rounded to [12 1 ...

etwa 11 Jahre vor

Gelöst


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

etwa 11 Jahre vor

Gelöst


Solve Quadratic : No * - or key functions permitted
Solve the quadratic equation *ax^2+bx+c=0*. However, some of the normal functions and symbols are not allowed. x=[ -b +/- sq...

etwa 11 Jahre vor

Gelöst


Max Change in Consecutive Elements
If an array is given as input then find the index of consecutive elements that represent maximum change. Example: Input ...

etwa 11 Jahre vor

Gelöst


Decimal Comparison
*Background* A utility of particular interest to Cody and other MATLAB ventures is comparing the equality of two numbers. In ...

etwa 11 Jahre vor

Gelöst


Conversion from hours to mili sec
Convert given input in hours to mili seconds

etwa 11 Jahre vor

Gelöst


Acidity of vinegar and salts
Assuming: pH (potentia hydrogenii) = - log10(H+ ionic concentration in mol/Liter). For a buffer solution containing acetic acid ...

etwa 11 Jahre vor

Gelöst


How to multiply?
* Imagine you are in 3012 Anno Domini, when everyone must learn how to multiply, * and competing for the highly prestigious pos...

etwa 11 Jahre vor

Gelöst


Narcissistic problem
How many likes has this problem?

etwa 11 Jahre vor

Gelöst


Join Strings with Multiple Different Delimiters
The idea is to form the string S by interleaving the elements of a cell array of strings DELIMITER and another cell array of st...

etwa 11 Jahre vor

Gelöst


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the other numbers. Otherwise return false. ...

etwa 11 Jahre vor

Gelöst


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

etwa 11 Jahre vor

Gelöst


Handle to an array of functions
Given a cell array of functions that operate on scalars, it is required to return a function handle to process a vector of value...

etwa 11 Jahre vor

Mehr laden