Resuelto


Create an array (n,n) where only diagonal elements are '1' and others are '0'
Create an array (n,n) where only diagonal elements are '1' and others are '0' EX: n = 3; then Resultant array would be [ 1 0...

alrededor de 11 años hace

Enviada


viewboundary
Show decision boundaries of classification tree in feature space.

alrededor de 11 años hace | 303 descargas |

0.0 / 5
Thumbnail

Enviada


Kaggle: Denoising Dirty Documents with MATLAB
Starter code for completing the Kaggle competition with MATLAB.

alrededor de 11 años hace | 239 descargas |

5.0 / 5
Thumbnail

Resuelto


Find vampire numbers
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such th...

alrededor de 11 años hace

Resuelto


Fangs of a vampire number
A <http://en.wikipedia.org/wiki/Vampire_number vampire number> is a number v that is the product of two numbers x and y such tha...

alrededor de 11 años hace

Resuelto


Polite numbers. Politeness.
A polite number is an integer that sums of two or more consecutive positive integers. Politeness of a positive integer is a num...

alrededor de 11 años hace

Resuelto


N-th Odious
Given index n return n-th <https://oeis.org/A000069 odious number>.

alrededor de 11 años hace

Resuelto


Is this number Munchhausen Narcissistic?
In this problem, simply return 1 if a supplied number is Munchhausen narcissistic or 0 if not. Example 153 is narcissistic...

alrededor de 11 años hace

Resuelto


Polite numbers. N-th polite number.
A polite number is an integer that sums of at least two consecutive positive integers. For example _7 = 3+4_ so 7 is a polite...

alrededor de 11 años hace

Resuelto


Armstrong Number
Determine whether the given input n-digit number is Armstrong Number or not. Return True if it is an Armstrong Number. An n-D...

alrededor de 11 años hace

Resuelto


Evil Number
Check if a given natural number is evil or not. Read more at <https://oeis.org/A001969 OEIS>.

alrededor de 11 años hace

Resuelto


Find the 9's Complement
Find the 9's complement of the given number. An example of how this works is <http://electrical4u.com/9s-complement-and-10s-c...

alrededor de 11 años hace

Resuelto


Smith numbers
Return true if the input is a Smith number in base ten. Otherwise, return false. Read about Smith numbers at <http://en.wikipedi...

alrededor de 11 años hace

Resuelto


Normalize by maximum
Subtract the maximum value in a column from the corresponding columns of a matrix.

alrededor de 11 años hace

Resuelto


Calculate SImple Interest
SI=P*T*R

alrededor de 11 años hace

Resuelto


Conversion from hours to mili sec
Convert given input in hours to mili seconds

alrededor de 11 años hace

Resuelto


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

alrededor de 11 años hace

Resuelto


Compute Fibonacci Number
Compute the _n_-th Fibonacci Number f(0) = 0, f(1) = 1, f(2) = 1, f(3) = 2, ... f(42) = 267914296

alrededor de 11 años hace

Resuelto


index of n^2 in magic(n)
input=5 magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 10 ...

alrededor de 11 años hace

Resuelto


How many days does the cat take to climb out of the hole?
A cat accidentally falls down a hole with sloping but rough sides. It can climb out of the hole of height h metres, but for ever...

alrededor de 11 años hace

Resuelto


Remove element(s) from cell array
You can easily remove an element (or a column in any dimension) from a normal matrix, but assigning that value (or range) empty....

alrededor de 11 años hace

Resuelto


Vector
Create a 1 x 10 vector from 1 to 20 with increments of 2

alrededor de 11 años hace

Resuelto


The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...

alrededor de 11 años hace

Problema


The Python Challenge, Level 1: Decode strings
This problem is based on <http://www.pythonchallenge.com/pc/def/map.html Level 1 of The Python Challenge>, which is just a serie...

alrededor de 11 años hace | 2 | 32 solvers

Resuelto


Square the input
Given a scalar or vector x, return the square of each element. Example x = [7 2] answer = [49 4]

alrededor de 11 años hace

Resuelto


Compute LOG(1+X) in natural log
Compute LOG(1+X) in natural log

alrededor de 11 años hace

Resuelto


the fly, the train, the second train, and their Zeno's paradox
*You have heard this one*: A train leaves station _A_ and travels with constant velocity _v1_. A second train leaves station _B_...

alrededor de 11 años hace

Resuelto


Calculate the integral of the polynomial
for e.g. in = [3 2 1] out = [1 1 1 0]

alrededor de 11 años hace

Resuelto


Polynomial division
Divide a polynomial u by polynomial v and return the quotients only. Example: u = x^4+3*x^3+5*x+3 v = x^2+1 Answer: ...

alrededor de 11 años hace

Resuelto


Clock Hand Angle 1
Given a time in HH:MM:SS, find the smallest angle (in degrees) between the hour and minute hand

alrededor de 11 años hace

Cargar más