Solved


Last non-zero digit
Given a number n, find the last non-zero digit of the factorial of that number. You need to take care of the large values of n....

5 years ago

Solved


Polar Form Complex Number Entry
Write a function that takes the magnitude and angle(in degrees) of a complex number and returns a complex variable. Positive ang...

5 years ago

Solved


Hilbert numbers
Given a positive integer, n, return h as follows: 1. If n is not a <https://en.wikipedia.org/wiki/Hilbert_number Hilbert numb...

5 years ago

Solved


Luhn's Algorithm
Luhn's Algorithm is used as a checksum for credit card numbers or similar identifiers. It can detect single-digit changes and sw...

5 years ago

Solved


generate a matrix of Legendre polynomials
input = x - the degree of the polynomial output = matrix of Legendre polynomials

5 years ago

Solved


Lah Numbers
Create a square lower diagonal matrix containing the first n Lah number coefficients. In mathematics, the Lah numbers are coeffi...

5 years ago

Solved


Laguerre Polynomial
Create a square lower diagonal matrix containing the first n Laguerre Polynomial coefficients. For n=6, the Laguerre Matrix is: ...

5 years ago

Solved


Namespace
Create a set of n variable names 'a_1',...,'a_n' The result should be a column oriented cell array of strings. Example inp...

5 years ago

Solved


Distance of the centroids of the balls
Given *n* balls of radius *r* and the vector *p (nx3)* with all position *(x,y,z)* of the balls, return the symmetric matrix *A ...

5 years ago

Solved


Find the jerk
No, it's not the author of this problem... Jerk is the rate of change in acceleration over time of an object. So, if given t...

5 years ago

Solved


Number Puzzle - 095

5 years ago

Solved


Number Puzzle - 097

5 years ago

Solved


Number Puzzle - 098

5 years ago

Solved


Return strings encapsulated by braces
Return all substrings that are contained within braces ({}). For example: str = 'x = rho*x{-1} + (1-rho)*y{+1}'; when...

5 years ago

Solved


Adding Cells with numbers defined as strings
Given a cell, with strings representing numbers, add each value. For example: a = {'9','33'}; the output should be: ...

5 years ago

Solved


From a given cell array of strings, extract the non-unique strings.
We are given a cell array of strings C. From this cell array we require to extract the subset of non-unique strings, returning t...

5 years ago

Solved


Number Puzzle - 096

5 years ago

Solved


Number Puzzle - 099

5 years ago

Solved


Number Puzzle - 052

5 years ago

Solved


Number Puzzle - 054

5 years ago

Solved


Number Puzzle - 035

5 years ago

Solved


Number Puzzle - 036

5 years ago

Solved


Number Puzzle - 037

5 years ago

Solved


Number Puzzle - 041

5 years ago

Solved


Number Puzzle - 040

5 years ago

Solved


Number Puzzle - 039

5 years ago

Solved


Number Puzzle - 033

5 years ago

Solved


Number Puzzle - 032

5 years ago

Solved


Number Puzzle - 034

5 years ago

Load more