Answered

Calculating model error

Even though you may THINK your data is good, the problem surely lies in your model. That it is a new device is not even relevant...

Calculating model error

Even though you may THINK your data is good, the problem surely lies in your model. That it is a new device is not even relevant...

15 Tage ago | 0

Answered

finding vector from an equation

There is no solution. Except for possibly a trivial solution. And with some effort, I can prove that does not exist. norm(g(...

finding vector from an equation

There is no solution. Except for possibly a trivial solution. And with some effort, I can prove that does not exist. norm(g(...

16 Tage ago | 0

Answered

Solving (non-linear equation) for a single unknown?

syms are a set of tools written to solve symbolic problems. fzero is a tool to solve numerical problems. The gray area between i...

Solving (non-linear equation) for a single unknown?

syms are a set of tools written to solve symbolic problems. fzero is a tool to solve numerical problems. The gray area between i...

17 Tage ago | 0

Answered

How to make one plot comparing two solutions of of a function?

One of several ways... Plot one solution. Issue the command: hold on Plot the second solution The second plot will now appea...

How to make one plot comparing two solutions of of a function?

One of several ways... Plot one solution. Issue the command: hold on Plot the second solution The second plot will now appea...

18 Tage ago | 0

| accepted

Answered

Looking for a very fast root finding method in Matlab

Symbolic methods (vpasolve) are NEVER efficient. But all you have is a rational polynomial. The roots of a rational polynomial...

Looking for a very fast root finding method in Matlab

Symbolic methods (vpasolve) are NEVER efficient. But all you have is a rational polynomial. The roots of a rational polynomial...

20 Tage ago | 0

Answered

using fimplicit function to plot

As an alternative to the use of fimplicit, you can simply think of this as a contour plot. That is essentially all fimplicit doe...

using fimplicit function to plot

As an alternative to the use of fimplicit, you can simply think of this as a contour plot. That is essentially all fimplicit doe...

20 Tage ago | 1

Answered

Fit a function to the given data y(x) and extrapolate for y(0)

This is a LONG way to extrapolate. (Need I post, yet again, the Mark Twain quote about the dangers of extrapolation?) The point...

Fit a function to the given data y(x) and extrapolate for y(0)

This is a LONG way to extrapolate. (Need I post, yet again, the Mark Twain quote about the dangers of extrapolation?) The point...

20 Tage ago | 2

Answered

Convex polygon partitioning in MATLAB

No, there (still) is no solution in MATLAB for this. You could write it however. If you do, then post it on the file exchange. I...

Convex polygon partitioning in MATLAB

No, there (still) is no solution in MATLAB for this. You could write it however. If you do, then post it on the file exchange. I...

21 Tage ago | 0

Answered

Modulus of a fraction

I assume you are talking about the ring of integers modulo 5. In that case, 33/4 can be thought af as 33 times the mulitplicativ...

Modulus of a fraction

I assume you are talking about the ring of integers modulo 5. In that case, 33/4 can be thought af as 33 times the mulitplicativ...

21 Tage ago | 0

Answered

Please tell about Delaunay triangulation

In three dimensions, a triangulation will be composed of tetrahedrae, or we could call them 4-simplexes. So each piece will have...

Please tell about Delaunay triangulation

In three dimensions, a triangulation will be composed of tetrahedrae, or we could call them 4-simplexes. So each piece will have...

21 Tage ago | 0

Answered

fixed point Iterative method for finding root of an equation

To understand fixed point iteration, we need to know why and when it will diverge. When does it converge? For some problems, the...

fixed point Iterative method for finding root of an equation

To understand fixed point iteration, we need to know why and when it will diverge. When does it converge? For some problems, the...

22 Tage ago | 1

| accepted

Answered

How to find all solutions to a system of two nonlinear equations?

Here is the rub - you are in trouble IF you really want to find ALL solutions of a system of totally general nonlinear equations...

How to find all solutions to a system of two nonlinear equations?

Here is the rub - you are in trouble IF you really want to find ALL solutions of a system of totally general nonlinear equations...

23 Tage ago | 1

| accepted

Answered

inverse matrix calculation problem

You need to understand that the matrix a=[1 2 3;4 5 6;7 8 9] is singular. Therefore it has no inverse. You may as well have s...

inverse matrix calculation problem

You need to understand that the matrix a=[1 2 3;4 5 6;7 8 9] is singular. Therefore it has no inverse. You may as well have s...

24 Tage ago | 0

Answered

Matlab code for fractions

Confusing question. Do you know the value of s? s = 7 s = 7 >> 1.5/s ans = 0.214285714285714 >> format rat...

Matlab code for fractions

Confusing question. Do you know the value of s? s = 7 s = 7 >> 1.5/s ans = 0.214285714285714 >> format rat...

25 Tage ago | 1

Answered

Direction between points from [0,360]

The function atan2d gives angles that are from -180 to 180. Not a problem. This works: mod(atan2d(y,x),360) But you want the a...

Direction between points from [0,360]

The function atan2d gives angles that are from -180 to 180. Not a problem. This works: mod(atan2d(y,x),360) But you want the a...

27 Tage ago | 2

| accepted

Answered

PLEASE HELP ME CONVERT THIS EQUATION TO MATLAB CODE

Well, you did make an effort, and it was pretty close. But did you read my response? Did you read the help for tand and cosd? W...

PLEASE HELP ME CONVERT THIS EQUATION TO MATLAB CODE

Well, you did make an effort, and it was pretty close. But did you read my response? Did you read the help for tand and cosd? W...

27 Tage ago | 0

| accepted

Answered

Exponential Piecewise function creation.

A spline is not a piecewise exponential function, so using spline directly would be a waste of time, IF you truly need a piecewi...

Exponential Piecewise function creation.

A spline is not a piecewise exponential function, so using spline directly would be a waste of time, IF you truly need a piecewi...

27 Tage ago | 1

| accepted

Answered

minimum value of one inequality

This is just mathematics. r = 0.001; s = 7; n ALWAYS appears as 2^(-n/2). So calling that number x, first write the problem ...

minimum value of one inequality

This is just mathematics. r = 0.001; s = 7; n ALWAYS appears as 2^(-n/2). So calling that number x, first write the problem ...

28 Tage ago | 4

| accepted

Answered

Generate random sequence number with condition

I think you still do not appreciate that you cannot just say something is "random" and not define the distribution. For exampl...

Generate random sequence number with condition

I think you still do not appreciate that you cannot just say something is "random" and not define the distribution. For exampl...

29 Tage ago | 1

Answered

error using cross (A and B must have at least one dimension of length 3.)

I'm not sure what you want in terms of a 25000 dimensional cross produt between two vectors. What do you think it means? After a...

error using cross (A and B must have at least one dimension of length 3.)

I'm not sure what you want in terms of a 25000 dimensional cross produt between two vectors. What do you think it means? After a...

29 Tage ago | 1

| accepted

Answered

Diagonalising a Skew-Symmetric Matrix

Matrices that are defective will not have a complete set of eigenvectors. https://en.wikipedia.org/wiki/Defective_matrix " In...

Diagonalising a Skew-Symmetric Matrix

Matrices that are defective will not have a complete set of eigenvectors. https://en.wikipedia.org/wiki/Defective_matrix " In...

29 Tage ago | 0

Answered

Molecules on flat surface by using the package of Atomistic Topology Operations

Without more carefully reading the help for the code you are using, when I go to that link, it describes Box_dim as a variable. ...

Molecules on flat surface by using the package of Atomistic Topology Operations

Without more carefully reading the help for the code you are using, when I go to that link, it describes Box_dim as a variable. ...

30 Tage ago | 0

Answered

Taylor polynomial of a not infinitely differentiable function.

Your question has absolutely nothing to do with MATLAB, but you seem to have made some effort. So I will point out that you may ...

Taylor polynomial of a not infinitely differentiable function.

Your question has absolutely nothing to do with MATLAB, but you seem to have made some effort. So I will point out that you may ...

etwa ein Monat ago | 1

| accepted

Answered

Numerical integration over (0, x1)

If t is unknown, then you need to use symbolic tools to do the integration. syms x t K = 1/((exp(0.014342/(x * t)) - 1)) * (1/...

Numerical integration over (0, x1)

If t is unknown, then you need to use symbolic tools to do the integration. syms x t K = 1/((exp(0.014342/(x * t)) - 1)) * (1/...

etwa ein Monat ago | 1

| accepted

Answered

How can i compute an interpolated curve?

You don't provide the actual data. But you are asking to do something which is trivially easy for the eye to do, more difficult ...

How can i compute an interpolated curve?

You don't provide the actual data. But you are asking to do something which is trivially easy for the eye to do, more difficult ...

etwa ein Monat ago | 1

| accepted

Answered

how can I draw half circle in matlab ?

Sigh. You DID make an effort. It is not even a terrible solution, though what you did will not work, since it will at best be a ...

how can I draw half circle in matlab ?

Sigh. You DID make an effort. It is not even a terrible solution, though what you did will not work, since it will at best be a ...

etwa ein Monat ago | 2

| accepted

Answered

linprog cannot find solution

While you claim a solution exists, initially, I sincerely wonder if it truly does. I may learn differently by the time I am done...

linprog cannot find solution

While you claim a solution exists, initially, I sincerely wonder if it truly does. I may learn differently by the time I am done...

etwa ein Monat ago | 1

Answered

How to Run PSO with Real Data

You can't. That is, the optimal is just the optimal value at each point in your sample. You cannot do better than that, at least...

How to Run PSO with Real Data

You can't. That is, the optimal is just the optimal value at each point in your sample. You cannot do better than that, at least...

etwa ein Monat ago | 0

Answered

How to solve for x in an sin equation?

No. There are INFINITELY many solutions. So you cannot say you want the OTHER solution. You can simply enough find a positive so...

How to solve for x in an sin equation?

No. There are INFINITELY many solutions. So you cannot say you want the OTHER solution. You can simply enough find a positive so...

etwa ein Monat ago | 0

| accepted

Answered

linearly independent eigen vectors

And for some strange reason, you think that eig as applied to a diagonal matrix does not produce a set of independent eigenvecto...

linearly independent eigen vectors

And for some strange reason, you think that eig as applied to a diagonal matrix does not produce a set of independent eigenvecto...

etwa ein Monat ago | 0

| accepted