Gelöst


Draw a '4' in a zero matrix!

mehr als ein Jahr vor

Gelöst


Draw a '6' in a zero matrix!

mehr als ein Jahr vor

Gelöst


Draw a '9' in a zero matrix!

mehr als ein Jahr vor

Gelöst


Draw a '8' in a zero matrix!

mehr als ein Jahr vor

Gelöst


Draw a '7' in a zero matrix!

mehr als ein Jahr vor

Gelöst


Rule of mixtures (composites) - either bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

mehr als ein Jahr vor

Gelöst


Rule of mixtures (composites) - lower and upper bounds
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

mehr als ein Jahr vor

Gelöst


Rule of mixtures (composites) - upper bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

mehr als ein Jahr vor

Gelöst


Rule of mixtures (composites) - lower bound
The <http://en.wikipedia.org/wiki/Rule_of_mixtures rule of mixtures> is used in the mechanical design of composite structures to...

mehr als ein Jahr vor

Gelöst


Radians to Degrees
Convert radians to degrees.

mehr als ein Jahr vor

Gelöst


Degrees to Radian
Convert degrees to radians

mehr als ein Jahr vor

Gelöst


Finding area of a triangle.
Find the area of an equalateral triangle with sides of 3 inches,

mehr als ein Jahr vor

Gelöst


divide by 5

mehr als ein Jahr vor

Gelöst


Replace Nonzero Numbers with 1
Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

mehr als ein Jahr vor

Gelöst


Find the number of diagonals in a n sided polygon.
Find the number of diagonals in a n sided polygon.

mehr als ein Jahr vor

Gelöst


Find the sum of the elements in the "second" diagonal
Find the sum of the elements in the diagonal that starts at the top-right corner and ends at the bottom-left corner.

mehr als ein Jahr vor

Gelöst


Rotate a Matrix
Input a Matrix x, Output y is the matrix rotating x 90 degrees clockwise

mehr als ein Jahr vor

Gelöst


Draw a '1' in a zero matrix!

mehr als ein Jahr vor

Gelöst


Flip the main diagonal of a matrix
Given a n x n matrix, M, flip its main diagonal. Example: >> M=magic(5); >> flipDiagonal(M) 9 24 1 ...

mehr als ein Jahr vor

Gelöst


Find the largest value in the 3D matrix
Given a 3D matrix A, find the largest value. Example >> A = 1:9; >> A = reshape(A,[3 1 3]); >> islargest(A) a...

mehr als ein Jahr vor

Gelöst


Crate a vector of logarithmically spaced
Create a vector of logarithmically spaced from 10^0 to 10^x with n sample Example: if x=4 and n=3 Answer must be=[1 100 10...

mehr als ein Jahr vor

Gelöst


Find out magnitude of vector
Find out magnitude of vector. Say x=[1 2 3], then answer must sqrt(1^2+2^2+3^2) Please don't use sum function. If you l...

mehr als ein Jahr vor

Gelöst


Back to Basics - Find no. of elements in a matrix?
Let A be a m*n matrix. Find the total no. of elements in A ? (Hint - formula based) A = [1 2 3;4 5 6]; output = 6

mehr als ein Jahr vor

Gelöst


Square root of number
Square root of given number.

mehr als ein Jahr vor

Gelöst


Perfect Square or not
find Given input x is perfect square or not,if yes then output y=1.else y=0

mehr als ein Jahr vor

Gelöst


Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] is s...

mehr als ein Jahr vor

Gelöst


Calculate the Number of Sign Changes in a Row Vector (No Element Is Zero)
For a row vector: V=[7 1 2 -3] there is one sign change (from 2 to -3). So, the function you write must return N=1. F...

mehr als ein Jahr vor

Gelöst


Combined Ages 1 - Symmetric, n = 3
You have probably seen the common riddle wherein combined ages are provided and you must determine the individual ages. For exam...

mehr als ein Jahr vor

Gelöst


Simpson's Paradox - Calculate correlation coefficients for groups of data
Simpson's Paradox is a statistical phenomenon where groups of data can have a characteristic while the whole data set together h...

mehr als ein Jahr vor

Gelöst


Flip the diagonal values
Write a program that flip the elements of main diagonal , upper and lower diagonal values of a sqare matrix. For example if a ...

mehr als ein Jahr vor

Mehr laden