A résolu


Number Puzzle - 056

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


Dot Product

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


step function

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


Area of rhombus
Calculate the rhombus area

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


Number Puzzle - 087

environ 2 mois il y a

A résolu


Number Puzzle - 086

environ 2 mois il y a

A résolu


Number Puzzles - 011

environ 2 mois il y a

A résolu


Number Puzzles - 007

environ 2 mois il y a

A résolu


F-score

environ 2 mois il y a

A résolu


Taxi vs Euclides

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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.

environ 2 mois il y a

A résolu


Area of Ellipse

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


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

environ 2 mois il y a

A résolu


sign function

environ 2 mois il y a

A résolu


Generate a list of composite numbers

environ 2 mois il y a

A résolu


Watt
Ampere x Volt = Watt

environ 2 mois il y a

Charger plus