Solved

Let's see how peculiar we can get

The task is to multiply two numbers. But do it in the most peculiar possible way.

4 years ago

Solved

Esoteric Trigonometry

From Wikipedia: "All of the trigonometric functions of an angle θ can be constructed geometrically in terms of a unit circle cen...

4 years ago

Solved

Cut an orange

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

4 years ago

Solved

Distance between two GPS Coordinates

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

4 years ago

Solved

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

4 years ago

Solved

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

4 years ago

Solved

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

4 years ago

Solved

LASER Tracker - Mirror Distance and Angle

Determine the mirror's distance and relative angle to the LASER Tracker given the distances to a reference SMR (Spherical Mounte...

4 years ago

Solved

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

4 years ago

Solved

Radiation Heat Transfer — View Factors (3)

View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

4 years ago

Solved

Radiation Heat Transfer — View Factors (2)

View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

4 years ago

Solved

Radiation Heat Transfer — View Factors (1)

View factors (aka configuration factors) are utilized in some radiation heat transfer models to estimate heat transfer rates bet...

4 years ago

Solved

Pairwise Euclidean Distance

Given two matrices A,B of dimensions NxK and NxL respectively, calculate the pairwise euclidean distance of all vectors (columns...

4 years ago

Solved

Vector parallel to plane?

Given the coefficients of the equation which defines a plane as follows: ax+by+cz=d, return a boolean indicating whether the 2n...

4 years ago

Solved

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

4 years ago

Solved

Do the lines intersect?

You are given two line segments. Do they cross? Consider one segment as (x1,y1) to (x2,y2), the other segment as (x3,y3) to (...

4 years ago

Solved

Avalaible area: wall construction

You need to build a wall to enclose a certain area. Calculate the available area after you build the wall. Assumptions * ...

4 years ago

Solved

Slicing the cube

A bored matlab enthusiast has a cube with volume n^3. He decides to paint the entire surface of the cube red. Then, with slices...

4 years ago

Solved

Parallel vectors

Return true or false depending on whether 2 vectors are parallel or not. Vectors can be 2 or 3 dimensional. The origin is not c...

4 years ago

Solved

Determine if input is divisible by three.

Given a positive integer, n, determine if n is divisible by 3. If yes, the function should output true. If no, false.

4 years ago

Solved

Check that number is whole number

Check that number is whole number Say x=15, then answer is 1. x=15.2 , then answer is 0. <http://en.wikipedia.org/wiki/Whole...

4 years ago

Solved

Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4

Example: in = magic(5) in = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 ...

4 years ago

Solved

Find number of days

The input is two date in string format (dd-mm-yyyy) find out the number of days between these two dates. Example: input: ...

4 years ago

Solved

random picture with random colours

write a function which creates a random(x,y) matrix with random RGB colours for example create_pic(5,5) gives us a 3d matrix. ...

4 years ago

Solved

Vector Multiplication

Vector Multiplication of three matrix as shown in test cases.

4 years ago

Solved

Find out total non zero element of matrix

Find out Non zero element of matrix A=magic(5) 17 24 1 8 15 23 5 7 14 16 4 6...

4 years ago

Solved

Count decimal digits of a number

* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...

4 years ago

Solved

Remove the positive integers.

Given array,x, remove all the positive numbers and display ouput as y. Example x=[1 -2 3 -4] , output is y=[-2 -4].

4 years ago

Solved

Valid Chess Moves

Using <http://en.wikipedia.org/wiki/Algebraic_chess_notation standard Algebraic notation> ('' for a pawn), given previous move a...

4 years ago