![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/20274660_1604880469123_DEF.jpg)
Asaf McRock
Followers: 0 Following: 0
Feeds
질문
How can I call a function every three time steps?
I want to call my function every three time steps. So, at tt = 3,6,9,12,...,tmax I want to call [G] = myfunction(r, Gamma); i...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to search all elements in two cell arrays?
Hi, I have two cell arrays, each cell in these two arrays represent a connected component in a graph. C = {[21,45,87,99,121],...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Single bubble expansion equation
Hi, I'm trying to solve the single bubble expansion equation numerically but my plots do not seems to be quite correct. I w...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to highlight isolated nodes in a graph?
Hello, how can I highlight isolated nodes in a graph? I have tried the following but didn't work: d=distances(G,(1:N)); % N ...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to assign values to a variable size array
The following works fine k=[]; for jj=1:10 k(jj,:)=randi(10,1,3); end However, I'm facing difficulties when I try to assi...
3년 초과 전 | 답변 수: 0 | 0
0
답변질문
How can I save my variable of type graph into a file?
Hello, I'm trying to save the content of variable GG into an ASCII format file but I'm getting the following error Error using...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Scale Free graphs based on Albert - Barabasi algorithm?
Hello, I'm currently studying Small World algorithm example Build Watts-Strogatz Small World Graph Model . I wonder if there i...
3년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to add an edge between two nodes of two different graphs?
v1=[x(1) x(1)]; v2=[y(1) y(1)]; v3=[z2(1) z(1)]; j1=[x(2) x(4)]; j2=[y(2) y(4)]; j3=[z2(2) z(4)]; line(v1,v2,v3,'Color...
How to add an edge between two nodes of two different graphs?
v1=[x(1) x(1)]; v2=[y(1) y(1)]; v3=[z2(1) z(1)]; j1=[x(2) x(4)]; j2=[y(2) y(4)]; j3=[z2(2) z(4)]; line(v1,v2,v3,'Color...
3년 초과 전 | 0
질문
How to add an edge between two nodes of two different graphs?
I'm trying to connect the nodes of graph g (Blue) with the nodes of graph h (Red). so=[1 1 1 2 2 2 2 3 3 3 5]; ta=[2 3 4 3 4 5...
3년 초과 전 | 답변 수: 2 | 1
2
답변질문
Connected components in a graph
M=[1 2;2 5;3 4;4 6;6 7;6 8;6 9;6 10]; G=graph(M(:,1),M(:,2)) [bins,binsizes]=conncomp(G); When I use the built in function ...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
How can I keep the coordinates of a graph's nodes unchanged after removing a specific edge?
Hello, I'm using the following built in function: Tf=rmedge(G,edge); %Variable edge here is chosen randomly. to remove an ed...
3년 초과 전 | 답변 수: 1 | 1
1
답변질문
How to form a binary matrix from a given two vectors?
Hi everyone, Say I have two vectors with two different sizes: Vector A has ten positive integers ( 1:10) and vector B has 100...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
Running three different cases in my function and plotting three graphs on one plot (figure)
Hello, I have three different cases inside my function. I run one of them while commenting out the other two and get one plot f...
거의 4년 전 | 답변 수: 1 | 0