Concatenation of indices obtained from ranges
indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,stepIndexes,elementsIndexes[,grid])
indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,stepIndexes,[grid])
indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,[grid])
indexMatrix = ConcatIndexesRange(maxIndexes,[grid])
Minimum index values
Maximum index values
Index steps
Elements that replace the indices of the concatenated matrix, chosen in accordance with the indices of the concatenated matrix
Matrix concatenation type of indexes obtained from ranges. Represents an array of boolean values. The number of array elements is one less than the number of ranges of concatenated index matrices
A matrix of concatenated indices or elements that replace the indices of a concatenated matrix
Concatenates matrices of indices obtained from ranges according to concatenation types.
Each i-th element of the array grig determines the type of concatenation of the i-th and i+1-th matrices. If grid(i) takes the value %t, then the i-th and i+1-th matrices are concatenated by replicating the rows of these matrices, otherwise no row replication is performed. In case grid(i) is false, the numbers of rows of the i-th and i+1-th matrices must be equal.
By default, all grig values are true
//Index ranges of concatenated matrices minIndexes = [1, 2, 5]; maxIndexes = [3; 4; 8]; stepIndexes = [1, 2, 1]; elementsIndexes = ['as','rg','wq','1w','xa','hd','3d','l']; grid = %t; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,elementsIndexes,.. grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,elementsIndexes); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |
//Index ranges of concatenated matrices minIndexes = [2; 3; 6; 9]; maxIndexes = [5, 9, 10, 16]; stepIndexes = [1, 2, 3, 1]; elementsIndexes = ['tr','5e','mn2','q3e','762','hd6','3rd','o','tew','7u','t5u','lk','he3','uy3','iu8','fr2']; grid = [%f,%t,%f]; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,elementsIndexes,.. grid); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |
//Index ranges of concatenated matrices minIndexes = [1, 2, 5]; maxIndexes = [3; 4; 8]; stepIndexes = [1, 2, 1]; grid = %t; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[],grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[]); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,stepIndexes); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |
//Index ranges of concatenated matrices minIndexes = [2, 3, 6, 9]; maxIndexes = [5; 9; 10; 16]; stepIndexes = [1, 2, 3, 1]; grid = [%f,%t,%f]; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[],grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,grid); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |
//Index ranges of concatenated matrices minIndexes = [1, 2, 5]; maxIndexes = [3; 4; 8]; stepIndexes = [1, 1, 1]; grid = %t; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[],.. grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[]); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |
//Index ranges of concatenated matrices minIndexes = [1, 4, 5]; maxIndexes = [3; 6; 8]; stepIndexes = [1, 1, 1]; grid = [%f,%t]; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[],.. grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,grid); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |
//Index ranges of concatenated matrices minIndexes = [1, 1, 1]; maxIndexes = [3; 4; 8]; stepIndexes = [1, 1, 1]; grid = %t; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[],.. grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[]); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(maxIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(maxIndexes); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |
//Index ranges of concatenated matrices minIndexes = [1, 1, 1]; maxIndexes = [3; 6; 18]; stepIndexes = [1, 1, 1]; grid = [%t,%f]; //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,[],.. grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,.. stepIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(minIndexes,maxIndexes,grid); //Concatenated matrix disp(indexMatrix); //Performing a concatenation indexMatrix = ConcatIndexesRange(maxIndexes,grid); //Concatenated matrix disp(indexMatrix); | ![]() | ![]() |