Solved

Negative without '-'

Simple: return a negative number without using the '-' sign. Thanks to Problem <https://www.mathworks.com/matlabcentral/cody/...

6 Tage ago

Solved

Poker Series 09: IsHighCard

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

9 Tage ago

Solved

Poker Series 07: IsTwoPair

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

9 Tage ago

Solved

Poker Series 08: IsPair

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

9 Tage ago

Solved

Get ranks of values in a vector

For a given vector, say [6 3 8 2], return the ranks (ascending) of observations, i.e. [3 2 4 1]. Do not worry about tied ranks. ...

9 Tage ago

Solved

Rank of magic square (for beginners)

Compute the rank r of a magic square of order n WITHOUT rank and magic functions.

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

10 Tage ago

Solved

Create a matrix that counts up diagonally

Given a single input _N_, create a _N_ x _N_ matrix that counts from 1 : _N_ ², (along up-right diagonals, starting with 1 in th...

10 Tage ago

Solved

RMS value from a set of observations

Find rms value of a set of observations of a physical quantity? Hint: The observations are accessed in the form of vectors

10 Tage ago