質問


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....

約4年 前 | 2 件の回答 | 0

2

回答

質問


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)...

約4年 前 | 2 件の回答 | 0

2

回答

質問


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...

約4年 前 | 1 件の回答 | 1

1

回答

質問


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...

約4年 前 | 1 件の回答 | 0

1

回答

質問


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

約4年 前 | 2 件の回答 | 0

2

回答

質問


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...

約4年 前 | 2 件の回答 | 0

2

回答

質問


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...

約4年 前 | 2 件の回答 | 0

2

回答

質問


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(...

約4年 前 | 1 件の回答 | 0

1

回答

質問


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;...

約4年 前 | 0 件の回答 | 0

0

回答

質問


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 ...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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 ...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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'...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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 ...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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' } ...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


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...

4年以上 前 | 2 件の回答 | 0

2

回答

質問


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...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 0 件の回答 | 0

0

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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

4年以上 前 | 0 件の回答 | 1

0

回答

質問


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(...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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 ...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 1 件の回答 | 0

1

回答

質問


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...

4年以上 前 | 1 件の回答 | 0

1

回答

さらに読み込む