Community Profile # Sohaib Bin Altaf

Last seen: 3 maanden ago Active since 2017

#### Statistics

• • • • #### Content Feed

View by

Question

I have a data set (matrix), having three columns, How can I find if this dataset follows a specific pattern or any relation exists?
In the simulation I am conducting, I have a matrix which has optimal values obtained after every simulation. Now I want to see i...

ongeveer 2 jaar ago | 1 answer | 0

### 1

Question

extract an array from cell with its indexes
I have a cell array of following type, clstr= { [] 8 [7,8] [6,8] [6,7] [6,7,8] 5 4 [4,8] [4,7,8] [4,6,7] [4,6,7,8] [4,5] [...

meer dan 3 jaar ago | 1 answer | 0

### 1

ploting a 2D matrix and adjusting axes
This thing worked for me: clc clear all close all M = zeros(50); % draw lines for y = [20,30] M(:,y) = 1; ...

bijna 5 jaar ago | 0

| accepted

shortest path in 2D matrix between two coordinate points
This thing worked for me: clc clear all close all M = zeros(50); % draw lines for y = [20,30] M(:,y) = 1; ...

bijna 5 jaar ago | 0

Question

ploting a 2D matrix and adjusting axes
Hello, I have the following code: M = zeros(50) for x = [20,30] M(x,:) = 1 end for y = [13,25,37] for x...

bijna 5 jaar ago | 2 answers | 0

### 2

Question

shortest path in 2D matrix between two coordinate points
As in the attached image, i have a 2D matrix of 50 by 50. The matrix contains zeros (blue) and ones(yellow). Imagine it as a flo...

bijna 5 jaar ago | 3 answers | 0

### 3

Making different combinations from tree branches in matlab
I tried and this code worked for me. for i=1:length(C{1}) combination(i,:)= [{Ap1} {C{1}(i,:)}] end i...

bijna 5 jaar ago | 0

| accepted

Question

making combinations from each leaf to parent node in Matlab
Hello, I have to make all combinations from a tree, starting from parent node and ends at the last leaf nodes. The depth of al...

bijna 5 jaar ago | 1 answer | 0

### 1

Question

Making different combinations from tree branches in matlab
Hello, I have to make all possible combinations from a tree, starting from parent node and ends at the last leaf nodes. I made a...

ongeveer 5 jaar ago | 1 answer | 0

### 1

Question

How to get a matrix with different row lengths?
I have a two dimensional matrix "check" of zeros and ones. I need to check the ones in each row, take the indexes of ones and st...

ongeveer 5 jaar ago | 1 answer | 0