解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


to the 2 all elements
to the 2 all elements

2年以上 前

解決済み


Draw a '0' in a one matrix!

2年以上 前

解決済み


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

2年以上 前

解決済み


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

2年以上 前

解決済み


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...

約3年 前

解決済み


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...

約3年 前

解決済み


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...

約3年 前

解決済み


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...

約3年 前

解決済み


Fahrenheit to Celsius converter
Convert Fahrenheit to Celsius degrees.

3年以上 前

解決済み


Celsius to Fahrenheit converter
Convert Celsius to Fahrenheit degrees.

3年以上 前

解決済み


Celsius to Kelvin
Convert Celsius degrees to Kelvin temperature.

3年以上 前

解決済み


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...

3年以上 前

解決済み


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...

3年以上 前

解決済み


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...

3年以上 前

解決済み


Find Logic 32

4年弱 前

解決済み


Find Logic 31

4年弱 前

解決済み


Find Logic 30

4年弱 前

解決済み


Find Logic 29

4年弱 前

解決済み


Find Logic 24

4年弱 前

解決済み


Find Logic 21

4年弱 前

解決済み


Find Logic 28

4年弱 前

解決済み


Find Logic 25

4年弱 前

解決済み


Find Logic 26

4年弱 前

解決済み


Find Logic 20

4年弱 前

解決済み


Find Logic 27

4年弱 前

解決済み


Find Logic 23

4年弱 前

解決済み


Find Logic 22

4年弱 前

解決済み


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

4年弱 前

さらに読み込む