Solved

Successive zeros

Suppose n is the number of digits a number contains. Now, 12032 - is a valid n=5 digit number. But 10023 - is defined as i...

plus d'un an ago

Solved

Frugal number

check whether n is a frugal number * a frugal number is a natural number in a given number base that has more digits than the...

plus d'un an ago

Solved

Pseudo-vampire number

refer to <https://en.wikipedia.org/wiki/Vampire_number> Given a number x, determine whether it is a pseudo-vampire number. ...

plus d'un an ago

Solved

Area-04

The dimension of a rectangle is given. There are two circles of equal size that are inscribed inside it.The circles are tangent ...

plus d'un an ago

Solved

Evaluate the Struve function

The <https://en.wikipedia.org/wiki/Struve_function Struve function> *H*_a(x) is a solution to an inhomogeneous form of Bessel's ...

plus d'un an ago

Solved

Weighted Names

A cell is given which contains several names. You've to return those names sorted by their weight. Weight is to be calculate...

plus d'un an ago

Solved

Bell Triangle

Form the bell triangle upto nth bell number posotion; * if n=5 * y= [1 0 0 0 0; 1 2 0 0...

plus d'un an ago

Solved

Check Digit - 01

The International Standard Book Number (ISBN) is a numeric commercial book identifier that is intended to be unique. It used ...

plus d'un an ago

Solved

Coin distribution

Imagine, u r in a shop. ur bill is n(2200). u want to pay the bill with minimum no of coins u have. u've coins of - 2000,1000...

plus d'un an ago

Solved

Hanging cable - 01

The height of the poles is h the length of the cable is l u need to find the minimum distance between the poles whic...

plus d'un an ago

Solved

Castling-03

Given the position of different chess pieces on the chessboard, figure out whether castling is valid or not in the next move (wh...

plus d'un an ago

Solved

Sieve of Eratosthenes

Find the nth lucky prime number. <https://planetmath.org/luckyprime> can u find a way for large n?

plus d'un an ago

Solved

Three...is a magic number.

Yes it is... It's a magic number... To help you get rid of that earworm, here's a new Cody problem. You are given a squar...

plus d'un an ago

Solved

Create a Cell array of month-end date strings within a date range

This is a variation of <http://www.mathworks.com/matlabcentral/cody/problems/1039-get-an-array-of-month-ends-in-a-date-range Get...

plus d'un an ago

Solved

Extract Built In Functions and Toolbox Functions from String or Function Handle

Find the Built-In functions and Toolbox functions in either a string or a function handle. Generate a string of alphabetized ...

plus d'un an ago

Solved

Sum of big primes without primes

Inspired by Project Euler n°10 (I am quite obviously a fan). With problem n°250 by Doug, you can find some global methods to ...

plus d'un an ago

Solved

QWERTY Shift Code Decoder

Decode a string encoded using the QWERTY shift code. QWERTY shift code is where the message was touch typed but with an offse...

plus d'un an ago

Solved

QWERTY Shift Encoder

Encode a string using the QWERTY shift code. This code is where you touch type but are offset by one character to the right. ...

plus d'un an ago

Solved

Infinite precision division

Develop a function that will divide a very very large integer numerator, supplied to function as a string (e.g., '12233344445555...

plus d'un an ago

Solved

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

plus d'un an ago