# Indexing I

Curated by : goc3

Average Problem Difficulty:

Indexing I Master

+50 points

Problem Title Likes Solvers Difficulty

#### Problem 970. Piecewise linear interpolation

Created by: James

9

530

#### Problem 924. intersection of matrices

Created by: Richard

3

580

#### Problem 875. Return a list sorted by number of consecutive occurrences

Created by: Jean-Marie Sainthillier

8

352

#### Problem 532. Return unique values without sorting

Created by: Aurelien Queffurust

Tags unique, sorted

4

902

#### Problem 307. First non-zero element in each column

Created by: Julio

6

838

#### Problem 856. Getting the indices from a matrix

Created by: Jean-Marie Sainthillier

6

627

#### Problem 801. Construct an index vector from two input vectors in vectorized fashion

Created by: Christopher

11

376

#### Problem 672. Longest run of consecutive numbers

Created by: James

193

5253

#### Problem 895. Generate N equally spaced intervals between -L and L

Created by: @bmtran (Bryant Tran)

6

850

#### Problem 963. We love vectorized solutions. Problem 1 : remove the row average.

Created by: William Smith

7

806

#### Problem 885. Create logical matrix with a specific row and column sums

Created by: Amro

Tags matrix, logical, sum

16

298

#### Problem 867. Replicate elements in vectors

Created by: Jean-Marie Sainthillier

12

1151

#### Problem 859. Get the elements of diagonal and antidiagonal for any m-by-n matrix

Created by: Aurelien Queffurust

10

470

#### Problem 838. Check if number exists in vector

Created by: Nichlas

55

10954

#### Problem 830. Fill a zeros matrix

Created by: Aurelien Queffurust

8

607

#### Problem 824. Set the array elements whose value is 13 to 0

Created by: Aurelien Queffurust

14

1345

#### Problem 795. Joining Ranges

Created by: Dirk Engel

9

352

#### Problem 690. Remove the two elements next to NaN value

Created by: Aurelien Queffurust

9

643

#### Problem 676. Reindex a vector

Created by: James

4

694

#### Problem 652. Put two time series onto the same time basis

Created by: Ned Gulley

6

320

#### Problem 640. Getting logical indexes

Created by: Doug Hull

8

1097

#### Problem 589. Matrix indexing with two vectors of indices

Created by: Nicholas Howe

4

711

#### Problem 584. middleAsColumn: Return all but first and last element as a column vector

Created by: Nicholas Howe

3

597

#### Problem 576. Return elements unique to either input

Created by: James

6

759

#### Problem 555. "Low : High - Low : High - Turn around " -- Create a subindices vector

Created by: Freddy

3

529

#### Problem 528. Find the largest value in the 3D matrix

Created by: Bruce Raine

5

1491

#### Problem 367. Specific Element Count

Created by: @bmtran (Bryant Tran)

8

870

#### Recent Activity

 on 22 Jun 2024 at 19:14 on 21 Jun 2024 at 13:56 on 21 Jun 2024 at 13:54 on 21 Jun 2024 at 13:51 on 20 Jun 2024 at 21:06

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!