Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

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

3 Monate vor

Gelöst


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

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

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

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

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

3 Monate vor

Gelöst


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

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

3 Monate vor

Gelöst


Draw a '9' in a zero matrix!

3 Monate vor

Gelöst


Draw a '8' in a zero matrix!

3 Monate vor

Gelöst


Draw a '7' in a zero matrix!

3 Monate vor

Gelöst


Draw a '6' in a zero matrix!

3 Monate vor

Gelöst


Draw a '5' in a zero matrix!

3 Monate vor

Gelöst


Draw a '4' in a zero matrix!

3 Monate vor

Gelöst


Draw a '3' in a zero matrix!

3 Monate vor

Gelöst


Draw a '2' in a zero matrix!

3 Monate vor

Gelöst


Draw a '1' in a zero matrix!

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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

3 Monate vor

Gelöst


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 Monate vor

Mehr laden