Resuelto


Remove entire row and column in the matrix containing the input values
Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

2 meses hace

Resuelto


Column Removal (★★★)
(copy of prob 7) Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2...

2 meses hace

Resuelto


remove every row&col for every nan
for a given matrix, remove the row and column of every nan. Example x=[1 2 NaN 4 5 6 7 8 ...

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


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

2 meses hace

Resuelto


Construct an index vector from two input vectors in vectorized fashion
Create an index vector defined by two input vectors, one defining the beginnings of one or more index ranges, and the other defi...

2 meses hace

Resuelto


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

2 meses hace

Resuelto


Draw a '9' in a zero matrix!

2 meses hace

Resuelto


Draw a '8' in a zero matrix!

2 meses hace

Resuelto


Draw a '7' in a zero matrix!

2 meses hace

Resuelto


Draw a '6' in a zero matrix!

2 meses hace

Resuelto


Draw a '5' in a zero matrix!

2 meses hace

Resuelto


Draw a '4' in a zero matrix!

2 meses hace

Resuelto


Draw a '3' in a zero matrix!

2 meses hace

Resuelto


Draw a '2' in a zero matrix!

2 meses hace

Resuelto


Draw a '1' in a zero matrix!

2 meses hace

Resuelto


Implement a bubble sort technique and output the number of swaps required
A bubble sort technique compares adjacent items and swaps them if they are in the wrong order. This is done recursively until al...

2 meses hace

Resuelto


Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...

2 meses hace

Resuelto


Replicate elements in vectors
Replicate each element of a row vector (with NaN) a constant number of times. Examples n=2, A=[1 2 3] -> [1 1 2 2 3 3] n=0...

2 meses hace

Resuelto


Fill a zeros matrix
The aim is to fill an array of all zeros given a numerical value and the index of row and columns for this value. 3 Inputs: ...

2 meses hace

Resuelto


Matrix indexing with two vectors of indices
Given a matrix M and two index vectors a and b, return a row vector x where x(i) = M(a(i),b(i)).

2 meses hace

Resuelto


Return elements unique to either input
Given two numeric inputs a and b, return a row vector that contains the numbers found in only a or only b, but not both. For ex...

2 meses hace

Resuelto


middleAsColumn: Return all but first and last element as a column vector
Given input A, return all but the first and last elements, arranged as a column vector. (I.e., all dimensions after the first s...

2 meses hace

Resuelto


"Low : High - Low : High - Turn around " -- Create a subindices vector
Let two vectors *lo* and *hi* be given. The job is to create a index vector like so idx = [lo(1):hi(1) lo(2):hi(2) ...]...

2 meses hace

Resuelto


We love vectorized solutions. Problem 1 : remove the row average.
Given a 2-d matrix, remove the row average from each row. Your solution MUST be vectorized. The solution will be tested for ac...

2 meses hace

Resuelto


Find the distance between runs
Another question inspired by the <http://uk.mathworks.com/matlabcentral/answers/?s_tid=gn_mlc_an answers forum>: A vector of ...

3 meses hace

Cargar más