Question

How to edit the grid size in heatmap and how to make the color scale just a binary value?

I have a heat map as shown below. I want to make it look as continous plot as possible, or in other words I want to make it appe...

ungefär ett år ago | 2 answers | 0

Answered

How to color a graph that is shown below?

I wrote a for loop to convert the graph into a matrix that represents the weights of the edges. See below (left: heatmap and t...

How to color a graph that is shown below?

I wrote a for loop to convert the graph into a matrix that represents the weights of the edges. See below (left: heatmap and t...

ungefär ett år ago | 0

| accepted

Answered

How to convert the graph below in to heatmap?

I wrote a for loop to convert the graph into a matrix that represents the weights of the edges. See below (left: heatmap and t...

How to convert the graph below in to heatmap?

I wrote a for loop to convert the graph into a matrix that represents the weights of the edges. See below (left: heatmap and t...

ungefär ett år ago | 0

Question

How to color a graph that is shown below?

I have graph below that was generated by the following code: Also the data.xlsx has the matrix used below. nodes = []; ...

ungefär ett år ago | 1 answer | 0

Question

How to convert the graph below in to heatmap?

I have the graph below. It was plotted using the code below: %% matrix (:,4) is the weight of the corresponding matrix(:1:2) br...

ungefär ett år ago | 2 answers | 0

Question

How can I get adjacency matrix from the interconnection pairs?

I have the matrix (matrix.xlsx) as attached below. This matrix.xlsx has all interconnection between nodes and corresponding wei...

ungefär ett år ago | 0 answers | 0

Answered

How can I convert 2 column matrix to a cell array?

Hello Mr. Roberson and Mr. Bobrov, I am getting an error while running that. I have attached the snapshots of the error that sa...

How can I convert 2 column matrix to a cell array?

Hello Mr. Roberson and Mr. Bobrov, I am getting an error while running that. I have attached the snapshots of the error that sa...

ungefär ett år ago | 0

Question

How can I convert 2 column matrix to a cell array?

Is there a convenient way to convert a 2 column matrix into a cell array (without using nested for loops if possible)? The mat...

ungefär ett år ago | 3 answers | 0

Question

How do I play with the node spacing and how can I transform the discrete node graph in to a interpolated continuous color plot.

I have an image below that shows my node matrix that has interconnections and some highlighted edges. I want to transform the im...

ungefär ett år ago | 0 answers | 0

Question

How do I create a new folder each time I run a code?

I want to make a new folder each time I run my code. Example: If there is a folder named 'newFolder', then generate newFolder...

ungefär ett år ago | 3 answers | 0

Question

How do I generate a node graph of Matrix of resistors with a given pattern.

I have made the code for making the node graph as shown below. (Don't concentrate on resistances, they are going to be connecte...

mer än ett år ago | 1 answer | 0

Answered

How do I decrease the time taken by these two for loops. I am taking 30 seconds approximately to run this, and this is in a big for loop that runs for 10000 times.

Thank you Stephen Cobeldick. I used ismember() function and that is excuting this in no time. binary_probability_matrix(:,1:...

How do I decrease the time taken by these two for loops. I am taking 30 seconds approximately to run this, and this is in a big for loop that runs for 10000 times.

Thank you Stephen Cobeldick. I used ismember() function and that is excuting this in no time. binary_probability_matrix(:,1:...

mer än ett år ago | 0

| accepted

Question

How do I decrease the time taken by these two for loops. I am taking 30 seconds approximately to run this, and this is in a big for loop that runs for 10000 times.

Could anyone please help me with this? I am new to using MATLAB so I have written the code in a layman fashion and I am sure tha...

mer än ett år ago | 1 answer | 0