Community Profile

Anurag Gupta

Last seen: 1 year ago Active since 2020

Content Feed

View by

Question

Generation of various variables depending upon previous input
Hi Everyone, I want to create variables of matrices deoending upon previous input. for example, if n=3 It should create 3 diff...

2 years ago | 0 answers | 0

0

Question

Extracting data from a graph(directed graph.)
Hi Everyone, I have a digraph(directed graph) plotted and I want to extract the data of the nodes from it. It would be great...

2 years ago | 1 answer | 0

1

Question

Getting values of nodes from directed graph.
Hello Everyone, I have a directed graph with various nodes, each node has 3 values, Number of station, arrival time and depar...

2 years ago | 1 answer | 0

1

Question

Problem with break statement
I have a code: for i=1:n for j=1:n if 'some condition' 'some logic' if 'some condition' ...

2 years ago | 1 answer | 0

1

Question

First occurance problem in the adjacent coloumn
Hi, i=1 j=2 I have a matrix A=[1 9 9 10 10 11 ...

2 years ago | 1 answer | 0

1

Question

reshape vector to matrix
I want to convert d = [1 2 3 4 5] to d = [1 2 2 3 3 4 4 5] is there anyway I can do it...

2 years ago | 1 answer | 0

1

Question

row elimination problem.
Hey, I have a matrix A of 34x2 double. I want to eliminate the rows wherein the value of both the coloumns is 0.

2 years ago | 2 answers | 0

2

Question

Looping with arrays of two different lengths
My code is written as follows, Now here as we can see that a matrix A is generated of size 34x2 double which shows combination o...

2 years ago | 0 answers | 0