Solved


Number Puzzle - 056

2 months ago

Solved


Is it the answer to life the universe and everything?
The answer to life the universe and everything is 42, but this is naturally in base 13. Unfortunately, MATLAB is in base 10, so ...

2 months ago

Solved


P(girl likes you | she smiled at you)
Compute the probability Given the input probabilities

2 months ago

Solved


Dot Product

2 months ago

Solved


Equal temperament - musical notes and frequency
Starting from 440Hz note (musical note A above middle C), create 13 notes, using twelve-tone equal temperament, in Herz units. ...

2 months ago

Solved


step function

2 months ago

Solved


determine if
determine if the elements of a matrix is a nan and return true

2 months ago

Solved


Perfect Square
Determine if the input is a perfect square (square of an integer) or not. Example - If input is 25(==5^2), return 1. If input...

2 months ago

Solved


Area of rhombus
Calculate the rhombus area

2 months ago

Solved


What percentage?
Calculate the output c as the percentage of a on b for given a and b.

2 months ago

Solved


STOP that car!!!
The maximum allowed speed for this road is 100. Find the cars that didn't observe the speed limit Arrest and fine them!!!

2 months ago

Solved


Number Puzzle - 087

2 months ago

Solved


Number Puzzle - 086

2 months ago

Solved


Number Puzzles - 011

2 months ago

Solved


Number Puzzles - 007

2 months ago

Solved


F-score

2 months ago

Solved


Taxi vs Euclides

2 months ago

Solved


Harmonic series counting
The function takes a positive limit as input, And counts how many terms must be summed in the harmonic series: 1/1, 1/2, 1/3, ...

2 months ago

Solved


Absolute Value of the Product of Complex Numbers
Find the absolute value (modulus) of the product of two complex numbers given by a + bi and c + di.

2 months ago

Solved


Area of Ellipse

2 months ago

Solved


Change on Spiral Matrix
n>=3, generate a matrix of nth such that n^2 is the max number, and max number must be in [1,1] or [end, end]. One example will ...

2 months ago

Solved


Polygon Interior Angle Sum
Given the number of sides of a regular polygon, find the sum of interior angles. Return 0 for input for which regular polygon a...

2 months ago

Solved


Pass the Threshold!!
Write a Matlab function that will take as input a matrix of arbitrary dimensions and a scalar threshold value, and return a vec...

2 months ago

Solved


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

2 months ago

Solved


Test within tolerance
Given a vector of experimental data, D, and a vector of truth data, T, return FALSE if any +/- errors (D-T) are outside a given ...

2 months ago

Solved


Concatenate a successive power matrix in a column matrix
Generate F = [M1 M^2 ... M^p] with M a matrix, without using for.

2 months ago

Solved


03 - Matrix Variables 5
Make the following variable: <<http://samle.dk/STTBDP/Assignment1_3e.png>>

2 months ago

Solved


sign function

2 months ago

Solved


Watt
Ampere x Volt = Watt

2 months ago

Load more