Community Profile

photo

jana


2013년부터 활동

통계

  • Thankful Level 3

배지 보기

Content Feed

보기 기준

질문


Question regarding writing data to txt file
Hi, I have the following matrices: A = [10,8,6;1,4,5] B = [3,4,7;8,9,10] I would like to print my data to a txt fi...

9년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Question on ploting a graph
Hi, I have a dataset that has nodes and distance between them. For example: Node1 Node2 Distance 1 2 65 ...

거의 10년 전 | 답변 수: 0 | 0

0

답변

질문


Question regarding matrix index
Hi, I've a following matrix: [1 2 3 4 5; 3 inf 5 7 inf; 5 6 7 inf inf; 2 3 4 9 1] I wanted to find the min...

거의 10년 전 | 답변 수: 3 | 0

3

답변

질문


question regarding reading .dat file in matlab
Hi, I've a dat file that looks like this: 17 9 0.010426 18 6 0.024578 19 8 0.018038 19 ...

거의 10년 전 | 답변 수: 1 | 0

1

답변

질문


Question on ismembc and any function
Hi, I am having a problem using the ismembc and any function. Here's the code that I wrote: while ~isempty(XH{i}) ...

대략 10년 전 | 답변 수: 1 | 0

1

답변

질문


Question on updating a matrix
I have to create an adjacency matrix every time an if condition is satisfied. I've written the following code. if ~isempty ...

대략 10년 전 | 답변 수: 1 | 0

1

답변

질문


question on cell array
I have a 2x2 cell array (this is just an example, I am dealing with a large matrix) Sc{1,1} = [1,2]; Sc{1,2} = [1,3,4]; ...

대략 10년 전 | 답변 수: 1 | 0

1

답변

질문


Question regarding plotting graph
I wanted to plot a graph with 300 nodes represented as a 300x300 adjacency matrix. it looks like this(it is just an example) ...

10년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Question on cell arrays
Hi, I wanted to create a set of random numbers. I used the following code: for i = 1:n for j = 1:n Sc{i,j}...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Question on reading datafile in matlab
I have a data file that looks like this: SECTION Graph Nodes 10 Edges 5 E 1 2 10 E 2 4 2 E 4 3 1 E 9 10 9...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


A question regarding matrices
I have a data file that looks like this: SECTION Graph Nodes 10 Edges 5 E 1 2 10 E 2 4 2 E 4 3 1 E 9 10 9...

10년 초과 전 | 답변 수: 3 | 0

3

답변

질문


question on deletion of zero
I have a cell array C{1} = [1,2,3,0,7] C{2} = [4,2,8,9,0] C{3} = [3, 1 ,0] ..and so on .I wanted to get rid of th...

10년 초과 전 | 답변 수: 0 | 0

0

답변

질문


question on cell array
I have the following cell arrays: K{1} = [0,1,2,4] K{2} = [3,6,7] K{3} = [0,3,7] I want to check if my cell array ...

10년 초과 전 | 답변 수: 2 | 1

2

답변

질문


question on routing problem
I am working on shortest path problem (dijiktra). My current code keeps track of one path from source to destination. I want to ...

10년 초과 전 | 답변 수: 1 | 0

1

답변

질문


creating a graph on matlab
I wanted to create a graph for the following cost matrix (i,j): [0 3 4 0; 3 0 5 3; 4 5 0 5; 0 3 5 0] where i a...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


I am getting an error in ismember function
I wrote this code for dijiktras algorithm (with some modifications). When I use the ismember function I am getting the following...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Question about ismember function
I created a variable that stores a set of numbers for an arc (a,b). Sc{1,2} = [1,2]; Sc{2,1} = [1,2]; Sc{1,3} = [2]; Sc{3,1} = [...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


find subset of a set
I created a variable that stores a set of numbers for an arc (a,b). Sc{1,2} = [1]; Sc{2,1} = [1]; Sc{1,3} = [2]; Sc{3,1} = [2]; ...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


create a variable to store sets
I would like to create a variable that stores a set of numbers for an arc (a,b). S(a,b) = {1,2,3,4,5} S(b,c) = {3,4,5} e...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


matrix for loop question
Suppose I have a matrix [1 2 3 5;1 3 4 5]. Each row represents a path and each column represents the nodes of that path. For exa...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Using 3d matrix inmatlab
A(:,:,1) = 1 1 0 0 1 1 1 1 1 A(:,:,2) = 1 0 0 0 0 ...

거의 11년 전 | 답변 수: 1 | 0

1

답변

질문


Input matrix for scenarios
I have a set of scenarios say 1,2,3. And each scenario has a set of zero-one matrices showing if an arc has failure or not. for...

거의 11년 전 | 답변 수: 2 | 0

2

답변

질문


Label correcting algorithm for shortest path
Can any body provide a code for label correcting algorithm for shortest path. Thankyou!

거의 11년 전 | 답변 수: 1 | 0

1

답변