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

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

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

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

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

mehr als 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(...

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

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

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

mehr als ein Jahr vor

Gelöst


Area Conversion 2

mehr als ein Jahr vor

Gelöst


Area Conversion 1

mehr als ein Jahr vor

Gelöst


Mass Conversion 2

mehr als ein Jahr vor

Gelöst


Mass Conversion 1

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Temperature Conversion 2

mehr als ein Jahr vor

Gelöst


Temperature Conversion 1

mehr als ein Jahr vor

Gelöst


Find Logic 19

mehr als ein Jahr vor

Gelöst


Find Logic 18

mehr als ein Jahr vor

Gelöst


Find Logic 17

mehr als ein Jahr vor

Gelöst


Find Logic 16

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

mehr als ein Jahr vor

Gelöst


Find Logic 15

mehr als ein Jahr vor

Gelöst


Find Logic 13

mehr als ein Jahr vor

Gelöst


Find Logic 12

mehr als ein Jahr vor

Gelöst


Find Logic 11

mehr als ein Jahr vor

Gelöst


Find Logic 10

mehr als ein Jahr vor

Gelöst


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

mehr als ein Jahr vor

Gelöst


Find Logic 8

mehr als ein Jahr vor

Gelöst


Find Logic 7

mehr als ein Jahr vor

Gelöst


Find Logic 6

mehr als ein Jahr vor

Mehr laden