Community Profile

photo

John D'Errico


Retired

4,348 2006 年以降の合計貢献数

Mainly retired from Eastman Kodak. (Of course, Kodak itself is now semi-retired. I don't think I had any influence in that.) I still write MATLAB code as I find something interesting, and I do attempt to write new tools to put on the File Exchange when I think I can make a contribution.

However, I DON'T answer direct e-mail questions, and I do NOT do homework. In general, your homework is YOUR problem, not mine. Please do NOT e-mail me with your homework problems or student projects. If I was willing to answer your questions, I would very rapidly become overwhelmed, because one question is never just one simple question.

When I'm not doing something with MATLAB, you might find me playing bridge, either in the club or online on BBO.

Professional Interests: MATLAB, numerical analysis, mathematical modeling

Avocational interests: Bridge, woodworking, woodturning

連絡する

John D'Errico's バッジ

  • Master
  • Revival Level 3
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 4
  • First Answer
  • Promoter
  • Speed Demon
  • CUP Challenge Master
  • Creator
  • Commenter
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
What computer should I buy?
READ THE SYSTEM REQUIREMENTS. https://www.mathworks.com/support/requirements/matlab-system-requirements.html They suggest that...

約12時間 前 | 0

回答済み
Promoting MATLAB at the higher edu institution I work for
This is not a question you could ask on Answers. Note that we are volunteers, not paid representatives of The MathWorks. As we...

1日 前 | 0

回答済み
Error: index must be a positive integer or logical.
You wrote this: Bs(0)=-(imag(yo)); MATLAB is not whatever other language you came from. MATLAB has an index origin of 1, NOT 0...

1日 前 | 2

回答済み
VAN DER PAUW equation
First, see that no symbolic solution will exist. If we have the general problem: exp(-A*x) + exp(-B*x) == 1 then by the tra...

1日 前 | 1

回答済み
How to increment a variable
To increment a variable X, simply use X = X+1; MATLAB does not support the increment operator ++.

1日 前 | 6

| 採用済み

回答済み
Function roots. Fixed-point iteration
First, what are the roots? Are you trying to solve the problem q(x) == 0? Or are you trying to solve the problem q(x)==x? A fix...

3日 前 | 0

回答済み
solving nonlinear equation by fsolve
Using max inside an objective that will then be applied to fsolve is a bad idea. It creates a function that is at best non-diffe...

5日 前 | 0

回答済み
Conditional statement with vectors
help discretize

5日 前 | 0

回答済み
Why my result is 0×1 empty double column vector
Um, LOOK AT WHAT YOU DID? eqn eqn = [ 0 == 5780664229092589/18446744073709551616, 0 == 5780664229092589/18446744073709551616,...

6日 前 | 1

回答済み
Getting a smooth curve instead of two linear functions
You have two lines that create what is NOT a function, in the sense that it is single valued. So, for any x, you get a y out. He...

6日 前 | 0

回答済み
Y=sqrt((A^2*X^2+B^2*X^2)/(C+D^2*X^2))
People still seem to be missing that the fit will NOT be unique. The model cannot be estimated uniquely as it has been posed. Fi...

7日 前 | 2

回答済み
How to solve extra long equations with multiple unknowns?
You have two fairly complicated equations, in two unknowns. Why do you expect an analytical solution to exist at all? I'd have b...

8日 前 | 0

| 採用済み

回答済み
How to explain a bad performance rating using the bench command?
Lots of reasons are possible. The ones that come to mind immediately are: Were you running something else at the same time? Bro...

8日 前 | 0

回答済み
How do I randomly generate numbers with a certain amount of probability?
As is often the case, I would suggest you are overthinking this. You have a sequence of 24 pairs of images to be shown. There ...

11日 前 | 0

回答済み
Randomly dividing an integer (non-uniform distribution)
The problem with the alternative answers given, is they tend to have a flaw, in that they do not sample the space of interest we...

11日 前 | 2

回答済み
How to plot a variable in MATLAB which can not be separated explicitly ?
Is ln meant to denote the NATURAL logarithm? If so, then you use log in MATLAB. At first, I thought you mean to write lin, whic...

12日 前 | 0

| 採用済み

回答済み
could anyone help me how to reshape the matrix.
You are not asking to do a reshape, which does not change the total number of elements. A = A(1,:);

13日 前 | 0

| 採用済み

回答済み
generating a sequence of numbers
Not if a1, a2, a3, a4, etc., are separate variables. If that is what you have done, then it is time to learn to program in ways ...

13日 前 | 0

| 採用済み

回答済み
extrapolate the plot to the point out of the interval
You can't. Well, you can, but interp1 will give you meaningless garbage, as it should. Extrapolation is a dangerous thing. And ...

14日 前 | 1

回答済み
why it can't be used as a number?
It can be used as a number, IF you understand what you are doing. MATLAB works in DOUBLE PRECISION. A double precision number w...

14日 前 | 3

| 採用済み

回答済み
An example of using crammers rule or geuss elimination?
Don't use either of them! There are many examples of things that you might learn to use when doing homework, and in class as a s...

14日 前 | 0

回答済み
Cannot use fzero function
My guess is you did not actually save that function as an m-file on your search path. This is why MATLAB could not find the func...

15日 前 | 1

回答済み
How to define nuclear norm in matlab?
What is difficult to program? A quick search online suggests it is the L-1 norm of either the vector of singular values, or of t...

15日 前 | 0

| 採用済み

回答済み
Why won't this program run?
Because you don't understand how to use the function zeros? Go back to go, do not collect $200, and read the getting started tut...

15日 前 | 1

回答済み
It doesn't give a result. mablab couldn't take the integral of M = cos(2*pi*a*ti);
"It doesn't give a result. mablab couldn't take the integral of M = cos(2*pi*a*ti);" Actually, the failure arises because you d...

15日 前 | 2

回答済み
unbounded problem in linprog but not in fmincon
This is your problem? A=[ 1 1 1 0 0 0 0 0 0; -2.5 0 0 1 -1 0 0 0 0;0 -3 0 0 0 1 -1 0 0;0 0 -20 0 0 0 0 1 1;0 0 0 0 0 0 0 1 0]; ...

16日 前 | 2

| 採用済み

回答済み
Solve tridiagonal matrix system by thomas algorithm
Is it obligatory to create a matrix with those specific elements? Of course not. As long as you know what elements have which va...

16日 前 | 0

| 採用済み

回答済み
Heun's method
Is there a general code? No, unless you write it, or find it on the file exchange. Why should there be?

16日 前 | 0

回答済み
How to plot a nonlinear equation using FSOLVE in MATLAB
You have an implicit function. So a relationship involving two variables, where there is no way to resolve one as a function of ...

17日 前 | 0

| 採用済み

回答済み
Obtaining a fourth order of accuracy approximation formula for y''(0) and findind rhe unknown coefficients
Save this function as an m-file, NOT in the MATLAB directories, but on your search path. function ypp = accuracyapprox syms ...

18日 前 | 0

Load more