Gelöst


Smallest distance between a point and a rectangle
Given two points *x* and *y* placed at opposite corners of a rectangle, find the minimal euclidean distance between another poin...

etwa ein Jahr vor

Gelöst


Fibonacci Decomposition
Every positive integer has a unique decomposition into nonconsecutive Fibonacci numbers f1+f2+ ... Given a positive integer n, r...

etwa ein Jahr vor

Gelöst


Create a random vector of integers with given sum
Your task today is to write a function that returns a vector of integer numbers, between, and including, 1 and m, of which the s...

etwa ein Jahr vor

Gelöst


Generate a random matrix A of (1,-1)
Input n: is an positive integer which serves as the dimension of the matrix A; Output: A=(Aij),where each entry Aij is either...

etwa ein Jahr vor

Gelöst


Make a random, non-repeating vector.
This is a basic MATLAB operation. It is for instructional purposes. --- If you want to get a random permutation of integer...

etwa ein Jahr vor

Gelöst


Roll the Dice!
Description Return two random integers between 1 and 6, inclusive, to simulate rolling 2 dice. Example [x1,x2] = rollDice(...

etwa ein Jahr vor

Gelöst


Generating random matrix with given probability mass function
Inspired by <http://www.mathworks.com/matlabcentral/cody/problems/2356-simulating-the-selection-of-a-state-with-given-probabilit...

etwa ein Jahr vor

Gelöst


Given n, create n random numbers such that their standard deviation is also n.
Given n, create n random numbers such that their standard deviation is also n.

etwa ein Jahr vor

Gelöst


Easy Sequences 10: Sum of Cumsums of Fibonacci Sequence
The function F(n) is defined as the set of Fibonacci numbers from the first up to the n-th. S(n) is the result of applying to F,...

etwa ein Jahr vor

Gelöst


Area Conversion 2

etwa ein Jahr vor

Gelöst


Area Conversion 1

etwa ein Jahr vor

Gelöst


Mass Conversion 2

etwa ein Jahr vor

Gelöst


Mass Conversion 1

etwa ein Jahr vor

Gelöst


Temperature Conversion 3
Given a temperature in Celcius, convert it to Fahrenheit.

etwa ein Jahr vor

Gelöst


Temperature Conversion 2

etwa ein Jahr vor

Gelöst


Temperature Conversion 1

etwa ein Jahr vor

Gelöst


Find Logic 19

etwa ein Jahr vor

Gelöst


Find Logic 18

etwa ein Jahr vor

Gelöst


Find Logic 17

etwa ein Jahr vor

Gelöst


Find Logic 16

etwa ein Jahr vor

Gelöst


Find Logic 14
Guess the Logic! logic(1) = 100 logic(2) = 96 logic(3) = 105 logic(4) = 89 logic(5) = 114 Make a function logic(x) which w...

etwa ein Jahr vor

Gelöst


Find Logic 15

etwa ein Jahr vor

Gelöst


Find Logic 13

etwa ein Jahr vor

Gelöst


Find Logic 12

etwa ein Jahr vor

Gelöst


Find Logic 11

etwa ein Jahr vor

Gelöst


Find Logic 10

etwa ein Jahr vor

Gelöst


Find Logic 9
Guess the Logic! logic(1) = 4 logic(2) = 1 logic(3) = 10 logic(4) = 2

etwa ein Jahr vor

Gelöst


Find Logic 8

etwa ein Jahr vor

Gelöst


Find Logic 7

etwa ein Jahr vor

Gelöst


Find Logic 6

etwa ein Jahr vor

Mehr laden