Risolto

Cut an orange

Inspired by problem <http://www.mathworks.co.uk/matlabcentral/cody/problems/2175 2175>. A hungry matlab enthusiast has an ora...

oltre 2 anni fa

Risolto

Distance between two GPS Coordinates

A problem that arises when performing geographically weighted regression is determining the distance between GPS coordinates. GI...

oltre 2 anni fa

Risolto

rectangle in circle

In the figure below, the rectangle at the corner measures a cm x b cm. What is the radius of the circle in cm? <<http://www....

oltre 2 anni fa

Risolto

Wayfinding 3 - passed areas

This is the third part of a series of assignments about wayfinding. The final goal of this series is to be able to calculate the...

oltre 2 anni fa

Risolto

Wayfinding 2 - traversing

This is the second part of a series of assignments about wayfinding. The final goal is to be able to calculate the fastest route...

oltre 2 anni fa

Risolto

Wayfinding 1 - crossing

This is the first part of a series of assignments about wayfinding. The final goal is to be able to calculate the fastest route ...

oltre 2 anni fa

Risolto

Basic electricity in a dry situation

⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ ⚡ &#...

oltre 2 anni fa

Risolto

A Simple Tide Gauge with MATLAB

*∿ ∿ ∿ ∿ ∿ ∿ ∿ ∿* You are standing in a few inches of sea water on a beach. You a...

oltre 2 anni fa

Risolto

distance to a straight line (2D) given any 2 distinct points on this straight line

Given 2 points P1,P2 on a straight line and a 3rd point, determine the distance of the 3rd point to the straight line. Your answ...

oltre 2 anni fa

Risolto

Sort numbers by outside digits

Sort the array so that they are sorted as if their value was a 5 digit number made from the first three and last two digits of t...

oltre 2 anni fa

Risolto

Successive zeros(harder)

The problem is from Problem 45436, <https://ww2.mathworks.cn/matlabcentral/cody/problems/45436-successive-zeros> suppose n is...

oltre 2 anni fa

Risolto

Poker Series 11: selectBestHand

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

oltre 2 anni fa

Risolto

Poker Series 10: bestHand

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

oltre 2 anni fa

Risolto

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

oltre 2 anni fa

Risolto

Math with Roman Numerals

Given a function R within (+,-,*,/) and two Roman numerals a & b, compute aRb in Roman numerals.

oltre 2 anni fa

Risolto

Decode a simplified barcode

Given a bar code from this <http://www.mathworks.com/matlabcentral/cody/problems/602-make-a-simplified-bar-code exercise>: Re...

oltre 2 anni fa

Risolto

Make a simplified barcode

Given an integer to encode, make a barcode using the following encoding scheme: * The bar code is made from the binary versio...

oltre 2 anni fa

Risolto

Convert Roman to Arabic Numerals

Based upon what I see on tv and at the movies, the use of Roman numerals indicates something is important or sophisticated (e.g....

oltre 2 anni fa

Risolto

Prime Sum

What is the minimum value that can be written as sum of primes in n different ways? For example, 10 is the minimum value th...

oltre 2 anni fa

Risolto

Split bread like the Pharaohs - Egyptian fractions and greedy algorithm

How would you split 5 loaves of bread among 8 people in all fairness? Get a hint from the Pharaohs. 5/8 = 4/8 + 1/8 , i.e. each ...

oltre 2 anni fa

Risolto

Minimal Path - 01

Given a matrix, find the minimal path sum from the top left to the bottom right by only moving to the right and down. For exa...

oltre 2 anni fa

Risolto

Reverse Calculator

Use this reverse calculator and give correct output Its simple, In my Reverse calculator if you press 0 it will be considered...

oltre 2 anni fa

Risolto

Additive persistence

Inspired by Problem 2008 created by Ziko. In mathematics, the persistence of a number is the *number of times* one must apply...

oltre 2 anni fa

Risolto

what can you get for exactly amount of money

You go to store, where each product has price. Prices are in vector s = [ 195 125 260 440 395 290] and you have amount ...

oltre 2 anni fa

Risolto

Is this is a Tic Tac Toe X Win?

For the game of <https://en.wikipedia.org/wiki/Tic-tac-toe Tic Tac Toe> we will be storing the state of the game in a matrix M. ...

oltre 2 anni fa

Risolto

How to subtract?

*± ± ± ± ± ± ± ± ± ± ±* * Imagine you need to subtract one...

oltre 2 anni fa

Risolto

Van Eck's Sequence's nth member

Return the Van Eck's Sequence's nth member. For detailed info : <http://oeis.org/A181391 OEIS link> and <https://www.theguard...

oltre 2 anni fa

Risolto

Pernicious Anniversary Problem

Since Cody is 5 years old, it's pernicious. A <http://rosettacode.org/wiki/Pernicious_numbers Pernicious number> is an integer w...

oltre 2 anni fa

Risolto

The glass half full

Identical glasses are placed in a triangular tower structure, such that the top level (L = 1) comprises one glass, the next leve...

oltre 2 anni fa