回答済み

Converging on local minima using ga(). Ways to increase odds of finding global minima.

So big problems take time. Should this be a surprise? More time invested can be a gain, since here it will improve the ability o...

Converging on local minima using ga(). Ways to increase odds of finding global minima.

So big problems take time. Should this be a surprise? More time invested can be a gain, since here it will improve the ability o...

26日 前 | 1

回答済み

Name of islocalmin algorithm

You can read about it here: islocalmin But is there a specific "algorithm" that can be named? It seems a pretty simple algorit...

Name of islocalmin algorithm

You can read about it here: islocalmin But is there a specific "algorithm" that can be named? It seems a pretty simple algorit...

27日 前 | 0

| 採用済み

回答済み

Detrending still leaves a slope

It depends on how you define detrend. Clearly, you have a different definition from me, at least, as well as the author of the f...

Detrending still leaves a slope

It depends on how you define detrend. Clearly, you have a different definition from me, at least, as well as the author of the f...

27日 前 | 1

回答済み

Operator '*' is not supported for operands of type 'function_handle'.

Too many errors in this code to list them all out. Starting at the beginning... eta_0 = 1 % Initial value of eta That line doe...

Operator '*' is not supported for operands of type 'function_handle'.

Too many errors in this code to list them all out. Starting at the beginning... eta_0 = 1 % Initial value of eta That line doe...

27日 前 | 1

| 採用済み

回答済み

Why does it take MATLAB so long to print hello world?

To me, this all seems to be making a mountain out of a mole hill. Yes, if you are going to launch MATLAB, even with no gui inte...

Why does it take MATLAB so long to print hello world?

To me, this all seems to be making a mountain out of a mole hill. Yes, if you are going to launch MATLAB, even with no gui inte...

28日 前 | 0

回答済み

3D surface triangulation

What is the problem? Just delete any triangles with edges that are long. Since the CRUST code will span that hole, any triangles...

3D surface triangulation

What is the problem? Just delete any triangles with edges that are long. Since the CRUST code will span that hole, any triangles...

29日 前 | 0

回答済み

How to obtain curve fitting tool startpoints using code? Replicate Curve Fitter Toolbox

I'm sorry, but there is no magic. If you do not supply start points, then fit uses random numbers. This actually has SOME amount...

How to obtain curve fitting tool startpoints using code? Replicate Curve Fitter Toolbox

I'm sorry, but there is no magic. If you do not supply start points, then fit uses random numbers. This actually has SOME amount...

29日 前 | 0

| 採用済み

回答済み

When does an anonymous function reach a specified value?

Since you do not provide a value for a, there is no numerical solution possible. However, as long as the function is a simple ...

When does an anonymous function reach a specified value?

Since you do not provide a value for a, there is no numerical solution possible. However, as long as the function is a simple ...

29日 前 | 1

回答済み

How to define partial fraction expansion?

You already know about the existence of the function residue.m. Therefore your question is truly to "explain the development" ...

How to define partial fraction expansion?

You already know about the existence of the function residue.m. Therefore your question is truly to "explain the development" ...

29日 前 | 0

回答済み

Determine adjacent points in a logical matrix

Trivial. Learn to think in terms of MATLAB operations. I've added another 1 in there, just to make it clear what the problem is....

Determine adjacent points in a logical matrix

Trivial. Learn to think in terms of MATLAB operations. I've added another 1 in there, just to make it clear what the problem is....

30日 前 | 0

| 採用済み

回答済み

How to automatically find the function that linearizes another function.

If, given the function f(x), your problem is simply to find a new function g(x), such that f(x)*g(x) is linear, then it is absol...

How to automatically find the function that linearizes another function.

If, given the function f(x), your problem is simply to find a new function g(x), such that f(x)*g(x) is linear, then it is absol...

約1ヶ月 前 | 0

回答済み

Attempt to execute SCRIPT interp2 as a function:

Did you mistakenly edit interp2, and then save it, after deleting the function header? Are you POSITIVE there is no script by ...

Attempt to execute SCRIPT interp2 as a function:

Did you mistakenly edit interp2, and then save it, after deleting the function header? Are you POSITIVE there is no script by ...

約1ヶ月 前 | 0

回答済み

Replacing segmented equations within equation with variables

Literally trivial. For example... syms x y z EQ = y/x + sin(x^2/y^2) simplify(subs(EQ,x,y*z))

Replacing segmented equations within equation with variables

Literally trivial. For example... syms x y z EQ = y/x + sin(x^2/y^2) simplify(subs(EQ,x,y*z))

約1ヶ月 前 | 0

回答済み

fit accuracy using custom equation

First, the model you show is not even a valid expression. The parens don't match up. y=a*log(1+exp(x/b))-c) 2 left parens,...

fit accuracy using custom equation

First, the model you show is not even a valid expression. The parens don't match up. y=a*log(1+exp(x/b))-c) 2 left parens,...

約1ヶ月 前 | 0

回答済み

I do not understand exit message given by lsqnonlin,

Note that when you have problems that are more than just bounded variables, so any other set of constraints, then it appears lsq...

I do not understand exit message given by lsqnonlin,

Note that when you have problems that are more than just bounded variables, so any other set of constraints, then it appears lsq...

約1ヶ月 前 | 0

| 採用済み

回答済み

Getting imaginary values as solutions to equations using solve function

P_l=50; v=0.1; k=15; Tm=1375; T0=300; alpha=3.75*10^(-6); E= 190*10^9; h= 100*10^9; G= 150*10^9; nu=0.3; psi= 1- exp(-...

Getting imaginary values as solutions to equations using solve function

P_l=50; v=0.1; k=15; Tm=1375; T0=300; alpha=3.75*10^(-6); E= 190*10^9; h= 100*10^9; G= 150*10^9; nu=0.3; psi= 1- exp(-...

約1ヶ月 前 | 0

回答済み

I am struggling with integrating a function.

Don't use inline functions. They are slow, inefficient things, introduced long ago, in a galaxy far, far away. Instead use funct...

I am struggling with integrating a function.

Don't use inline functions. They are slow, inefficient things, introduced long ago, in a galaxy far, far away. Instead use funct...

約1ヶ月 前 | 0

| 採用済み

回答済み

Finding the first 1 in a binary set using optimization

If V is given, then find(V,1) is perfect, and it will not be improved upon. And you say that V is given! So what is your questio...

Finding the first 1 in a binary set using optimization

If V is given, then find(V,1) is perfect, and it will not be improved upon. And you say that V is given! So what is your questio...

約1ヶ月 前 | 0

回答済み

computational complexity of svds

Sorry, but no, we can't tell you why a choice was made. MathWorks does not give out that information. You MIGHT be able to lear...

computational complexity of svds

Sorry, but no, we can't tell you why a choice was made. MathWorks does not give out that information. You MIGHT be able to lear...

約1ヶ月 前 | 0

回答済み

Numbers prediction using advanced matlab code

A neural net will use a random start point in the training. Start from a different set of parameters for the net, and you will g...

Numbers prediction using advanced matlab code

A neural net will use a random start point in the training. Start from a different set of parameters for the net, and you will g...

約1ヶ月 前 | 0

回答済み

Kindly help me understand this code, it is a user defined function for multiplying two polynomials

I'm sorry, but that code is complete crapola. Better code might look something like that below. Test it out. p1 = [2 5 3]; p2...

Kindly help me understand this code, it is a user defined function for multiplying two polynomials

I'm sorry, but that code is complete crapola. Better code might look something like that below. Test it out. p1 = [2 5 3]; p2...

約1ヶ月 前 | 0

| 採用済み

回答済み

Interpolation between 3D data sets. Neural Networks or Other Methods?

What is the "best" method? Impossible to say. To know what defines best, we would need to know EXACTLY what your requirements a...

Interpolation between 3D data sets. Neural Networks or Other Methods?

What is the "best" method? Impossible to say. To know what defines best, we would need to know EXACTLY what your requirements a...

約1ヶ月 前 | 0

回答済み

elements >0 are present in matrix only once

Count the number of non-zero unique elements. Count the number of non-zero elements. Are those two numbers the same? In either...

elements >0 are present in matrix only once

Count the number of non-zero unique elements. Count the number of non-zero elements. Are those two numbers the same? In either...

約1ヶ月 前 | 0

回答済み

How to make contour smooth

As others have pointed out, you don't want to try to make the contours smooth AFTER the fact. Instead you want to smooth the sur...

How to make contour smooth

As others have pointed out, you don't want to try to make the contours smooth AFTER the fact. Instead you want to smooth the sur...

約1ヶ月 前 | 0

回答済み

Creating AlphaShape from triangulation dataset

Is there any way? Trivially, yes. Ok, maybe trivial is in the eyes of the writer. I can say this because I have written both 2d ...

Creating AlphaShape from triangulation dataset

Is there any way? Trivially, yes. Ok, maybe trivial is in the eyes of the writer. I can say this because I have written both 2d ...

約2ヶ月 前 | 0

| 採用済み

回答済み

Is it possible to constrain a polynomial fit in MATLAB so that the resulting fit is rotationally symmetric?

No. It is not directly possible to do so, that is, to force the fit to be rotationally symmetric for a general polynomial. Howev...

Is it possible to constrain a polynomial fit in MATLAB so that the resulting fit is rotationally symmetric?

No. It is not directly possible to do so, that is, to force the fit to be rotationally symmetric for a general polynomial. Howev...

約2ヶ月 前 | 2

回答済み

How to split a irregular polgon into different parts having specific area for each part?

There is no magical, trivial solution, based on a single call to any function. Why would someone write that anyway? But it woul...

How to split a irregular polgon into different parts having specific area for each part?

There is no magical, trivial solution, based on a single call to any function. Why would someone write that anyway? But it woul...

約2ヶ月 前 | 0

回答済み

Solving a system of equations using Symbolic Matlab

You CANNOT use fsolve, though you said you tried it. This is not a numerical problem, but a symbolic one. t is an unknown there....

Solving a system of equations using Symbolic Matlab

You CANNOT use fsolve, though you said you tried it. This is not a numerical problem, but a symbolic one. t is an unknown there....

約2ヶ月 前 | 1

| 採用済み

回答済み

very similar dataset and yet 'TRAPZ' function gives very different answers

"Very" different? "VERY"? Lets be serious. xy1 = [1.43155281315397 0.00255865851191916 1.35675838019809 0.0145131910703132 1....

very similar dataset and yet 'TRAPZ' function gives very different answers

"Very" different? "VERY"? Lets be serious. xy1 = [1.43155281315397 0.00255865851191916 1.35675838019809 0.0145131910703132 1....

約2ヶ月 前 | 1

| 採用済み

回答済み

How would I perform a weighted least-squares regression analysis with x and y error?

Let me see what I can explain. (I think some have missed the point of your question.) These problems are always simpler than yo...

How would I perform a weighted least-squares regression analysis with x and y error?

Let me see what I can explain. (I think some have missed the point of your question.) These problems are always simpler than yo...

約2ヶ月 前 | 1