質問


Sensitivity analysis of odes
Hi All, I'm solving a dynamical system uisng ode15s. The system has a lot of parameters and I'd like to perform sensitivity a...

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

0

回答

質問


installing CVX in MATLAB
Hi All, Is there any tutorial/documentation on how to install CVX optimization toolbox in MATLAB? Are there any dependencie...

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

1

回答

質問


Computing edge weights of a graph from time-series data of nodes
I've the following system of equations for studying information flow in the below graph, dI/dt = - M^TDM* I I is the ...

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

0

回答

質問


Specifying interpreter type for heatmap
I have the following heatmap and I want to set the title interpreter to none load patients tbl = table(LastName,Age,Gende...

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

0

回答

質問


Clear persisent variable in for loop
I've the following code function fun(i) persistent ss persistent s s = vercat(s,rand(1,2)) if i== 4 ss(j) = s ; ...

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

1

回答

質問


Save a non scalar struct
I've the following function function fun(i) var = true if var ss(i).bv = rand(10,1) if i == 4 pwd ...

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

2

回答

質問


Save the results of a non scalar struct
I've the following function function fun(i) var = true if var ss(i).bv = rand(10,1) if i == 4 pwd ...

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

0

回答

質問


ode solver , restart from where the simulation ended
Hi, I am using ode solver to simulate a system of differential equations. tspan = 0:0.0001:1 [t s] = ode15s(@(t,s) fun(t,s)...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Defining a time varying function
I'd like to create a function that will output a value of a (e.g. a = 10) for time < t0 and value equal to b at time > t0. ...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Performing computation using contents stored in a table
Hi, I've the following table t = [1 2 3 4 5 6 7 8 9]'; h = [2 3 4 5 6 7 8 9 10]'; value = [1 2 1 2 1 2 1 2 1]'; tbl = table...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Sort the rows of a table based on row entries in two columns of another table
I am trying to sort the rows in one table (Tright) based on the order in which the rows are present in another table (Tleft) ...

2年弱 前 | 1 件の回答 | 0

1

回答

回答済み
Solving transport equations in MATLAB
I just figured out pdepe can be used. Where the reaction and convection can be defined in the s term

2年弱 前 | 0

| 採用済み

質問


Solving transport equations in MATLAB
Hi All, I am looking for a toolbox in MATLAB that can be used for solving convection diffusion reaction equations in 1D. Any...

2年弱 前 | 1 件の回答 | 0

1

回答

質問


Question on pdepe solver
I'd like to know what's the default absolute and relative tolerance set in pdepe solver.

2年弱 前 | 1 件の回答 | 0

1

回答

回答済み
figure doesn't appear in new window
I'm using 2019b. I see only Figure2

2年弱 前 | 0

質問


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

2年弱 前 | 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)...

2年弱 前 | 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...

2年弱 前 | 1 件の回答 | 0

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

2年弱 前 | 1 件の回答 | 0

1

回答

質問


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

2年弱 前 | 1 件の回答 | 0

1

回答

質問


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

2年弱 前 | 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...

2年弱 前 | 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(...

2年弱 前 | 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;...

2年弱 前 | 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 ...

2年弱 前 | 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 ...

2年弱 前 | 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'...

2年弱 前 | 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 ...

2年弱 前 | 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...

2年弱 前 | 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

2年弱 前 | 1 件の回答 | 0

1

回答

もっと読み込む