Risolto


Resistance in a circuit
Two resistors with values of 6.0 ohms and 12 ohms are connected in parallel. This combination is connected in series with a 4 o...

circa un anno fa

Risolto


Spot the outlier
All points except for one lie on a line. Which one is the outlier? Example: You are given a list of x-y pairs in a column ...

circa un anno fa

Risolto


surface of a spherical planet
you just discovered its circumference, that is the input.

circa un anno fa

Risolto


World Cup 2018 Prediction!
Which team will be the winner?

circa un anno fa

Risolto


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]

circa un anno fa

Risolto


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

circa un anno fa

Risolto


Draw 'O' !
Given n as input, generate a n-by-n matrix 'O' using 0 and 1 . example: n=4 ans= [1 1 1 1 1 0 0 1 ...

circa un anno fa

Risolto


Draw a '9' in a zero matrix!

circa un anno fa

Risolto


Draw a '3' in a zero matrix!

circa un anno fa

Risolto


Draw a '7' in a zero matrix!

circa un anno fa

Risolto


Draw a '0' in a one matrix!

circa un anno fa

Risolto


Draw a '8' in a zero matrix!

circa un anno fa

Risolto


Draw a '5' in a zero matrix!

circa un anno fa

Risolto


Draw a '6' in a zero matrix!

circa un anno fa

Risolto


Draw a '4' in a zero matrix!

circa un anno fa

Risolto


Draw a '2' in a zero matrix!

circa un anno fa

Risolto


Draw a '1' in a zero matrix!

circa un anno fa

Risolto


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

circa un anno fa

Risolto


Generate pi using logarithm
Generate pi using logarithm

circa un anno fa

Risolto


Back to basics 8 - Matrix Diagonals
Covering some basic topics I haven't seen elsewhere on Cody. Given an input vector of numbers, output a square array with the...

circa un anno fa

Risolto


Solve an ODE: first-order linear equation
In the fall semester of [redacted], my professor for a course on ordinary differential equations said, “There are two groups of ...

circa un anno fa

Risolto


Solve a nonlinear difference equation

circa un anno fa

Risolto


Convert to Binary Coded Decimal
Convert from decimal representation to <http://en.wikipedia.org/wiki/Binary-coded_decimal Binary Code Decimal> (or BCD) represen...

circa un anno fa

Risolto


Easy Sequences 3: Prime 44-number Squares
The positive integers 62 and 238 are related. Their squares (3844 and 56,644) both end in '44'. In fact, 62 and 238 are the 3rd ...

circa un anno fa

Risolto


Easy Sequences 10: Sum of Cumsums of Fibonacci Sequence
The function F(n) is defined as the set of Fibonacci numbers from the first up to the n-th. S(n) is the result of applying to F,...

circa un anno fa

Risolto


Easy Sequences 1: Find the index of an element
The nth element of a series is defined by: . Obviously, the first element . Given the nth element , find the value of the corre...

circa un anno fa

Risolto


Divisible by 6
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

circa un anno fa

Risolto


Divisible by 5
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

circa un anno fa

Risolto


Divisible by 4
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

circa un anno fa

Risolto


Divisible by 3
Pursuant to the <http://www.mathworks.com/matlabcentral/cody/problems/42404-divisible-by-2 first problem> in this series, this o...

circa un anno fa

Carica altro