Réponse apportée
How to check in which step MATALB code is running?
I tend to use things like waitbars, or some informative output that gives me a clue. For example, I have been recently running a...

presque 4 ans il y a | 0

Réponse apportée
exp( ) gives unexpected answer for (2,2) input
I would bet a large sum of money that a is not exactly what you think it is. a_you_think = [1.4142 1.4121; 1.4142 1.4121]; How...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
How do I integrate LegendreP for specific values of m and n?
help legendre The legendre function evaluates the specified Legendre polynomial at the indicated points. It does not return the...

presque 4 ans il y a | 0

Réponse apportée
Get one equation from two complex roots
You can use help sym/expand to force MATLAB to expand an expression that contains parens. syms s expand((s-(-9+i*3))*(s-(-9...

presque 4 ans il y a | 0

Réponse apportée
"A matrix 'B' of 5x5 whose elements are all 5"
Can you create a matrix of the desired size that is all ones? (Clearly yes, since you know how to use the ones function.) Could ...

presque 4 ans il y a | 3

Réponse apportée
GA - objective and constraints have to run the same expensive function
I would try memoization. help memoize For example, we can use it as in the example below. I've created a function that does li...

presque 4 ans il y a | 0

Réponse apportée
Which solver can solve this equation for V. Result should be around 59. I tested the to halfs of the equation on python. Thank you for your directions in the first place.
So the second time you asked this question, you provided values for the other variables. I'll first put it in symbolic form so w...

presque 4 ans il y a | 0

Réponse apportée
Hi all,I want to use matlab to calculate the exponential integral,I know that the official function ExpIntegralE in Mathematica can calculate it.
Is there a reason why you would not just use expint? help expint Probably you did not look for it. And that was what you did w...

presque 4 ans il y a | 0

Réponse apportée
Is there a special Matlab function existing to check feasibility of a Point (to a Optimization Problem)
Why should there be a better way? That is, does your check completely answer the question, in a simple way, as efficiently as p...

presque 4 ans il y a | 2

Réponse apportée
How to utilize caching architecture of MATLAB to speed up costly function evaluations for different inputs
Learn how to use memoize. help memoize

presque 4 ans il y a | 0

Réponse apportée
How can I get the function g(x) (way to solve functional equation)
NOTHING IN your question is about MATLAB. But you already have an answer. I think you may have a misunderstanding. Is there a w...

presque 4 ans il y a | 1

Réponse apportée
Making Smoother the Curve fit to Airfoil data using cscvn function
I saw your question. You don't need to direct a question at me. However, it appears you are asking how to get a sharp corner at...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
I want to find 4 constant with used 1 eq
I'd like to solve a problem just like you. Let me pretend I have been given the equation: a + b + c + d = 5 Can I determ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Is it possible to implement optimization algorithms, especially particle swarm, with "dynamic bounds" in MATLAB?
The fuzzy bounds you describe are not actually bounds at all, just subtle, vague hints. And code tends not to handle fuzzy hints...

presque 4 ans il y a | 0

Réponse apportée
plot an eight variable function
It is easy, even trivial to do. All you need is one of those nice hyper-dimensional monitors. They are difficult to buy though, ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Convert striaght lines to smooth curves
Why in the name of god and little green apples are you differentiating acceleration? You need to INTEGRATE acceleration, once to...

presque 4 ans il y a | 0

Réponse apportée
is there codes that helps to find out the type of the distribution ?
As Rik said, difficult to know which distribution a random variable comes from. Don't believe me? x = 0.96489; Do you know if ...

presque 4 ans il y a | 3

Réponse apportée
How to get the cofactor matrix of any given square matrix (singular or non singular)?
The matrix of cofactors is moderately well posed, even when the matrix is itself singular. Of course, what you would do with it ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
Want to add two 2D array with special condition
Easy peasy. A = [0 0 1;1 2 3; 0 0 0 ]; B = [1 2 1; 1 0 0; 2, 3, 0]; C = (A + B)./(1 + (A&B)) The trick is to look carefully ...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
slope of non linear
Are you right to use a second order difference? NO. That is not the slope, but something proportional to the SECOND derivative. ...

presque 4 ans il y a | 0

Réponse apportée
Will Spanish be supported at some point in Matlab Text Analytics Toolbox?
That is a definite maybe. Or maybe not. Answers is not a direct line to the MathWorks. Those who answer a question here are doi...

presque 4 ans il y a | 0

Réponse apportée
Plotting a system of nonlinear equations
Learn first that MATLAB uses log(x) as the NATURAL log, NOT ln(x). As well, learn that MATLAB does NOT use implicit multiplicat...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
How to find the integer values of the following system of equations
These are called Diophantine equations, as integer solutions are required. The square terms and products make them nonlinear. As...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Finding an initial feasible point x0 for fmincon
Two simple rules apply. If it was easy, then all solvers would do it for you, automatically. There would never be any issues. N...

presque 4 ans il y a | 2

Réponse apportée
I have a very simple markov chain and I was wondering if there is a simplified equation for times spend in each state
This is not even a question about MATLAB. And worse, this is very likely a homework problem. However, since you have gotten an a...

presque 4 ans il y a | 2

| A accepté

Réponse apportée
Failed to add constant in the middle of a long array
I'm sorry, but you are simply wrong. It may mean that you did some other computations, or that you are confused. But this is a b...

presque 4 ans il y a | 0

| A accepté

Réponse apportée
fminunc Converging at a strange point
This is a common mistake made by people. x varies over a moderately large range. That means the POWERS of x will get very large....

presque 4 ans il y a | 0

Réponse apportée
Aligning two noisy signals
Smoothing is NOT necessary. Lacking your data to use as an example... t = 0:500; S1 = sin(t/10) + randn(size(t))/10; S2 = cos...

presque 4 ans il y a | 0

Réponse apportée
Verify analytical expression: derivative of an integral with undefined function
You define a function of a variable as I do here: syms n omega phi(t) T diff(int(phi*exp(-i*n*omega*t),[0,T]),T) Looks like y...

presque 4 ans il y a | 1

| A accepté

Réponse apportée
Three terms exponential fit without initial guess
There are a lot of misconceptions here. Can you do a fit without ANY initial guesses? No. Any nonlinear fit will use initial gu...

presque 4 ans il y a | 2

| A accepté

Charger plus