Community Profile

photo

John D'Errico


Retired

Last seen: Today 2006 以来アクティブ

DON'T contact me. I won't answer questions. PERIOD. I don't do your homework. I won't do consulting. A retired mathematician, numerical analyst, woodworker, bridge player.

Statistics

All
  • Revival Level 4
  • Master
  • Quiz Master
  • Promoter
  • Top Downloads 2020
  • Top Downloads 2019
  • Personal Best Downloads Level 5
  • Editor's Pick
  • First Review
  • 5-Star Galaxy Level 5
  • First Submission
  • 36 Month Streak

バッジを表示

Content Feed

表示方法

回答済み
Why does N-D convexhulln give a matrix as an output instead of vector containing indices of inputs?
The convex hull of a 2-d data set will be simply a polygon. So the convex hull code returns the set of points in the polygon, in...

1日 前 | 0

| 採用済み

回答済み
Modification in besselk (Modified Bessel fn of 2nd kind order zero)
Simple answer - No. Utilities like this, erf is another excellent example, that while they can be defined in terms of an integr...

6日 前 | 0

| 採用済み

回答済み
I am trying to solve for w using determinants
Why do you think there is a problem. We can shorten the coefficients of Z a bit, just to look at what is happening. vpa(Z,3) a...

7日 前 | 0

回答済み
Is there a way to get the same results for linprog & fmincon given the same optimization problem?
Well, NO. You cannot insure exactly the same solution will arise from both solvers. I can think of several ways for the two solv...

7日 前 | 1

| 採用済み

回答済み
Does anyone know how to add the legend?
x = rand(1,5); y1 = x + 2; y2 = x*2; plot(x,y1,'ro') hold on plot(x,y2,'bs') legend('+2','*2') Really, pretty basic. In...

7日 前 | 0

回答済み
what is the difference between assigning with and without range?
Yes. There is a difference, and a fundamental one. In the first case, the assignment a=b COMPLETELY replaces a. The variable is ...

7日 前 | 1

回答済み
Help solving a nonlinear function
I don't know what it means when you call something an equation that varies in a loop. This is certainly not a PHD level rabbit h...

11日 前 | 0

回答済み
Solving for different thetas in an equation.
You CANNOT solve for both theta1 and theta2 in a single equation like that. (I assume you meant a single equation, because you h...

13日 前 | 0

回答済み
How does this code support in carparking slot identification?
Out of context, this code is meaningless. It has absolutely nothing to do with the question you have asked about. And that was e...

13日 前 | 0

回答済み
Project Euler: Problem 11
As far as why it failed test case #3, perhaps you need to write better, more efficient code. The code you wrote will be a bit of...

14日 前 | 0

| 採用済み

回答済み
Integrate Acceleration to velocity, wrong plot
I would suggest your problem may be a simple one. When you integrate a function, there is a constant of integration, which is ...

14日 前 | 0

回答済み
skewness and kurtosis of a weighted distribution
Sorry for being late to the party, but I had to answer this question once I saw an answer posted that does not actually help. T...

15日 前 | 1

回答済み
WHAT IS THE SOLUTION FOR
Why? Is there a problem? Are you worried that your code is taking 1 millisecond longer to execute in this case? My point is, th...

17日 前 | 1

| 採用済み

回答済み
FORTRAN POPPAR Equivalent in Matlab
The obvious answer is the simple answer... sum(dec2bin(I) - '0')

22日 前 | 0

| 採用済み

回答済み
ode45 solving a differential equation that has no solution for given boundary conditions
So, you formulated a 2nd degree ODE. Converted it as: syms x(t) eqn = diff(x,2) + x == 0 [V] = odeToVectorField(eqn) M = m...

22日 前 | 0

| 採用済み

回答済み
manually-written floor function code for rounding non-integers
If you want a mathematical expression, WRITTEN in MATLAB (where it will not have been written in the actual code) this could wor...

22日 前 | 2

| 採用済み

回答済み
Questions on "Ordinary kriging"
As Jan told you, vstruct is provided by variogramfit. Where can you find that code? You need to download variogramfit, also prov...

22日 前 | 1

回答済み
Rescaling curves by a factor to a single curve
You are looking to fit these curves using some nonlinear model. But you have not even said what model you want to use, just that...

23日 前 | 0

回答済み
Can I solve a constrained optimization of general form of algebraic equation using matlab?
The problem is, even a simple function as you have written is is not as simple as you think. This is a problem of understanding ...

25日 前 | 0

| 採用済み

回答済み
Problem when testing long decimal numbers
The problem is merely your understanding of floating point numbers and the methods used to store them. MATLAB uses only 52 bina...

26日 前 | 0

| 採用済み

回答済み
Solving Ax=b but only for the values in some rows of x
We are given a problem where A is a large sparse matrix. We wish to compute the solution for the problem A*X == b where b ...

27日 前 | 1

| 採用済み

回答済み
Optimization solvers change their performance in different programming languages?
No. The language makes NO choices. It does not prepare the problem differently. A language is not in itself sufficiently intelli...

27日 前 | 0

回答済み
I have a problem with my code, it works fine but the results it isn't correct because the code is not compatible with the equations .. description below
This is one of those questions that tend to languish unanswered on the site. Why? Because you just say that your code does not w...

28日 前 | 0

回答済み
Lsqnonlin problem for calibrating accelerometer
Um, the solution is not to find Q. Because it is difficult to constrain a matrix to be positive definite. You don't want to try ...

29日 前 | 0

回答済み
control the threshold of random numbers
You just say you want a distribution of numbers that is not uniform. But if you say only what it is not, that is not enough to s...

29日 前 | 0

| 採用済み

回答済み
Find the transformation matrix
First, learn to use matrices, NOT numbered variables. Assuming that you have a matrix X, and a matrix Y, with x1 x2, y1, y2 as c...

29日 前 | 1

| 採用済み

回答済み
how to solve 3 equations with a known variable and 3 unknown variables
The solution is simple, as I said, and somehow, I imagine you will end up changing the question again. I'll give you an answer, ...

30日 前 | 0

回答済み
How can I identify the most important independent variable in an equation?
Is it possible? Not really. Not using MATLAB or anything else. You have ONE expression. You might describe the "most important" ...

約1ヶ月 前 | 0

| 採用済み

回答済み
Does Matlab have a library for Monte Carlo integration
Do they have a "library"? Not really what I would call a "library". Maybe you might. But why would they? They offer random numbe...

約1ヶ月 前 | 0

もっと読み込む