A résolu


Square root
Given x (a matrix), give back another matrix, where all the elements are the square roots of x's elements.

plus de 2 ans il y a

A résolu


Calculate the average value of the elements in the array
Calculate the average value of the elements in the array

plus de 2 ans il y a

A résolu


to the 2 all elements
to the 2 all elements

plus de 2 ans il y a

A résolu


Draw a '0' in a one matrix!

plus de 2 ans il y a

A résolu


Double all elements in the array
Duplicate all elements in the array

plus de 2 ans il y a

A résolu


calculate the length of matrix
input 1 array, calculate the length

plus de 2 ans il y a

A résolu


First non-zero element in each column
For a given matrix, calculate the index of the first non-zero element in each column. Assuming a column with all elements zero i...

environ 3 ans il y a

A résolu


Return unique values without sorting
If the input vector A is [42 1 1], the output value B must be the unique values [42 1] The values of B are in the same order a...

environ 3 ans il y a

A résolu


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

environ 3 ans il y a

A résolu


Specific Element Count
Given a vector _v_ and a element _e_, return the number of occurrences of _e_ in _v_. Note: NaNs are equal and there may be n...

environ 3 ans il y a

A résolu


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

plus de 3 ans il y a

A résolu


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

plus de 3 ans il y a

A résolu


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

plus de 3 ans il y a

A résolu


Find the nearest prime number
Happy 5th birthday, Cody! Since 5 is a prime number, let's have some fun looking for other prime numbers. Given a positive in...

plus de 3 ans il y a

A résolu


Split Even Number Into Two Primes
Given an even whole number n (> 2), return a 2-element vector of primes, p, such that p(1) + p(2) = n. Fun note: technically it...

plus de 3 ans il y a

A résolu


Determine if Input is Oddish or Evenish (Odd/Even Sum of Digits)
Given a positive integer n, determine whether n is "oddish" or "evenish" - that is, whether the sum of the digits of n is odd or...

plus de 3 ans il y a

A résolu


Find Logic 32

presque 4 ans il y a

A résolu


Find Logic 31

presque 4 ans il y a

A résolu


Find Logic 30

presque 4 ans il y a

A résolu


Find Logic 29

presque 4 ans il y a

A résolu


Find Logic 24

presque 4 ans il y a

A résolu


Find Logic 21

presque 4 ans il y a

A résolu


Find Logic 28

presque 4 ans il y a

A résolu


Find Logic 25

presque 4 ans il y a

A résolu


Find Logic 26

presque 4 ans il y a

A résolu


Find Logic 20

presque 4 ans il y a

A résolu


Find Logic 27

presque 4 ans il y a

A résolu


Find Logic 23

presque 4 ans il y a

A résolu


Find Logic 22

presque 4 ans il y a

A résolu


Binary Coder
Take an input number and print the binary value of this number.

presque 4 ans il y a

Charger plus