Community Profile

photo

Sohaib Bin Altaf


Last seen: ongeveer een jaar ago Active since 2017

Statistics

  • Thankful Level 2
  • First Review
  • Revival Level 1
  • Thankful Level 1

View badges

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

bijna 3 jaar ago | 1 answer | 0

1

answer

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

ongeveer 4 jaar ago | 1 answer | 0

1

answer

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

meer dan 5 jaar ago | 0

| accepted

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

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

meer dan 5 jaar ago | 2 answers | 0

2

answers

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

meer dan 5 jaar ago | 3 answers | 0

3

answers

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

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

meer dan 5 jaar ago | 1 answer | 0

1

answer

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

bijna 6 jaar ago | 1 answer | 0

1

answer

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

bijna 6 jaar ago | 1 answer | 1

1

answer

Question


I am writing a code and I get the error 'Operands to the || and && operators must be convertible to logical scalar values'... it is an If statement in multiple loops, when the IF has 4 conditions it works fine but at 5th it gives error..
works fine with other 4 conditions but when I add another that is data{i,4}==Device(dev) it does not work... x=[23:1:36] ...

meer dan 6 jaar ago | 1 answer | 0

1

answer