A résolu


determine if
determine if the elements of a matrix is a nan and return true

environ 8 ans il y a

A résolu


wipe out!
make all the elements in given x zero.

environ 8 ans il y a

A résolu


Increment up an input vector
Increment up an input vector by adding the indices to the vector values. For example, if an input vector is [3, 2, 6, 1, 6], the...

environ 8 ans il y a

A résolu


Integer Sequence - II : New Fibonacci
Crack the following Integer Sequence. (Hints : It has been obtained from original Fibonacci Sequence and all the terms are also ...

environ 8 ans il y a

A résolu


Even or Odd
Write a function which can tell us if the given value x is odd or even. So if x is even return true and if x is odd return false...

environ 8 ans il y a

A résolu


More Simple String Concatenation
Take the first string input, reverse the order of the string from the end to beginning (i.e. apple becomes elppa), add a space a...

environ 8 ans il y a

A résolu


Simple String Concatenation
This is a simple problem involving taking two incoming strings, and outputting the concatenated string with a space separating t...

environ 8 ans il y a

A résolu


Matrix Generation from Vector Multiplication
Output the matrix generated from multiplying two vectors together

environ 8 ans il y a

A résolu


Replace 0 indices in array with 1's
Take a incoming vector, and replace 0's with ones

environ 8 ans il y a

A résolu


Resizing Matrices
Take an 4x3 matrix, and resize it to a 2x6 matrix

environ 8 ans il y a

A résolu


Find the index of the lowest number in a matrix
Take a matrix, and find the [row cal] index of the lowest number

environ 8 ans il y a

A résolu


Matrix multiplication
Multiply two incoming matrices via matrix multiplication

environ 8 ans il y a

A résolu


Matrix Ax=B problem
Take a incoming A and B vector, and solve for x

environ 8 ans il y a

A résolu


Vector Element Multiplication
Take two incoming vectors, and output the element wise multiplication of the vectors.

environ 8 ans il y a

A résolu


Matrix element wise multiplication
Take two incoming vectors, and multiply them element wise

environ 8 ans il y a

A résolu


Simple Vector Addition
Take two incoming vectors and output the sum of the two vectors

environ 8 ans il y a

A résolu


'Absolute value'
Create a function called own_abs, which is the absolute number entered as the input return value.

environ 8 ans il y a

A résolu


Outlier number!
Find a number which has maximum distance from the mean value of vector A. Example: A=[5 2 1 5 6 2 5 9] y=9

environ 8 ans il y a

A résolu


Prime numbers between a , b.
Find all prime number between a & b (including a and b). example: a=100 b=120 y= [101 103 107 109 113]

environ 8 ans il y a

A résolu


Draw 'F'
Draw a x-by-x matrix 'F' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

environ 8 ans il y a

A résolu


Draw 'E'
Draw a x-by-x matrix 'E' using 1 and 0. (x is odd and bigger than 4) Example: x=5 ans= [1 1 1 1 1 1 0 0 0 0 ...

environ 8 ans il y a

A résolu


Draw 'H'
Draw a x-by-x matrix 'H' using 1 and 0. (x is odd and bigger than 2) Example: x=5 ans= [1 0 0 0 1 1 0 0 0 1 ...

environ 8 ans il y a

A résolu


Return a list sorted by number of consecutive occurrences
Inspired by Problem 38 by Cody Team. Given a vector x, return a vector y of the values in x sorted by the number of CONSECUTIVE...

environ 8 ans il y a

A résolu


imaginary results
Return the value of the imaginary number i to the power of input argument n.

environ 8 ans il y a

A résolu


Datetime basics
Generate the datetime scalar representing the current date

environ 8 ans il y a

A résolu


Nth root of a number
Given an input and a number N, find the Nth root of the number(s)

environ 8 ans il y a

A résolu


Breaking Out of the Matrix
Do you want to take the Red Pill, or the Blue Pill? If you take the Blue Pill, you will simply pass along to the next problem...

environ 8 ans il y a

Problème


Mean = Standard Deviation
Create a series with following properties; # All of the members should be positive integer # Mean of the series should be in...

environ 8 ans il y a | 5 | 11 solveurs

A résolu


Create logical matrix with a specific row and column sums
Given two numbers *|n|* and *|s|*, build an |n-by-n| logical matrix (of only zeros and ones), such that both the row sums and th...

environ 8 ans il y a

A résolu


Dial Up
Each number on telephone keypads, except 0 and 1, corresponds to a set of uppercase letters as shown in this list: 2 ABC, 3 DEF...

environ 8 ans il y a

Charger plus