Question

Setting the scale of colorbar while plotting heatmap

I am trying to plot multiple heatmaps using subplot for i = 1:10 x(i).data = rand(10,10) end scale = 1:10; p =1; for j ...

12 hours ago | 1 answer | 0

Question

Running multiple simulations simultaneously

I'm solving a system of odes present in function1 for different set of initial conditions. for i = 1:10 x0 = ...

1 day ago | 0 answers | 0

Question

Slicing a matrix into multiple matrices

I would like to slice a matrix and create multipke matrices out of it. For example, I've the following matrix A =rand(10,8...

2 days ago | 1 answer | 0

Question

Delete and add new edges in a graph

Hello, I am trying to add new nodes between two nodes that already exist in a graph. For example, I have a graph with two node...

1 month ago | 1 answer | 0

Question

delete and insert entries in a vector

Hi All, I have the following vector c = [1 1 3 4 5 6 7 8 11 10] I have to delete entries in position 2 and 9 c_idx = 1:le...

1 month ago | 1 answer | 0

Question

Separate numbers from text

I have the follwing character array C = {'LAN310'} {'SHA550'} Expercted result: C = [ 310 550] From one of th...

1 month ago | 2 answers | 0

Question

Adding weights to a graph

Hi All, I have the following graph. NNode = 11; tail = 1:NNode-1; head = 2:NNode; Graph = graph(tail,head); Graph.Edges...

1 month ago | 1 answer | 0

Question

Saving a graph with edges and nodes

Hi All, I have the following graph with nodes and edges. This graph is creadted in a function defined in file create.m. Can th...

2 months ago | 1 answer | 0

Question

Solving 1D advection equation

I am trying to solve the following pde equation using pdepe In addition to initial condition, is it required to specify b...

2 months ago | 1 answer | 0

Question

Solving advection diffusion pde

I want to solve the above pde with the given boundary and initial conditions. I came across the pdepe function in MATLAB. I...

2 months ago | 1 answer | 0

Question

Finding non-constant species in Simbiology Object

I'm reading an sbml file to create a Simbiology object modelObj = sbmlimport('File.xml'); I'd like to see the species that a...

6 months ago | 1 answer | 0

Question

Question on using cvode solver

Hi All, I have an sbml model. I get different results while simulating the model with ode15s in Simbiology and cvode in COPASI....

6 months ago | 0 answers | 0

Question

Question on specifying input to sbiosimulate

I'm using sbiosimulate to solver the model loaded from an xml file [t, x, names] = sbiosimulate(modelObj); modelObj has the ...

6 months ago | 2 answers | 0

Question

Accessing a variant object

I have a variant object of the following form ContentIndex: Type: Name: Property: Value: ...

6 months ago | 1 answer | 0

Question

Output of sbiosteadystate task

I'm using [success, variant_out] = sbiosteadystate(modelObj) to find the steady states of the non-constant species in my mode...

6 months ago | 1 answer | 0

Question

How to set up estimation method in sbiofit

Hi All, I'm trying to estimate parametrs in my model using parameter estimation task in SimBiology toolbox.In the documentation...

6 months ago | 1 answer | 0

Question

Setting variables to constants in MATLAB

I have a set of differential equations and I want to set some of the variables to be constant. For instance, dy1dt = f(..) ...

6 months ago | 0 answers | 0

Question

How to run the model in SBML file?

Hi All, I have a differential equation model(kinetic model) in sbml file. I want to run this model using ode15s solver. How ...

6 months ago | 1 answer | 0

Question

Question regarding passing input arguments in fmincon

Hi All, I am solving an optimization problem.There are no equality constraints in my model. I want to pass ODEs as constraint ...

6 months ago | 1 answer | 0

Question

Parameter estimation using shooting method

Hi All, I want to do the following, I have a set of 20 first order differential equations and I want to estimate some of the...

6 months ago | 0 answers | 0

Question

Parameter estimation - How to input experiment data?

Hi All, I want to perform parameter estimation of the following ode model. 5 parameters have to be estimated after perfo...

7 months ago | 0 answers | 0

Question

Fix the maximum number of iterations while using ode solvers

Could someone let me know to fix the maximum number of ierations while solving a set of differential equation using ode15s? I...

8 months ago | 1 answer | 0

Question

Solving system of equations with constraints

I am solving a system of linear equations with constraints using linprog. Aeq = [-1 0 1 0 0 0 0;1 -1 0 -1 0 0 0;0 1 0 0 1 0 0;...

9 months ago | 2 answers | 0

Question

Stiff differential equation solvers

I'm trying to understand how the stiff differential equations are solved in ode5s and ode15i. If my understanding is right, sti...

10 months ago | 1 answer | 0

Question

Access to a reference

I'm looking for the refernce provided in the end of this page, https://in.mathworks.com/help/matlab/ref/ode15i.html I don't ...

10 months ago | 1 answer | 0

Question

Defining mass matrix for solving transport equation

I want to solve the following 1-D pde which is discretized in spacial direction to solve using ode15s. Dc/Dt = D*D^c/Dx^2 - v*...

10 months ago | 0 answers | 0

Question

Factorizing a matrix with 1's along diagonal

I want to factorize the follwoing matrix, A= 2 -1 0 0 -1 2 -1 0 0 -1 2 -1 ...

10 months ago | 1 answer | 0

Question

Question regarding xmesh option in pdepe solver

The command xmesh is given as an input to the pdepe solver. For example xmesh = 1:1:10 Does this mean the solver internally...

10 months ago | 0 answers | 0

Question

Implementing boundary condition in pdepe

From the general expression of a pde given here Could someone check if the following implementation of the boundary cond...

10 months ago | 1 answer | 0

Question

coloring node and edge of a graph

I have a graph with values assigned to nodes and edges, t = 1:4; h = 2:5; g = graph(t,h); plot(g) g.Edges.value = [10; 20...

10 months ago | 2 answers | 0