Question


figure doesn't appear in new window
I'm trying to plot two figures for p = 1:2 figure(1) subplot(1,2,p) plt = plot(1:10,rand(10,1),'LineWidth', 1....

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


Change the alignment and font size of edgelabels
Hi, For example, if Ihave the following graph s = [1 1 1 2 2 3 3 4 4 5 6 7]; t = [2 3 4 5 6 5 7 6 7 8 8 8]; G = digraph(s,t)...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


Multiply a scalar to all column of a table
I've a table, T. I want to mulitply a scalar to all values in the table (similary to scalar multiplication of a matrix e.g. 2*ra...

environ 4 ans il y a | 1 réponse | 1

1

réponse

Question


Positioning new nodes in a graph
I've the following graph s = [1 1 1 2 2]; t = [2 3 4 2 5]; G = graph(s,t); % plot h = plot(G); h.XData h.YData New nodes...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Accessing field names in struct
I've the following struct test = struct(... 'a',false,... 'b',false,... 'c',false,... ...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


Question on using interpolate function
This is a follow-up to my previous post here. I want to find the x value at which data has 5.0 (first occurence). I tried using...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


Question on using interpolate function
I've the following x = [1 2 3 4 5 6]; data = [0.1 0.2 0.3 0.4 0.4 0.4]; vq1 = interp1(data,x,0.4) I want to find the x valu...

environ 4 ans il y a | 2 réponses | 0

2

réponses

Question


Adding two node labels to graph
I've the following graph t = [1 1 1 1 2 2 3 4 4 5 6]; h = [2 3 4 5 3 6 6 5 7 7 7]; H = graph(t,h) H.Nodes.Name = cellstr(...

environ 4 ans il y a | 1 réponse | 0

1

réponse

Question


Coordinates of graph nodes
I've the following code t = [1 1 1 1 2 2 3 4 4 5 6]; h = [2 3 4 5 3 6 6 5 7 7 7]; pos = [75 25; 115 45; 90 60; 10 5; 45 0;...

environ 4 ans il y a | 1 réponse | 0

0

réponse

Question


Setting the range of colormap
I want to set the min and max range of colormap I want to set the limits of colormap based on the mix and max of values stored ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Visualizing values of nodes in a graph
I'm trying to visualize the values assigned to graph nodes tail = 1:9; head = 2:10; G = graph(tail,head); data ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Assigning values to nodes of a graph
I'm assigning values to nodes of a graph tail = 1:9; head = 2:10; G = graph(tail,head); data = 1:10; G.Nodes.Value = data'...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Finding X value for a corresponding Y value from contents of a table
I'd like to find values from the following table. 0 3.0000 1.0000 1.0000 1.0000 1.0000 1.0000 ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Problem in setting up MATlink
I am trying to set up a MATlink using the instructions given here. I get an error while running the following commands Needs["M...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


Refactoring classes in MATLAB
Is there a solution for this now? https://in.mathworks.com/matlabcentral/answers/401917-automatic-refactoring-of-classes

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Sort the rows of a table based on row entries in two columns of another table
I've the following tables Tleft> EndNodes_1 EndNodes_2 __________ __________ {'1' } {'Node9' } ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Assigning arrays to edge properties of a graph
I'm trying to assign arrays to edge properties/weights tail = 1:3; head = 2:4; G = graph(tail,head); G.Edges.property(1) = 1...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Filter contents of a table
I've the following table tbl = table(['1'; '2'; '3'; '4'; '5'; '6'],['1'; '3'; '2'; '2'; '4'; '1'],'VariableNames', {'name', 'v...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Sum two arrays using logical indices
I want to sum two arrays a = [ 1 2 3]; b = [2 3 1 ]; a_logical = [0 1 0]; a_logical = ~a_logical; b_logical = [1 0 0]; b_l...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


Swapping entries in column of table
I've the following table and I want to swap the entries tbl = table({'1', '2'; '2', '3'; '2', '3'; '3', '4'},'VariableNames...

plus de 4 ans il y a | 2 réponses | 0

2

réponses

Question


String comparison in table
This is a follow up to my previous question. t = table({'1', '2'; '2', '3'; '2', '3'; '4', '5'}, [1; 2; 1; 2], 'VariableNames...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Storing values in a variable
I want to store values in a variable annd return it to another function For example, function A = fun() A([2 3 4]) = [1 4 7...

plus de 4 ans il y a | 1 réponse | 0

0

réponse

Question


splitvars for input arguments of type 'cell'
The following contents are stored in a table, in variable 'tbl', Multico value ______________ {'...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Filter contents of a table
The following contents are stored in a table, in variable 'tbl', Multico value ______________...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


simulation of flow in pipe networks
I'd like to know if it there is any toolbox available in MATLAB to study solute transport in the following pipe section

plus de 4 ans il y a | 1 réponse | 1

0

réponse

Question


Append rows to an empty table
I am trying to append rows to an empty table t = table for i = 1:3 column1 = rand(2,1) column2 = rand(2,1) tempt = table(...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Find the list of edges between 2 nodes
I've the following graph with multiple edges. tail = [1 2 2 4 5 3] head = [2 4 5 3 3 6] I would like to know how to find ...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Visualizing flow through graph networks
I've the following graph. tail = 1:9; head = 2:10; G = graph(tail,head); data = 1:10; G.Nodes.Value = data'; p = plot(G...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Avoid using latex interpreter in plot titles
I am trying the following s = struct('a','a_dot') plot(1:10,1:10) title(s.a) I want to retain the title name as 'a_dot' an...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Question


Multi line color in graph
Hi, While trying to plot a graph plot(1:10, rand(10,10)) Each line has a different color. Is it possible to vary the colo...

plus de 4 ans il y a | 1 réponse | 0

1

réponse

Charger plus