Gelöst


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

8 Monate vor

Gelöst


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

8 Monate vor

Gelöst


Finding Perfect Squares
Given a vector of numbers, return true if one of the numbers is a square of one of the numbers. Otherwise return false. Example...

8 Monate vor

Gelöst


Return area of square
Side of square=input=a Area=output=b

8 Monate vor

Gelöst


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

8 Monate vor

Gelöst


Add two numbers
Given a and b, return the sum a+b in c.

8 Monate vor

Gelöst


Draw a '0' in a one matrix!

8 Monate vor

Gelöst


Remove all the columns contains only zero
Remove the column from the matrix which has only zeros . Refer the Example below a= 1 0 3 0 23 0 56 0 1 ...

8 Monate vor

Gelöst


row removal
Consider a matrix and remove the first row of the matrix.

8 Monate vor

Gelöst


Find Rows with Specift Properities
Delete rows with specific properites as following: Find rows that have a negative value in any element of the row and delete it...

8 Monate vor

Gelöst


Remove a specific column with min value
Remove the column that contain the min value in the matrix? If you like the problem, please give it a like:)

8 Monate vor

Gelöst


Remove a specific column with max value
Remove the column that contain the max value in the matrix? If you like the problem, please give it a like:)

9 Monate vor

Gelöst


Remove a specific row with min value
Remove the row that contain the min value in the matrix? If you like the problem, please give it a like:)

9 Monate vor

Gelöst


Remove a specific row with max value
Remove the row that contain the max value in the matrix? If you like the problem, please like it :)

9 Monate vor

Gelöst


Draw a '6' in a zero matrix!

9 Monate vor

Gelöst


Draw a '9' in a zero matrix!

9 Monate vor

Gelöst


Draw a '7' in a zero matrix!

9 Monate vor

Gelöst


Draw a '8' in a zero matrix!

9 Monate vor

Gelöst


Draw a '4' in a zero matrix!

9 Monate vor

Gelöst


Draw a '3' in a zero matrix!

9 Monate vor

Gelöst


Draw a '2' in a zero matrix!

9 Monate vor

Gelöst


Draw a '5' in a zero matrix!

9 Monate vor

Gelöst


Find x rows where the sum of the numbers is the maximum
Find x rows where the sum of the numbers is the maximum. For example: when x is 2 and m is 2 3 5 0 2 3 5 5 6 0 9 4 then y =...

9 Monate vor

Gelöst


Draw a '1' in a zero matrix!

9 Monate vor

Gelöst


Sum of series III
What is the sum of the following sequence: Σ(2k-1)^3 for k=1...n for different n?

9 Monate vor

Gelöst


Sum of series II
What is the sum of the following sequence: Σ(2k-1)^2 for k=1...n for different n?

9 Monate vor

Gelöst


Sum of series I
What is the sum of the following sequence: Σ(2k-1) for k=1...n for different n?

9 Monate vor

Gelöst


Sum of series VII
What is the sum of the following sequence: Σ(km^k)/(k+m)! for k=1...n for different n and m?

9 Monate vor

Gelöst


Rotate Matrix @180 degree
Rotate Matrix @180 degree Example A=[8 1 6; 3 5 7; 4 9 2], then answer would be [2 9 4;...

9 Monate vor

Gelöst


Converts numbers into characters
Converts numbers into characters

9 Monate vor

Mehr laden