Resuelto


Sum of odd numbers in a matrix
Find the sum of all the odd numbers in a matrix. Example x = [2 3 5 7 1 4 11] y = 27

alrededor de 11 años hace

Resuelto


Concatenate two strings
Its very easy. Just concatenate two strings.

alrededor de 11 años hace

Resuelto


Binary
Given a positive, integer n, create a function that returns the respective binary number in the form of a vector. Example: ...

alrededor de 11 años hace

Resuelto


Cody Matlab Version
What is the current Cody Matlab Release? *Output:* string *Examples:* '(R2012a)' or 'R2012a' Hint: We have mo...

alrededor de 11 años hace

Resuelto


Area of a triangle
A triangle is given with base *'b'* ,vertical hight *'h'* . then find it's area.

alrededor de 11 años hace

Resuelto


Close MATLAB with keyboard
Close MATLAB with keyboard without using mouse

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


Sum of diagonals elements of a matrix
Given a matrix, return the sum of all the elements across the diagonals. E.g. A = [1 2 3; 4 5 6; 7 8 9;...

alrededor de 11 años hace

Resuelto


Check if equal
Return true if all the elements of an nD array are equal, false otherwise.

alrededor de 11 años hace

Resuelto


Returning a "greater than" vector
Given a vector, v, return a new vector , vNew, containing only values > n. For example: v=[1 2 3 4 5 6] n=3 vNew =...

alrededor de 11 años hace

Resuelto


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

alrededor de 11 años hace

Problema


Find Sign(Zero Crossing) Changes in Array
Example; A = [1 2 3 -3 -4 -1 -24 2 4 -1 -2 3 1]; ans; [1 2 0 -3 -4 -1 0 2 0 -1 ...

alrededor de 11 años hace | 2 | 6 solvers

Resuelto


Form a gaussian kernel using matrix size and sigma value
For example matrix = 3; sigma = 1.2; Gaussian kernel = [1 2 1; 2 2 2; 1 2 1]; ...

alrededor de 11 años hace

Resuelto


Set defaults
Write a function that computes the volume of a cube. The function should be able to accept three inputs: the length, width, and...

alrededor de 11 años hace

Resuelto


Reverse a matrix
Its simple. You have to reverse a given matrix.

alrededor de 11 años hace

Resuelto


convert matrix to single column
given any matrix, convert it to single column

alrededor de 11 años hace

Resuelto


Area of rhombus
Calculate the rhombus area

alrededor de 11 años hace

Resuelto


Duplicate a character
Duplicate a character 'n' times. Example 1: str='a' n=5 output='aaaaa' Example 2: str='*' n=3 output='***'

alrededor de 11 años hace

Resuelto


Determine the square root
Determine the square root of the value the user has entered, n.

alrededor de 11 años hace

Resuelto


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

alrededor de 11 años hace

Resuelto


Evaluating a polynomial
Given the following polynomial and the value for x, determine y. y = 3x^5 – x^3 + 8x – 3 Example x = 1 y = 3 - 1 +...

alrededor de 11 años hace

Resuelto


Tune your guitar
Given an input string with the scientific pitch notation for standard tuning ( <http://en.wikipedia.org/wiki/Guitar_tunings#Stan...

alrededor de 11 años hace

Resuelto


Complex number
For complex number c=a+bi, write code that will add a and b together.

alrededor de 11 años hace

Resuelto


Kaprekar numbers
Test if the input is a Kaprekar number: <http://mathworld.wolfram.com/KaprekarNumber.html>. Return a logical true or false. ...

alrededor de 11 años hace

Resuelto


How unique?
Sometimes, when we check unique entries of vector we would like to know how many times each value occurs. Given vector of num...

alrededor de 11 años hace

Resuelto


Histogram
Find the histogram of the matrix

alrededor de 11 años hace

Resuelto


Woodall number
Test whether the input is a Woodall number: <http://en.wikipedia.org/wiki/Woodall_number> _Please do not cheat by simply chec...

alrededor de 11 años hace

Resuelto


Squaring Matrix
Square the following matrix using matlab % A = 1 2 3 4 5 6 7 8 So new matrix should display...

alrededor de 11 años hace

Resuelto


Doubling elements in a vector
Given the vector A, return B in which all numbers in A are doubling. So for: A = [ 1 5 8 ] then B = [ 1 1 5 ...

alrededor de 11 años hace

Resuelto


Remove from a 2-D matrix all the rows that contain at least one element less than or equal to 4
Example: in = magic(5) in = 17 24 1 8 15 23 5 7 14 16 4 6 13 20 ...

alrededor de 11 años hace

Cargar más