Risolto


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.

3 giorni fa

Risolto


The Five Infection (Boss Level)
Given a 3x3 matrix A, replace: every value that is equal to five every value that is directly adjacent to a five with zero in...

3 giorni fa

Problema


Almost done with the "tutorial"(Perimeter of a circle)
Find the perimeter of a circle(P) if radius r is given.

3 giorni fa | 0 | 7 risolutori

Problema


Not yet geometry(Circles)
Type the formula of the area(Ac) of a circle with radius r and a sector of a circle(As) with radius r and angle theta in rads. ...

3 giorni fa | 0 | 5 risolutori

Problema


Not yet geometry(square, rectangle and trapezium)
Type the formula of the area of a square(Asq) of side(a), a rectangle(Arec) of length(l) and width(w) and of a trapezium(Atr) of...

3 giorni fa | 1 | 5 risolutori

Problema


Not yet geometry(equilateral triangle)
Type the formula of the area(A) of an equilateral triangle with a side of a. Tip: As a string.

3 giorni fa | 0 | 5 risolutori

Problema


Not yet geometry(triangles)
Write the formula of the area of a triangle(A) that has a height of h and a base of b. Tip: Write the formula as a string.

3 giorni fa | 0 | 6 risolutori

Problema


Geometry time 7!(Extremely hard)
We have two circles. One small(C1) that is inside a bigger one (C2). C1 has a radius R1 and C2 has a radius R2. C1 is internally...

3 giorni fa | 0 | 5 risolutori

Problema


Geometry time 6! (Hard)
In the following shape you are requested to find the radius of the circle(r): Further explanation: 1) ABCD and pink shape are...

3 giorni fa | 0 | 4 risolutori

Problema


Geometry time 4!(Medium to hard)
Given the rectangle below you are requested to calculate its area(A) while the length of AE, BE and CE is given. Further explan...

3 giorni fa | 0 | 4 risolutori

Problema


Geometry time3!(Medium)
This time we have two circles! The shape is given below: You are requested to calculate the area of the two circles(A1 ,A2) g...

4 giorni fa | 0 | 5 risolutori

Risolto


Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2 3 3 3 4...

4 giorni fa

Risolto


Sum all integers from 1 to 2^n
Given the number x, y must be the summation of all integers from 1 to 2^x. For instance if x=2 then y must be 1+2+3+4=10.

4 giorni fa

Risolto


Magic is simple (for beginners)
Determine for a magic square of order n, the magic sum m. For example m=15 for a magic square of order 3.

4 giorni fa

Risolto


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

4 giorni fa

Risolto


Number of 1s in a binary string
Find the number of 1s in the given binary string. Example. If the input string is '1100101', the output is 4. If the input stri...

4 giorni fa

Risolto


Return the first and last characters of a character array
Return the first and last character of a string, concatenated together. If there is only one character in the string, the functi...

4 giorni fa

Risolto


Getting the indices from a vector
This is a basic MATLAB operation. It is for instructional purposes. --- You may already know how to find the logical indices o...

4 giorni fa

Risolto


Determine whether a vector is monotonically increasing
Return true if the elements of the input vector increase monotonically (i.e. each element is larger than the previous). Return f...

4 giorni fa

Risolto


Check if number exists in vector
Return 1 if number a exists in vector b otherwise return 0. a = 3; b = [1,2,4]; Returns 0. a = 3; b = [1,2,3]; Returns 1.

4 giorni fa

Risolto


Swap the first and last columns
Flip the outermost columns of matrix A, so that the first column becomes the last and the last column becomes the first. All oth...

4 giorni fa

Risolto


Swap the input arguments
Write a two-input, two-output function that swaps its two input arguments. For example: [q,r] = swap(5,10) returns q = ...

4 giorni fa

Problema


Gometry time2!(easy to medium)
Given the same circle as ''Geometry time!'' below you are now requested to to find the length of the section OAB(L). However the...

4 giorni fa | 0 | 6 risolutori

Risolto


Matlab Basics - Assigning Variables
Assign different types of data to variables: integer, double, and strings Example: A is a double, for example 2.34 B is a...

4 giorni fa

Risolto


Initialize a Natural Number matrix.
Given length of matrix initialize a matrix consisting of natural numbers from 1 to n: n = 10; x = [ 1 2 3 4 5 6 7 8 9 10]; ...

4 giorni fa

Risolto


Replace every 3rd element in a vector with 4
x is a vector of undetermined length You are to replace every 3rd element with the number 4, example: x = [11 23 34 43 2 3...

4 giorni fa

Risolto


Area of a Square
Inside a square is a circle with radius r. What is the area of the square?

4 giorni fa

Risolto


Area of rhombus
Calculate the rhombus area

4 giorni fa

Risolto


Geometry time!(easy)
Suppose that we have a square and its Area is given. Then we have the following circle (with center O) which has the same radius...

4 giorni fa

Problema


Geometry time!(easy)
Suppose that we have a square and its Area is given. Then we have the following circle (with center O) which has the same radius...

4 giorni fa | 0 | 8 risolutori

Carica altro