답변 있음
How to extrapolate a curve using a data set?
Ah, if people were able to accurately and easily extrapolate data, then everyone would agree about things like global warming. O...

17일 전 | 1

답변 있음
Solving a first order ODE with dsolve
While you may THINK that is the only answer, is it true that y==0 is also a solution? How about the constant value of sqrt(2)? ...

17일 전 | 0

| 수락됨

답변 있음
does pp.breaks represent the arc length ?
NO. Not even remotely close to the arc length for a standard spline, perhaps something computed using the function spline. Alth...

17일 전 | 0

답변 있음
How to efficiently solve a matrix eqation when the matrix is updated?
The problem is, it very much depends. If you can write the change in A as a rank 1 update, AND you write the code well, then you...

18일 전 | 0

답변 있음
2d plot of a non-linear equation
Walter has already told you how to plot it. But so you can learn how to find that for yourself, learn to use lookfor. The trick...

18일 전 | 0

답변 있음
Basins of attraction and Newtons Method
Since this is clearly homework, and we don't do homework for people on this site, think about it! First, you almost always want...

18일 전 | 0

답변 있음
Multiple Equations in Matlab Solver
No. You have ONE equation. It just happens that you defined it in 4 pieces, then you added them all up. If you defined them as ...

20일 전 | 0

답변 있음
Fitting nonlinear noisy data
This is something I recall reading about many years ago. Nonlinear least squares in the presence of high noise is a classically ...

20일 전 | 0

| 수락됨

답변 있음
Solving an Improper Integral
Think of it like this. Do ALL problems you might pose to a computer have a solution? If so, then I might try solve('Peace ...

21일 전 | 0

답변 있음
Find range of values of independent variable so the dependent variable is in a certain range
No. Given a completely general nonlinear function as a black box, so you cannot see inside the box, just pass in values, the ans...

21일 전 | 0

답변 있음
Please Help - How do I solve this for M
You need to understand that solve is a solver that will produce an analytical solution if possible. And this apparently reduces ...

21일 전 | 0

답변 있음
How to transform matrix V? (A = V*F*inv(V))
If a solution exists to the problem, you finding it in a fully robust way using the transformation A*V == V*F may be problematic...

21일 전 | 2

답변 있음
Graph of a truss
Just plot each line segment using line, where you define the end points of the segments. You can provide a color spec for each s...

22일 전 | 0

답변 있음
binary quadratic optimization under linear constraints
How is this not just a linear least squares estimation of the two unknown parameters? There is nothing binary about this, except...

22일 전 | 1

| 수락됨

답변 있음
how can I linear interpolation without using function
Simple. just use interp1. You are not allowed to use interp1q. But interp1 is not interp1q.

22일 전 | 0

답변 있음
Curve on specific X and Y coordinates
x = [429.245/3, 303.996/3, 287.771/3, 267.384/3, 252.095/3,239.755/3,224.149/3,201.129/3,0,-198.87/3, 222.745/3,237.498/3,249.83...

23일 전 | 0

답변 있음
I want to solve the equation find metric
Sorry, but your question makes no sense mathematically. H is 64x199. Frf is 100x5. So H*Frf is 64x5. No problem there. Both mat...

24일 전 | 1

답변 있음
Why is this output nothing and what can i change to make it work
I had to laugh at your statement that there is nothing wrong with the code. That seems counter to the fact that it produces noth...

24일 전 | 0

| 수락됨

답변 있음
fminsearch curve fitting HELP!!
You use sl in places in your code, yet you never defined sl. Yes, that is a lower case L, not the number 1. My guess is you mean...

24일 전 | 0

답변 있음
Solving system of 8 non-linear equations
This is a nonlinear homogeneous problem, in the sense that the all zero solution "works". See that if x5==x6==0, then the logs g...

25일 전 | 0

답변 있음
m m m m
Why does this seem obvious? Yet, the result that you seem to want is incorrect. syms z x y zint = int(-2/z,z) subs(zint,z,x*...

26일 전 | 0

| 수락됨

답변 있음
Unifrnd generates a large number of uniform distributions. Is a part of it still uniform?
Short answer: Yes. Long answer: yyyyyeeeeeessssssss. Think of it like this: These numbers have the property of beeing iid. Ind...

26일 전 | 0

| 수락됨

답변 있음
Jacobi Method in calculating solution, number of iterations, and relative residue
If you think your code runs slowly, an important thing you want to do is look at the profiler tools in MATLAB. help profile Do...

26일 전 | 0

답변 있음
Is there a way to suppress output, given a condition, from within fprintf?
Could you do it? Well, probably. You would need to construct some pretty elaborate conditional operations inside the fprintf. ...

27일 전 | 1

답변 있음
My code is returning complex numbers
What value of x yields cos(x) == 2? It might be the new math, but I don't recall any common values of x, such that cos(x) is ev...

28일 전 | 0

답변 있음
Fzero for Colebrook Equation
What you do not understand is that function have their own workspaces. If you create thse variables outside the function, then c...

28일 전 | 0

| 수락됨

답변 있음
Is it possible to include New Algorithms In reinforcement learning toolbox
There is no question about MATLAB in this. Answers is not customer support, nor is it the place to post feature requests. And no...

28일 전 | 0

답변 있음
Determine polynomial coefficients so that it's roots lie on the unit circle
This seems simple enough, though the result may not seem terribly pretty. Brute force often has that result. syms a b z P = ...

29일 전 | 0

답변 있음
Generate an iteration to determine the characteristic polynomial of several matrices
What can you do? Learn to use MATLAB properly. Here, that means to learn to use matrices and arrays, especially cell arrays. A...

30일 전 | 0

| 수락됨

답변 있음
Numerical analysis. Can't use syms, if not the aproximation is different.
This is numerical analysis. Hey, you are supposed to know this! Well, maybe the goal of the problem is to teach you these facts....

약 1달 전 | 0

| 수락됨

Load more