Community Profile

photo

Sohaib Bin Altaf


Last seen: circa un anno fa Attivo dal 2017

Followers: 0   Following: 0

Statistiche

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

Visualizza badge

Feeds

Visto da

Domanda


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

quasi 3 anni fa | 1 risposta | 0

1

risposta

Domanda


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

oltre 4 anni fa | 1 risposta | 0

1

risposta

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

quasi 6 anni fa | 0

| accettato

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

quasi 6 anni fa | 0

Domanda


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

quasi 6 anni fa | 2 risposte | 0

2

risposte

Domanda


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

quasi 6 anni fa | 3 risposte | 0

3

risposte

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

quasi 6 anni fa | 0

| accettato

Domanda


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

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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

quasi 6 anni fa | 1 risposta | 1

1

risposta

Domanda


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

quasi 7 anni fa | 1 risposta | 0

1

risposta