photo

John D'Errico


Last seen: Today 自 2006 起处于活动状态

Followers: 41   Following: 0

消息

A retired applied mathematician, consultant, sometime mechanical engineer, numerical analyst, woodworker, bridge player. Please DON'T contact me, as too many students then decide I am their personal consultant if I allow it. I won't do consulting by mail.

统计学

All
MATLAB Answers

15 个提问
7,926 个回答

File Exchange

62 文件

Cody

5 个问题
140 个答案

Discussions

14 个亮点

排名
9
of 301,748

声誉
22,293

贡献数
15 个提问
7,926 个回答

回答接受率
46.67%

收到投票数
4,872

排名
4 of 21,405

声誉
66,845

平均
4.80

贡献数
62 文件

下载次数
374

ALL TIME 下载次数
603569

排名
1,869
of 176,353

贡献数
5 个问题
140 个答案

评分
1,566

徽章数量
7

贡献数
0 帖子

贡献数
0 公开的 个频道

平均

贡献数
14 个亮点

平均赞数
3

  • Most Accepted 2023
  • Editor's pick for Answers
  • Quiz Master
  • Promoter
  • Top Downloads 2024
  • Top Downloads 2023
  • Top Downloads 2022
  • Top Downloads 2021
  • Top Downloads 2020
  • Revival Level 4
  • Top Downloads 2019
  • Personal Best Downloads Level 5

查看徽章

Feeds

已回答
free trail doubt issue
After it ends in 30 days, it will just end. You will have a choice then of continuing your use of MATLAB by paying the normal fe...

1 day 前 | 0

已回答
Volume and Surface Area of a Compound Geometric Object
First, alpha shapes tend to be poor at representing volumes with sharp internal corners, like those between the intersection of ...

5 days 前 | 1

已回答
Call parameters by their variable name in Simulink rather than having to index the value.
If you can pass in a vector, then you can pass in a structure. Just assign fields to the structure. parameters.khch = 2; There...

6 days 前 | 0

已回答
looking for creator of specific code
The codes I did find were a bit more sophisticated in general, and I did not expect to find anything. HOWEVER, when I looked on ...

6 days 前 | 1

已回答
¿Cómo podría solucionar matrices por el comando [L,U]? no sé nada respecto al tema
I think your confusion stems from a misunderstanding. LU is fine, even with rank deficient matrices. As long as you use the MATL...

9 days 前 | 0

已回答
Convergence error in numerical method.
99,9% probable user error, 0.1%, it could be real. Hey we cannot know, since we don't see your code. But the point is, you hav...

21 days 前 | 1

已回答
Minimally constraining an FEA Model in Matlab
If it is resting on a surface, it is not resting gently, in the sense that it CANNOT freely expand below the surface. In fact, y...

1 month 前 | 0

| 已接受

已回答
Find specified number of points on curve with identical chord length (not arc length)
Admittedly, interparc does not solve the problem you want to solve. At least, not the probem you CLAIM you want to solve. As the...

1 month 前 | 0

已回答
can this code be improved?
You have asked several questions. 1. Is it well written? 2. Can it be improved? Something you did not ask is if it SHOULD be imp...

2 months 前 | 0

已回答
Eigendecomposition not fully utilizing all cores on M1 pro, matlab 2025b
Some operations are not as easily parallelized when utilizing automatic mutithreading. That is possibly the case for eig, where ...

2 months 前 | 0

| 已接受

已回答
I want to decrease the time my Script
If you want to speed up your code, then you need to make the effort. We cannot possibly know what you are doing here, at least n...

2 months 前 | 0

| 已接受

已回答
Why Does polyval Return Zero When the Coefficients are Empty?
(This could easily better belong in a discussion than in Answers.) I could argue that any choice they made was arbitrary, becau...

2 months 前 | 0

Discussion


Little Fermat, a valuable tool for primality testing
In a previous discussion, https://www.mathworks.com/matlabcentral/discussions/tips/884294-oh-no-isprime-is-missing-just-kidding...

2 months 前 | 0

已回答
GA stops with different score every time, even with setting big MaxGeneations and MaxStallGenerations
Nonlinear solvers, of which GA is one, cannot be forced to ALWAYS return the optimal result. And while tools like GA are designe...

3 months 前 | 1

已回答
Does [V,D] = eig(A) always return normalized eigenvectors for any real matrix A?
Be a little careful that A is not in symbolic form, even if it is real and SPD. A = randn(4,3); A = A'*A % A MUST clearly be SP...

3 months 前 | 1

已回答
Is fit() deterministic when StartPoint is specified?
If the start point is specified, then yes, FIT should be deterministic. At that point there is no reason for any pseudo-random n...

3 months 前 | 2

Discussion


What is an emirp? Can we find a new world record size prime of this form, using only MATLAB, and a home computer?
An emirp is a prime that is prime when viewed in in both directions. They are not too difficult to find at a lower level. For ex...

3 months 前 | 0

已回答
fread a double that's been broken up into four 16 bit words
I don't see the problem. For example... Xtest = randn*100 Now, I'll split it into 4 hex numbers, each taking up 16 bits. Xhe...

3 months 前 | 0

已回答
vpasolve does not solve simple equation
Well, look more closely at your question. Plot it. syms x; A = 6.742; B = 4.82; F = A - 2/(9*(1 - x)^(1/2)) - B*x fplot(F,[0,...

3 months 前 | 0

| 已接受

已回答
Any way to remove terms smaller than "digits" from symbolic expression? R2023a
While the solutions offered by @Paul and @Walter Roberson will both solve the problem you asked, be careful, as automatic approa...

4 months 前 | 0

已回答
When I use nlinfit, the sintax nlinfit(t0,p0 ,@(b,t) ...),but if Ireplace nlinfit with fmincon, the sintax is not valid, why?
@Marcos there is no need to use global variables. For example... x = rand(20,1); y = 3 + 4*exp(x*1.5) + randn(size(x))/3; plo...

4 months 前 | 0

已回答
Como puedo reiniciar mis cursos
"I took a course last year, completed it, and received the corresponding certificate. However, I need an updated certificate for...

4 months 前 | 1

已回答
Mixing name/value pair syntax
I have at least a couple of reasons why, which is why I will pose this as an answer. Knowing exactly which deliberations were ma...

4 months 前 | 0

已回答
**How can inflection points be robustly identified on a cumulative histogram (CDF) curve in MATLAB when only discrete, noisy CDF data is available?**
I'm sorry, but you are looking for magic that does not exist. An inflection point is a point where the SECOND derivative chang...

4 months 前 | 1

已回答
Convex bivariate B-spline by construction (PSD Hessian)?
Even without thinking about it, I'm pretty sure the answer is no. Things get nasty when you move beyond one dimension, and 2d is...

4 months 前 | 0

已回答
An easy way to input song chords into a structure of MATLAB
AVOID the function input. It only hurts your code, preventing you from growing. Learn to use other solutions for data input. One...

5 months 前 | 2

| 已接受

已回答
I'm using a 2020 Mac Mini. Will R2017a run on this computer if I upgrade to MacOS Tahoe?
No. 2017a will NOT run on Tahoe. Just read the docs to tell you which OS versions can run R2017a. https://www.mathworks.com/co...

5 months 前 | 0

| 已接受

已回答
Are iterative methods always better than direct methods for solving large linear systems?
The use case which some may miss here, is the very large array, where a dense solver fails due to memory, but even the sparse on...

5 months 前 | 2

已回答
solving a system of linear equations where A is a 40*40 sparse matrix
I'd suggest that sparse is almost meaningless when the matrix is only 40x40. At that point, the dense solvers are still extremel...

5 months 前 | 3

已回答
Putting spaces between elements of a string/
A = ['011001110000';'101111000000';'110100011000';'011010001100';'010101000110';'110010100010';... '100001010011';'10100010...

5 months 前 | 2

| 已接受

加载更多