Counting column number until a specific value in a different matrix.

1 view (last 30 days)
A=[ 0 0 0 0 1 1.1 1.2 2 2.5 3 3.3 4 4.1 4.2 4.3 5 .... 100 0 1 2 2.2 2.3 3 4.5 .... 100 50 23 1 0 0 0...]
B=[ 1 2 3 4 5 6 7 8 9 10 10 11 11 12 ........... x 1 2 3 4 5 6 7 .... x1 1 2 3 4 5 ....]
1) until 100 in A matrix, Counting the number of columns in B matrix.
2) Each column numbers until 100 is different. x ~= x1

Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!