Community Profile

# Dursman Mchabe

Last seen: presque 2 ans il y a Actif depuis 2017

#### Content Feed

Afficher par

Question

Solving a system of ODEs coupled with an algebraic equation
Hi everyone, I have tried to couple an fsolve function with a system ODEs found in: https://www.mathworks.com/matlabcentral/...

presque 2 ans il y a | 1 réponse | 0

### 0

réponse

Question

Solve a system of four differential equations with experimental values of one dependent variable.
Hi everyone, On the code below, is it posible to solve a system of four differential equations with experimental values of on...

presque 2 ans il y a | 1 réponse | 0

### 0

réponse

Question

Function value and YDATA sizes are not equal
Hi everyone, I am trying to run acode from the link: https://www.mathworks.com/matlabcentral/answers/132238-how-to-fit-exper...

presque 2 ans il y a | 1 réponse | 0

### 1

réponse

Question

Index in position 2 exceeds array bounds (must not exceed 50).
Hello everyone I am trying to run the code below, however I get the error message: logical 0 ans = logical ...

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

### 0

réponse

Question

Solving a PDE using Method Of Lines
Hi everyone I am trying to solve a PDE through method of lines, using ODE15s. I get the error message Not enough input a...

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

### 1

réponse

Question

How to use lsqcurvefit to estimate parameters while using fsolve to solve an equation
Hi ebveryone, On the attached code I am trying to use lsqcurvefit to estimate the following constants: % Constants KSO2 = ...

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

### 1

réponse

Question

How can I write iterated data from a for-loop into excel file
Hi everyone, On the attached file I am trying to write iterated data into an excel file. The 'witing' works well for the firs...

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

### 0

réponse

Question

Why does odeset RelTol and AbsTol values truncate the results?
Hi everyone, On the attached code, I am trying to use odeset to smoothen the result. When I use 'RelTol' of 1e-2 and 'AbsTol' o...

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

### 0

réponse

Question

Why does matlab request me to define a for-loop indexing term?
Hi everyone, I am trying to run the attached code, but matlab gives this error: Undefined function or variable 'k'. Error...

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

### 1

réponse

Question

How can I use for loop to input values when solving ODEs using ode45?
Hi everyone On the attached code, I am trying to use a for loop to iteratively input values while solving ODEs using ode45. I t...

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

### 1

réponse

Question

Too many input arguments
Hi everyone, I know this is a self-explaining error. I know it is usually caused by: 1) Passing a function more input argume...

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

### 1

réponse

Question

Function value at starting guess must be finite and real
Hi everyone, I know that the question is self-explaning. I am supriced that I get this error: Error using fzero (line 328)...

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

### 1

réponse

Question

How can I prevent an infinite recursion within my program?
Hi Everyone, I am trying to run the code below, and I get very long error message stating: FZERO cannot continue because u...

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

### 1

réponse

Question

Why do I get an error message "Function value at starting guess must be finite and real." when my starting guess is 8?
Hi everyone, When I run the code given below, I get, I get the error message: Error using fzero (line 328) Function value a...

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

### 1

réponse

Question

What can I change on the code below to make it run faster?
Hello everyone, What can I change on the code below to make it run faster? function SlurryCaseODE45Jan31 function C...

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

### 1

réponse

Question

Why does a for-loop give different outputs when used in different scripts?
Hi everyone, I am trying to use a for-loop to get time that is spaced by 600 seconds for the first 4 steps, then spaced by 72...

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

### 0

réponse

Question

How to use fprintf
How can I use fprintf to print out NSO2; CSO2_bulkslurry; CHSO3; CSO3; CSO2_inter; ...

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

### 0

réponse

Question

Need a better guess y0 for consistent initial conditions.
Hi all, I get the the error message: Error using daeic12 (line 166) Need a better guess y0 for consistent initial conditi...

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

### 0

réponse

Question

Error using lsqcurvefit (line 262) Function value and YDATA sizes are not equal.
Hi all, I get the error message: Error using lsqcurvefit (line 262) Function value and YDATA sizes are not equal. Erro...

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

### 2

réponses

Question

Using ode15s to solve daes and lsqcurvefit to fit a curve
Hello everyone, I am trying to use ode15s to solve 4 daes,and using lsqcurvefit to fit the curve. The attached code gives an ...

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

### 0

réponse

Question

Using lsqcurvefit to estimate parameters, while solving daes using ode15i
Hi all, I am trying to estimate 13 parameters using lsqcurvefit, while using ode15i to solve 4 daes. The attached script give...

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

### 1

réponse

Question

Unable to perform assignment because the left and right sides have a different number of elements.
Hi all When I run the attached code, I get the error message: Unable to perform assignment because the left and right side...

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

### 0

réponse

Question

How can I increase the array elements of the optimization variable?
Hi all, I am trying to run a dynamic optimization script, and I get the error message: Index exceeds the number of array e...

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

### 0

réponse

Question

How can I resolve the Convergence failure in DECIC?
Hi everyone, I am trying to use ode15i to solve a system DAEs on the attached code. There seems to be a problem with my decic...

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

### 0

réponse

Question

Index exceeds the number of array elements (1)
Hi everyone, I am learning how to use lsqcurvefit when solving DAEs using a simple case on the attached code. At the moment I a...

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

### 0

réponse

Question

Why does lsqcurvefit runs forever?
Hi Everyone On the attached code, I am using lsqcurvefit for data-fitting. The code seems to run forever. I am on day 6 n...

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

### 0

réponse

Question

Why do I get an error stating "Matrix dimensions must agree", whilst the dimensions appear to be equal to me.
Hi everyone, I am runing the attached code, and for some reasons I get the error message stating: Matrix dimensions must a...

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

### 1

réponse

Question

Not enough input arguments.
Hi Everyone, I have a user-defined code that is based on Euler method, that runs successfully. However the output does not comp...

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

### 1

réponse

Question

Parameter estimation when using ODE15i
Hi everyone, I have an ODE15i code that runs successful. I have compared its results to the experimental results, the fitting i...

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

### 0

réponse

Question

Run a script 5 times whilst changing the value of one parameter each time.
Hi everyone I would like to run the attached script 5 times whilst changing the value of kga from 4e-1 to 4e-2, then 4e-3, then...

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

réponse