Gelöst


Basic matlab numeric and string manipulations
If entered input (n) is _numeric_ , compute its *log to the base (n+2)* , if it is a _lower case_ alphabet, *convert it to i...

etwa ein Jahr vor

Gelöst


Find the number of rectangles
There is a m*n grade given. Find the number of rectangles in the grid. Remember, a square is also a rectangle.

etwa ein Jahr vor

Gelöst


Create formatted value string Cell array of a vector
This Challenge is to create a cell array that contains strings of vector components in a given format. c=vector2formattedstri...

etwa ein Jahr vor

Gelöst


Dealfun (1.0)
*Short description.* Write a function _dealfun_: [y1,y2,...,yn]=dealfun(fhandle,x1,x2,...,xn) which evaluates the f...

etwa ein Jahr vor

Gelöst


Digits Multiplication
Your function should calculate the product of the digits of a positive given integer excluding any zeroes. Example: the result ...

etwa ein Jahr vor

Gelöst


The answer to life the universe and everything
Write a function that gives the answer to life the universe and everything to every input except the input is 42. In this case t...

etwa ein Jahr vor

Gelöst


Sort by absolute value
Given a list of numbers, arrange them in ascending order based on their absolute values. For example, for the list [-30, -5, 1...

etwa ein Jahr vor

Gelöst


Find the area between curves (P1)

etwa ein Jahr vor

Gelöst


Replace all odd numbers with NaN
Replace all odd numbers in the vector or matrix with NaN. For example, if x = [1 3 4 5 8 11]; then return y = [NaN Na...

etwa ein Jahr vor

Gelöst


The maximum sum of squares
Create a function file with an input maxval to determine the maximum number of terms for the series 1^2 + 2^2 + 3^2 + ... such t...

etwa ein Jahr vor

Gelöst


Global usage
This Challenge is to utilize Global variables. Global variables are risky as the subroutine may inadvertently and unwantingly...

etwa ein Jahr vor

Gelöst


Reverse Integer
You are given an integer, reverse its digits. For negative integers, the sign should remain in the front. For instance, 12340 s...

etwa ein Jahr vor

Gelöst


apply zero padding to a matrix

etwa ein Jahr vor

Gelöst


Create rectangular function.
Rectangular function - Wikipedia

etwa ein Jahr vor

Gelöst


Number Puzzle - 042

etwa ein Jahr vor

Gelöst


Number Puzzle - 028

etwa ein Jahr vor

Gelöst


Median filter over three values
Implement 1-D median filter over input vector x as described: Moving window size is 3 Output is middle/central value in moving...

etwa ein Jahr vor

Gelöst


generate capital english alphabets
Based on the numeric input 'n', generate the capital english alphabet starting from A till the english alphabet at the 'n'th pos...

etwa ein Jahr vor

Gelöst


Find Missing Number
A little problem (inspired by CodeChef) for the coffee break. A friend give you an array of size n-1 integers and these int...

etwa ein Jahr vor

Gelöst


Logarithmically spaced vector creation using logspace
Create a vector y containing n logarithmically spaced values between a and b, with a < b. Use the logspace operator.

etwa ein Jahr vor

Gelöst


How many apples
You have x apples I take from you y apples now how many apples you have ?

etwa ein Jahr vor

Gelöst


Area-01
Given the radius of the circle inscribed in a square, find the area that is not bounded by the circle but inside the square. ...

etwa ein Jahr vor

Gelöst


Halder function
Find the halder function value of a number

etwa ein Jahr vor

Gelöst


Backslang, odds are you used it at some point in time...
So backslang is a language that can be used to communicate in an easy decode code, if people know the rules of decoding it. Wel...

etwa ein Jahr vor

Gelöst


Implement Euler's formula for calculating polyhedron edges
Your function will take as input the number of faces f and number of vertices v of a polyhedron. It will output the number of ed...

etwa ein Jahr vor

Gelöst


Are you more familiar with iteration methods or Linear Algebra? Let's see together.
Given a sum result *_x_* value of a *_N_* number of addends, build an array of _*N*_ elements _*y*_ such that the following equa...

etwa ein Jahr vor

Gelöst


2) Are you more familiar with iteration methods or Linear Algebra ? Let's see together.
Referring to problem: https://www.mathworks.com/matlabcentral/cody/problems/44530-are-you-more-familiar-with-iteration-method...

etwa ein Jahr vor

Gelöst


Find the magnetic field around the wire

etwa ein Jahr vor

Gelöst


root?
* Given a function 'foo', and a position 'there', find the root near 'there'. * For example: If foo=@sin, and there=3.1, then r...

etwa ein Jahr vor

Gelöst


String Logic 16
Examples: 'DIG' --> 'DIG' 'KIMBALL' --> 'ALLKIMB' 'DEAL' --> 'EALD' 'LIMB' --> 'IMBL' 'MADE' --> 'ADEM'

etwa ein Jahr vor

Mehr laden