Resuelto


Find Logic 28

más de 1 año hace

Resuelto


Find Logic 20

más de 1 año hace

Resuelto


Find Logic 21

más de 1 año hace

Resuelto


Find Logic 32

más de 1 año hace

Resuelto


Find Logic 26

más de 1 año hace

Resuelto


Find Logic 27

más de 1 año hace

Resuelto


Find Logic 23

más de 1 año hace

Resuelto


Find Logic 22

más de 1 año hace

Resuelto


Determine if the square root is an integer.
Write code that returns true if perfect square and returns false if square root is not an integer.

más de 1 año hace

Resuelto


Cube root of max value in a vector
Find the cube root of the maximum value in a vector

más de 1 año hace

Resuelto


Find the square root of x
Determine the square root of x. For example square root of 4 is 2.

más de 1 año hace

Resuelto


Nth root
Nth root of a number x

más de 1 año hace

Resuelto


Back to basics 21 - Matrix replicating
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, generate an output matrix that consists o...

más de 1 año hace

Resuelto


ベクトルのスケーリング
入力したベクトルの大きさを1にしてください。

más de 1 año hace

Resuelto


二つのベクトルの要素ごとの積の平均を計算しよう
二つの同じ長さのベクトルが与えられたとき、二つのベクトルの要素ごとの積の平均を求めましょう。 例: 二つのベクトル [1 2 3] と [10 15 20] が与えられたとき、 それぞれの要素ごとの積の平均を取ると、 解は 33.3333 と...

más de 1 año hace

Resuelto


Weighted average
Given two lists of numbers, determine the weighted average as follows Example [1 2 3] and [10 15 20] should result in 33.3...

más de 1 año hace

Resuelto


sum of non-primes
The sum of the non-primes no larger than 10 is 1+4+6+8+9+10=38 Find the sum of all the positive non-prime integers that do no...

más de 1 año hace

Resuelto


X plus binary inverted x
Given a n-bits number x, what is the sum of x to the binary inverted version of x? (this might be more simple than you think :-)...

más de 1 año hace

Resuelto


select the primes of a vector
Find the prime numbers in a vector

más de 1 año hace

Resuelto


Reduce the logic
We have three logical input, x,y and z. The output is: y = ((x&y)|z)&((z|x&y)|(z&y|x))|((x&z)|z)&((y|x&z)|(z&x|y))|(x|y|z) ...

más de 1 año hace

Resuelto


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

más de 1 año hace

Resuelto


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

más de 1 año hace

Resuelto


Add the odd numbers
Add only the odd numbers of x example: x = [1 2 3 4 5] the positive numbers are: 1 3 5, so their sum is 9

más de 1 año hace

Resuelto


Counting down
Create a vector that counts from 450 to 200 in increments of 10.

más de 1 año hace

Resuelto


Flipping
Write code that can reverse the vector without using any sort of loop. Example Given the input vector A = [ 1 2 3 4 5...

más de 1 año hace

Resuelto


sum of ASCII
Given a string x, return the sum of all ASCII numbers of all characters. for example, if x='lala' ('l'-> 108, 'a'->97) then y...

más de 1 año hace

Resuelto


ASCii Code
Using Matlab get the ASCii for '?'

más de 1 año hace

Resuelto


ASCii Code
Using matlab, give the symbol that is associated with ASCii code 122

más de 1 año hace

Resuelto


Magnitude of a vector
Given a vector x, what is its magnitude?

más de 1 año hace

Resuelto


Count the numbers
In a array x, count the number of times the number n appears in x. for example: x = [1 2 3 4 3 2 1 2] and n = 2 the answer sh...

más de 1 año hace

Cargar más