Réponse apportée
Can't solve integrate with unknown value and after an equation with it
First, you don't need to use vpasolve. Solve will do. Leave it in a fractional form, rather than converting to a finite number o...

presque 5 ans il y a | 0

Réponse apportée
Question about vectorized fminsearch using flipud
I fail to undertand your question. It minimizes what you give it. If the flipud is in there, your objective function is differen...

presque 5 ans il y a | 0

Réponse apportée
Find first n roots of transcendental equation
First, the function you have written does not seem to have multiple roots. In fact, the only solution it seems to have is zero. ...

presque 5 ans il y a | 0

Réponse apportée
Restarting chol when the flag indicates it has stopped due to singularity
No.

presque 5 ans il y a | 0

Réponse apportée
Explicit solution could not be found.
And, your question is? What does this mean: "Explicit solution could not be found" Surely, if it just tried harder, it wo...

presque 5 ans il y a | 0

Réponse apportée
Question about fminsearch with vector input and output
You want to use fminsearchbnd with 300 UNKNOWNS? REALLY 300? THREE HUNDRED? SIGH. Are you not the one I already told not to use...

presque 5 ans il y a | 0

Réponse apportée
Solve ode system numerically
Not that hard. As @William Rose sugggests, the mass matrix solves it, but you need to look carefully at the problem. J is given...

presque 5 ans il y a | 1

Réponse apportée
Find nonlinear function to optimize parameters
NO. Do NOT use fminsearchbnd to try to optimize a problem with 36 parameters. You will be wasting your time and mine, when you n...

presque 5 ans il y a | 1

Réponse apportée
How to fit a function with an integral term to a set of data?
Certainly for this problem, it is easiest to just perform the integration in advance. The integral you show will have a solution...

presque 5 ans il y a | 2

Réponse apportée
multiple equations multiple variables solve command does not work
You asked a very general question at the end, how to solve a problem with a different number of unknowns than equations, and at ...

presque 5 ans il y a | 2

| A accepté

Réponse apportée
Struggling with fminsearch with vector inputs
Fminsearch should NEVER be used with more than around say 6-8 unknowns. 30 unknowns is just impossible for fminsearch. PERIOD. I...

presque 5 ans il y a | 0

Réponse apportée
How can I define square of a handle function inside an integral?
kk is a function handle, as is kkk. (Really creative names there. Note that using better, more descriptive names will greatly im...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
multiple linear regression warning: x is rank deficient to within machine precision.
As I pointed out in my comment to Star Strider, your problem is rank deficient. A = [1 0 0 0 0 1 0 ...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How do i convert base-2 number with decimal point into base-10?
BIN2DEC does NOT support numbers with a decimal point in them. You can want it to happen, but it won't. Wanting code to behave a...

presque 5 ans il y a | 0

Réponse apportée
Involve fminbnd in optimoptions
Note that fminbnd is not provided as part of the optimization toolbox. As well, fminbnd has been around a long time. So optimopt...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
matrix interplation, increasing matrix elements 13 to 50
help interp2

presque 5 ans il y a | 0

Réponse apportée
Does it make sense to find the null space of a symbolic matrix?
Is this the matrix? It would help IF you are asking a question about MATLAB, to use MATLAB symtax! syms a b c d e f L = [ -a-f...

presque 5 ans il y a | 0

Réponse apportée
How to draw a graph for function with constraints?
You want to plot a function, that appears to be a function of two variables. But the equality constraint reduces the problem to ...

presque 5 ans il y a | 0

Réponse apportée
Implementing additional constraints in assignment problems.
Is there some general function that has been written to solve this problem? No. Of course not. Why not? There is likely no uniq...

presque 5 ans il y a | 0

Réponse apportée
13x8 Matrix Cubic Interpolation
Simplest is to just read the help for interp2. It is silly to use a lower level tool when a high level tool does exactly what yo...

presque 5 ans il y a | 1

Réponse apportée
Result for solve( ) with minimized number of parameters
The problme is, the "minimal" solution that you ask for is not the complete solution. You asked solve to provide a solution. How...

presque 5 ans il y a | 0

| A accepté

Réponse apportée
How to solve set of equations with inequality using fsolve?
First, fsolve does not solve bound constrained problems. (What you have.) Second, even if it did, fsolve does not solve problem...

presque 5 ans il y a | 0

Réponse apportée
Why my imaginary graph is straight line?
fplot(t,imag(i1(t)),'LineWidth',1.5) To my eyes, this does not look straight. But then I may need new glasses.

presque 5 ans il y a | 0

Réponse apportée
4x4 matrix with numbers from 1 to 4 in specific order
Hint: What does flip do? Could you use it to "flip" the order of those numbers?

presque 5 ans il y a | 0

Réponse apportée
I want to find the value of k
syms x1 x2 x3 x=[x1;x2;x3]; f1=x(1)^3+12*x(2)+1; f2=x(2)^9+5*x(1)-3; f3=x(2)*x(3)^2+8; Here is the matrix k. k=[diff(f1,x(...

presque 5 ans il y a | 2

Réponse apportée
smooth step function with rise time
You cannot solve the problem you claim to want to solve using a simple logistic. It does not have the flexiibility to control bo...

presque 5 ans il y a | 0

Réponse apportée
Automated Bisection Method on a function tan(a)-tan(b)=0
I'm sorry, but it is provably impossible to make bisection (or any scheme like it) always find all solutions of an arbitrarily c...

presque 5 ans il y a | 0

Réponse apportée
Why do I see a singular matrix warning here?
The issue is not a problem with eig, except in our expectations of what eig can do. And those expecations are fueled by our expe...

presque 5 ans il y a | 0

| A accepté

Question


Why do I see a singular matrix warning here?
I've posted this question as a "response" to a question posed by someone else, but as an answer to another question. Since I can...

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

1

réponse

Réponse apportée
Find the file number when a condition meets
Beginners do this sort of thing. They are tentative, almost afraid to use MATLAB, even when they think they need to. So they lea...

presque 5 ans il y a | 0

| A accepté

Charger plus