Gelöst


Bruh
Return 'bruh'.

etwa 11 Jahre vor

Gelöst


given number is power of n or not?
Check weather The input is power of n or not? for example x=8,n=2 --> true x=6,n=2 --> false

etwa 11 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

etwa 11 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

etwa 11 Jahre vor

Gelöst


Evened up (or not)
You will be provided with an array or matrix that contains various numbers, in addition to an evening variable, e, set to 1 or 0...

etwa 11 Jahre vor

Gelöst


Write a function man that takes a row vector v and returns a matrix H as follows..
Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

etwa 11 Jahre vor

Gelöst


How close to a hole
Suppose you have a description of good places (ones) and bad places (zeros). You want to know your distance from a bad place (in...

etwa 11 Jahre vor

Gelöst


De-primed
Write a function that will multiply every prime number in the array or matrix by two, leaving all other numbers the same, and re...

etwa 11 Jahre vor

Gelöst


A quadrant matrix
Write a function called quadrants that takes as its input argument a scalar integer named n. The function returns Q, a 2n-by-2n ...

etwa 11 Jahre vor

Gelöst


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. So if input x is x = [1 2 3 5] then the output y should be 11.

etwa 11 Jahre vor

Gelöst


GJam 2015 Rd1B: Noisy Neighbors
This Challenge is derived from <https://code.google.com/codejam/contest/8224486/dashboard#s=p1 GJam 2015 Rd 1B: Noisy Neighbors>...

etwa 11 Jahre vor

Gelöst


Don't Try, give up and return NaN.
This is another version of <http://www.mathworks.com/matlabcentral/cody/problems/3107-try-and-catch-simple-example problem 3107....

etwa 11 Jahre vor

Gelöst


N-Dimensional Array Slice
Given an N-dimensional array, _A_, an index, _I_, and a dimension, _d_, return the _I_ th elements of _A_ in the _d_ dimension. ...

etwa 11 Jahre vor

Gelöst


Deriving a function using the difference quotient
Write a function that evaluates the derivative of a function in a given point using the well-know formula of the difference quot...

etwa 11 Jahre vor

Gelöst


Try and Catch Simple Example
Try and Catch Simple Example <http://in.mathworks.com/help/matlab/ref/try.html Example> Vector x=[1 4 6 8 10]; Create...

etwa 11 Jahre vor

Gelöst


Long-digit Subtraction
Suppose you need to subtract a very large integer from another integer. <http://www.mathworks.com/matlabcentral/cody/problems/56...

etwa 11 Jahre vor

Gelöst


Matrix Construction I
Given n, construct a matrix as shown in the example below. Example For n=8, the output should look like this: 1 2 3 4 ...

etwa 11 Jahre vor

Gelöst


Rotate counterclockwise a matrix 90 deg with left-bottom element
Example: Input [ 1 2 3 4 5 6 ] Output [ 3 6 2 5 1 4 ]

etwa 11 Jahre vor

Gelöst


Finding the next number in a number list, are you able to crack it!
So it goes like this, I give a number list and you find the next value! I found a way to do it, just wondering how many other...

etwa 11 Jahre vor

Gelöst


Look and say Conway's sequence
In mathematics, the look-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, 312211, ...

etwa 11 Jahre vor

Gelöst


Repeat The Components of Matrix
Repeat The components of a matrix so that the size of the output matrix is double to input matrix and components are repeated ne...

etwa 11 Jahre vor

Problem


String math
You will be given a string that describes a simple math equation. Your job is to determine if the value of the equation is equa...

etwa 11 Jahre vor | 3 | 28 Lösungsvorschläge

Gelöst


Form Blocks in a 1D array
Lets say I have an array of size (10,1); I want to divide it into the num number of blocks which are given by user no_of_b...

etwa 11 Jahre vor

Gelöst


Test if a number is numeric or not
Test if a number is numeric or not

etwa 11 Jahre vor

Gelöst


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

etwa 11 Jahre vor

Gelöst


Create a square matrix of zeros of even order
Create a square matrix of zeros of even order

etwa 11 Jahre vor

Gelöst


factorial of a number x
Factorial of a number x

etwa 11 Jahre vor

Gelöst


calculate the tangent of angle in radians
Calculate the tangent of angle in degrees

etwa 11 Jahre vor

Gelöst


Calculate the logarithm of number
Calculate the logarithm of number x

etwa 11 Jahre vor

Gelöst


metre to feet converter
The idea is to make a converter, which exchange meters to feets. We use a factor of 1m = 3.281*1f. so 3m are equals to 9.843 m...

etwa 11 Jahre vor

Mehr laden