Community Profile

photo

Dursman Mchabe


Last seen: 約3年 前 2017 年からアクティブ

統計

  • Thankful Level 4
  • First Answer

バッジを表示

Content Feed

表示方法

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

1

回答

質問


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

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

0

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

2

回答

質問


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

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

0

回答

質問


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

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

1

回答

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

0

回答

質問


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

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

1

回答

質問


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

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

1

回答

質問


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

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

0

回答

質問


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

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

0

回答

さらに読み込む