A résolu


I told you not separate me, but you did :( - ACDC
Given input vector, output it's DC and AC value Example: input = 0 1 -1 0 ac = 0 1 -1 0 dc = 0

environ 2 mois il y a

A résolu


Add Even and Subtract Odd Numbers in an Array
For an input array, add all the even values and subtract the odd values. This final value is the output. E.g. input = [1 2 3 4...

environ 2 mois il y a

A résolu


Construyendo matrices parte 2
Construye la siguiente matriz a partir de otros tres vectores/matrices. [ 1 8 15 3 3 3 3 2 9 16 3 3...

environ 2 mois il y a

A résolu


Test
Answer the question and the correct answer write in vector. Only one answer is correct. 1a Yes 1b No 1c No 1d No ...

environ 2 mois il y a

A résolu


Equal temperament - musical notes and frequency
Starting from 440Hz note (musical note A above middle C), create 13 notes, using twelve-tone equal temperament, in Herz units. ...

environ 2 mois il y a

A résolu


Find the number of diagonals in a n sided polygon.
Find the number of diagonals in a n sided polygon.

environ 2 mois il y a

A résolu


provide the numerical answer to these number questions...
return a row matrix containing the sorted numbers which answer the following questions: a) what is the first Knuth number to...

environ 2 mois il y a

A résolu


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

environ 2 mois il y a

A résolu


Number Puzzle - 059

environ 2 mois il y a

A résolu


Number Puzzle - 086

environ 2 mois il y a

A résolu


Number Puzzle - 087

environ 2 mois il y a

A résolu


Number Puzzle - 065

environ 2 mois il y a

A résolu


Pluralization
Define function plu(n) that returns '' (an empty string) if n=1, or 's' otherwise. This is handy for displaying messages from a...

environ 2 mois il y a

A résolu


Bit to Gigabyte
1 bit = 1.25 × 10^-10 gigabytes | x is bit | y is gigabyte

environ 2 mois il y a

A résolu


Calculate the structural rank of a 2-by-4 matrix.

environ 2 mois il y a

A résolu


String Logic 18
Examples: 'DIG' --> 'DG' 'IMPORTANT' --> 'IPRAT' 'DEAL' --> 'DA' 'LIMB' --> 'LM' 'MOSTLY' --> 'MSL'

environ 2 mois il y a

A résolu


~(*|/)
Return three quarters of n without using addition, subtraction, multiplication or division.

environ 2 mois il y a

A résolu


The Triangle Stone of Destiny
After passing the Square Tree, Arjun reaches the entrance of a hidden cave. In front of the cave lies a glowing triangular stone...

environ 2 mois il y a

A résolu


The Equation Guardian
After activating the Circle of Protection, Arjun walks deeper into the cave and reaches a massive stone door. Suddenly, a giant ...

environ 2 mois il y a

A résolu


The Square Tree of Power
As Arjun crosses the Dividing River, he enters a sacred clearing where a giant glowing tree stands in the center. This is the le...

environ 2 mois il y a

A résolu


The Square Tree of Power
As Arjun crosses the Dividing River, he enters a sacred clearing where a giant glowing tree stands in the center. This is the le...

environ 2 mois il y a

A résolu


Acceleration in an Atwood Machine with Massive Pulley
Engineers at Indian Institute of Technology Delhi are designing a precision elevator calibration system using two masses connect...

environ 2 mois il y a

A résolu


Acceleration of Block Relative to Ground
Researchers at Indian Space Research Organisation test cargo motion inside accelerating spacecraft ramps. Find acceleration.

environ 2 mois il y a

A résolu


Alternating sum
Given vector x, calculate the alternating sum y = x(1) - x(2) + x(3) - x(4) + ...

environ 2 mois il y a

A résolu


Reverse the elements of an array
Reverse the order of elements in an array: eg: input X = [ 1 2 3 ; 4 5 6 ; 7 8 9 ] o...

environ 2 mois il y a

A résolu


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

environ 2 mois il y a

A résolu


Back to basics 23 - Triangular matrix
Covering some basic topics I haven't seen elsewhere on Cody. Given an input matrix, return a matrix with all elements above a...

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


Find the Best Hotels
Given three input variables: hotels - a list of hotel names ratings - their ratings in a city cutoff - the rating at which yo...

environ 2 mois il y a

Charger plus