Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

John D'Errico

View profile information

Company/University

Retired

Personal Profile

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 your questions, and I do NOT do homework. 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

Professional Interests

Bridge, MATLAB, numerical analysis, mathematical modeling

1865Rank
2Badges
290Score

John D'Errico submitted a Comment to Problem 106. Weighted average

As the others have said, the problem title is flat out wrong. What is required is simply not a weighted average in any standard form.

on 17 Feb 2012

John D'Errico submitted Solution 34679 to Problem 167. Pizza!

on 9 Feb 2012

John D'Errico submitted a Comment to Solution 22539

cumsum(ones(1,10))

on 1 Feb 2012

John D'Errico submitted a Comment to Solution 11489

Of course, this solution, while short, is NOT the best solution! Clearly the best solution is the far more efficient: n*(n+1)/2

on 28 Jan 2012

John D'Errico submitted a Comment to Solution 11462

Of course, c = a+b; is entirely correct, using the operator form for addition. plus(a,b) uses the function form.

on 28 Jan 2012

John D'Errico received Commenter badge for Solution 11462

on 28 Jan 2012

John D'Errico received Solver badge for Solution 11451

on 28 Jan 2012