Solved


Find the maximum two numbers of every column of a matrix
Find the maximum two numbers of every column of a matrix. Example: If we input a matrix A = [ 1 2 4 6 0 3 ...

11 months ago

Solved


Mirror Image matrix across anti-diagonal
Given an input number x, create a mirror image matrix 'Y' across the anti-diagonal. For example, if x=3, Y = [1 2 3; ...

11 months ago

Solved


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

11 months ago

Solved


Related Vectors
I have two vectors A & B. If the values in vector A is zero then the corresponding value in vector B should be zero. Example:...

11 months ago

Solved


Is it column vector?
Is it column vector? Check vector for column vector without using iscolumn function.

11 months ago

Solved


construct matrix with identical rows
Input a row vector such as x=1:10. Now we need to construct a matrix with L rows,of which every row vector is a copy of x. E...

11 months ago

Solved


modulus of a number
find the modulus of a given number

11 months ago

Solved


Remove white space from the string
Remove the white spaces (trailing and leading) from the input variable

11 months ago

Solved


Change matrix to vector
Vector is a matrix whose size is 1 x n or n x 1. Change matrix to vector. x = 4 3 5 1 ...

11 months ago

Solved


Finding an element in a vector
x is a vector of unknown length your function should return the index of the first element in the vector that is greater than...

11 months ago

Solved


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 :)

11 months ago

Solved


Energy Conversion 2

11 months ago

Solved


Energy Conversion 1

11 months ago

Solved


Area Conversion 2

11 months ago

Solved


Area Conversion 1

11 months ago

Solved


Mass Conversion 2

11 months ago

Solved


surrounded matrix
With a given matrix A (size m x n) create a matrix B (size m+2 x n+2) so that the matrix A is surrounded by ones: A = [1 2 ...

11 months ago

Solved


subtract central cross
Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

11 months ago

Solved


Area of a Square
Given the length x of the side of a regular square, find the area of the square, A.

11 months ago

Solved


letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...

11 months ago

Solved


What is the distance from point P(x,y) to the line Ax + By + C = 0?
Given a point, P(x,y), find the distance from this point to a linear line. INPUTS: x, y, A, B, C OUTPUTS: d, the distance ...

11 months ago

Solved


Angle between Two Vectors
The dot product relationship, a dot b = | a | | b | cos(theta), can be used to determine the acute angle between vector a and ve...

11 months ago

Solved


Calculate the mean of each half of a matrix
Given a matrix with an even number of columns, n, return a 1-by-2 row vector where the first element is the mean of all the elem...

11 months ago

Solved


Find the dimensions of a matrix
Just find the number of columns of the given matrix. Example x = [1 2 3 4 5 6] y = 2

11 months ago

Solved


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

11 months ago

Solved


Transpose
Write a MATLAB script in order to convert a random length row vector (v) into a column vector.

11 months ago

Solved


Is it a number?
Determine if input is numeric. If it is,output is 1; if it is not, output is 0.

11 months ago

Solved


Vectors counting by 2
Create a vector numbers from 7 to 15 in increments of 2

11 months ago

Solved


Find out sum of all elements of given Matrix
Find out sum of all elements of given Matrix A=[1 2 3;4 5 6 ;7 8 9]; Answer must be: 45 *If you like this problem, pl...

11 months ago

Solved


find the maximum element of the matrix
for e.g x = [1 2; 3 4] y = 4

11 months ago

Load more