# Tagged Questions

25 views

### How to find parameters that minimize the sum of squares, using Matlab?

I have a system of linear equations in the following form. How can I solve it in Matlab? $$\operatorname*{argmin}_{a,b} \sum_{i,j} [X(i,j)-a\times Y(i,j)-b]^2$$ Where X and Y are known. I need to ...
19 views

### Matlab: solve system of equations using substitution

Suppose I want to solve a system of equations $F(x)$ which is shown as below: $x_1^3+1=0$ $x_1+x_2=0$ I want to substitute $x$ by $x_1=2y_1, x_2=3y_2$. Then the original system is transformed to ...
45 views

### Time needed to algebraically solve system of $15$ nonlinear equations with parameters

How long can I expect it will take to algebraically solve a system of $15$ nonlinear equations (without any numbers, only parameters), if I feed it into a computing software? I'm asking for symbolic ...
51 views

### How to solve these two differential equation?

I try to solve these two difference equation ; $$\frac{dq}{dz} = -j\left(b_1q - kp\right),\\ \frac{dp}{dz} = -j\left(b_2p - kq\right)$$ where $j$ stands for $\sqrt{-1}$, and $b_1$ ,$b_2$ and k are ...
37 views

### Solving solely continuous system of ode's with matlab

I'm working with the numerical integration of the system of differential equations, $\dot{x}=f(x)$ with the vectorfield, $f(x)$ being solely continuous. Examples of the systems which I'm working on ...
80 views

### Due to numerical inaccuracy, the solution of a boundary value problems becomes negative

I treat a toy example to get my point across. In reality I have to deal with a much more complex model. Let us consider a one dimensional boundary value problem using the bvp5c solver in Matlab. Two ...