Risolto


Number Puzzle - 056

2 mesi fa

Risolto


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 mesi fa

Risolto


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

2 mesi fa

Risolto


Dot Product

2 mesi fa

Risolto


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 mesi fa

Risolto


step function

2 mesi fa

Risolto


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

2 mesi fa

Risolto


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 mesi fa

Risolto


Area of rhombus
Calculate the rhombus area

2 mesi fa

Risolto


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

2 mesi fa

Risolto


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 mesi fa

Risolto


Number Puzzle - 087

2 mesi fa

Risolto


Number Puzzle - 086

2 mesi fa

Risolto


Number Puzzles - 011

2 mesi fa

Risolto


Number Puzzles - 007

2 mesi fa

Risolto


F-score

2 mesi fa

Risolto


Taxi vs Euclides

2 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


Area of Ellipse

2 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


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 mesi fa

Risolto


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

2 mesi fa

Risolto


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

2 mesi fa

Risolto


sign function

2 mesi fa

Risolto


Watt
Ampere x Volt = Watt

2 mesi fa

Carica altro