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,918 回答

File Exchange

62 ファイル

Cody

5 問題
140 解答

Discussions

14 ハイライト

ランク
9
of 301,522

評判
22,283

コントリビューション
15 質問
7,918 回答

回答採用率
46.67%

獲得投票数
4,869

ランク
4 of 21,315

評判
66,795

平均評価
4.80

コントリビューション
62 ファイル

ダウンロード
529

ALL TIME ダウンロード
603116

ランク
1,866
of 175,118

コントリビューション
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

回答済み
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...

8日 前 | 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 ...

13日 前 | 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...

23日 前 | 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...

23日 前 | 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...

25日 前 | 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...

約1ヶ月 前 | 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...

約1ヶ月 前 | 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...

約1ヶ月 前 | 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...

約1ヶ月 前 | 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...

約1ヶ月 前 | 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,...

約2ヶ月 前 | 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...

2ヶ月 前 | 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...

2ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 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...

3ヶ月 前 | 3

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

4ヶ月 前 | 2

| 採用済み

回答済み
How to download the certificate
I'm sorry, but no, we cannot resolve your problem. Answers is not customer support. Answers is a volunteer forum, generally comp...

4ヶ月 前 | 0

送信済み


HPF - a big decimal class
High precision floating point arithmetic, a new class written in MATLAB

4ヶ月 前 | ダウンロード 11 件 |

4.9 / 5

回答済み
Defining inequality constraint A*x <= b for genetic algorithm
As I said in my comment, you cannot set up a linear system of inequalities to constrain that curved path from self intersections...

5ヶ月 前 | 0

回答済み
i want to add cplex and yalmip on my mac how ?
YALMIP is an external toolbox, written in MATLAB, so it could in theory be used by any MATLAB installation. However, it is proba...

5ヶ月 前 | 0

| 採用済み

回答済み
flag a question as answered.
While DGM gave a very complete answer, worthy of acceptance in my eyes, I think, from a look at one of the other questions from ...

5ヶ月 前 | 1

回答済み
Finite elements model using STABIL
I cannot test your code, as I lack the tools you are using. Regardless, IF you tell us the solve yields NaNs, then there are onl...

5ヶ月 前 | 0

回答済み
Using logic to select specific values in a matrix
Well, you are doomed to failure, as long as you don't use the right variable names as you created them! A = [1, 0.1234 1,...

5ヶ月 前 | 0

回答済み
In how many functions using the global variable, can a global variable be declared?
There is no limit on how many functions can use a global variable. At the same time, I will plead, for your own sanity, to recon...

6ヶ月 前 | 1

さらに読み込む