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

回答済み

Finding Complex root for the nonlinear equation with single variable

Please don't answer your question with a comment. But the answer is, not you cannot use fzero to find a complex root. fzero ONL...

Finding Complex root for the nonlinear equation with single variable

Please don't answer your question with a comment. But the answer is, not you cannot use fzero to find a complex root. fzero ONL...

約7時間 前 | 0

回答済み

How to interpolate over long section of bad data?

I had to laugh. No, your problem is not how you defined xq, but more in how you defined x! At least you were thinking in sort of...

How to interpolate over long section of bad data?

I had to laugh. No, your problem is not how you defined xq, but more in how you defined x! At least you were thinking in sort of...

約10時間 前 | 0

回答済み

Some insight on mvnrnd function

For once, someone asks a good question, that says they saw something they did not understand, and want to understand what happen...

Some insight on mvnrnd function

For once, someone asks a good question, that says they saw something they did not understand, and want to understand what happen...

約10時間 前 | 1

| 採用済み

回答済み

Non-reproducible solution with non-linear fitting

Do you understand that when you do not specify astart point, that fit uses a RANDOM start point? So why would you expect the sam...

Non-reproducible solution with non-linear fitting

Do you understand that when you do not specify astart point, that fit uses a RANDOM start point? So why would you expect the sam...

約19時間 前 | 0

回答済み

What is the best way to store different variables into 1 variable?

Use a cell array. Or use a srruct. Either can store anything you put into it. Here, a struct will allow you to store everything...

What is the best way to store different variables into 1 variable?

Use a cell array. Or use a srruct. Either can store anything you put into it. Here, a struct will allow you to store everything...

2日 前 | 0

回答済み

Solving system of inequalities and plot in 3-dimensional

Um, just because you have decided that the solution is what you plotted there, does not make it consistent with the set of inequ...

Solving system of inequalities and plot in 3-dimensional

Um, just because you have decided that the solution is what you plotted there, does not make it consistent with the set of inequ...

2日 前 | 0

回答済み

array indices must be positive integers or logical values.

p is sometimes zero. sometimes it is one. how you are creating p is a bit silly, as there is absolutely no reason to use bin2dec...

array indices must be positive integers or logical values.

p is sometimes zero. sometimes it is one. how you are creating p is a bit silly, as there is absolutely no reason to use bin2dec...

3日 前 | 0

| 採用済み

回答済み

Problem with the optimization of the Economic MPC

Simple. Your objective function is essenitally constant around the start point, or you provided a start point that actually hap...

Problem with the optimization of the Economic MPC

Simple. Your objective function is essenitally constant around the start point, or you provided a start point that actually hap...

3日 前 | 0

回答済み

Convert a tetrahedron mesh to triangular mesh or surface mesh.

Easy. Assume that tess is an nx4 array, composed of references into the set of vertices. Then surely is it true that: facets =...

Convert a tetrahedron mesh to triangular mesh or surface mesh.

Easy. Assume that tess is an nx4 array, composed of references into the set of vertices. Then surely is it true that: facets =...

3日 前 | 1

| 採用済み

回答済み

the inverse of spapi function

I think this may be what you are asking for. x = 1:7; y = rand(1,7); S = spapi(5,x,y) S = struct with fields: ...

the inverse of spapi function

I think this may be what you are asking for. x = 1:7; y = rand(1,7); S = spapi(5,x,y) S = struct with fields: ...

4日 前 | 0

回答済み

How to find the first n postive roots of a function?

You can't do so. Well, not perfectly. Why not? Because I can always provide a function that has roots that are impossible to fin...

How to find the first n postive roots of a function?

You can't do so. Well, not perfectly. Why not? Because I can always provide a function that has roots that are impossible to fin...

4日 前 | 0

| 採用済み

回答済み

46Go on my hardrive ?

It strongly depends on how may toolboxes there are in the two installations. It may also be a function of release, if they are d...

46Go on my hardrive ?

It strongly depends on how may toolboxes there are in the two installations. It may also be a function of release, if they are d...

4日 前 | 0

回答済み

Why my eigenvalues from (v,d)=eig(k,m) are so close to each other?

You will have 9000 eigenvalues. Some will be small, some larger. How far apart do you think those that are small can realistical...

Why my eigenvalues from (v,d)=eig(k,m) are so close to each other?

You will have 9000 eigenvalues. Some will be small, some larger. How far apart do you think those that are small can realistical...

5日 前 | 0

回答済み

numbers and characters in same vector

Store them in a cell array, actually a cell vector. help cell Index a cell array using curly braces, instead of parens. Thus {...

numbers and characters in same vector

Store them in a cell array, actually a cell vector. help cell Index a cell array using curly braces, instead of parens. Thus {...

5日 前 | 1

回答済み

Runge Kutta method computational cost

tic and toc are really bad ways to estimate the time required for (almost) anything, unless the time is pretty long, and you onl...

Runge Kutta method computational cost

tic and toc are really bad ways to estimate the time required for (almost) anything, unless the time is pretty long, and you onl...

6日 前 | 2

回答済み

Polynomial Fitting of 3 variables

Download polyfitn from the file exchange, here: https://www.mathworks.com/matlabcentral/fileexchange/34765-polyfitn Ensure you...

Polynomial Fitting of 3 variables

Download polyfitn from the file exchange, here: https://www.mathworks.com/matlabcentral/fileexchange/34765-polyfitn Ensure you...

6日 前 | 0

| 採用済み

回答済み

Multiple equations using a range of inputs for one variable then plotting a graph.

Sorry, but your question makes no sense, at least not at first glance. If you want help, then clearly explain what you are doing...

Multiple equations using a range of inputs for one variable then plotting a graph.

Sorry, but your question makes no sense, at least not at first glance. If you want help, then clearly explain what you are doing...

6日 前 | 0

回答済み

How do I determine goodness of the fit (any curve )when using least square method?

There are many measures of goodness of fit for a least squares problem. NONE of them are perfect. As well, there are entire grad...

How do I determine goodness of the fit (any curve )when using least square method?

There are many measures of goodness of fit for a least squares problem. NONE of them are perfect. As well, there are entire grad...

7日 前 | 0

回答済み

how to sum data with condition

Sorry, but it is a really bad idea to have separate functions for each case. Just pass in the the first column element as an ar...

how to sum data with condition

Sorry, but it is a really bad idea to have separate functions for each case. Just pass in the the first column element as an ar...

8日 前 | 0

回答済み

How to calculate displacement from acceleration data?

You already know how to use trapz. Just use it twice. However, you mention instantaneous displacement, and the problem with trap...

How to calculate displacement from acceleration data?

You already know how to use trapz. Just use it twice. However, you mention instantaneous displacement, and the problem with trap...

8日 前 | 0

| 採用済み

回答済み

I need to have underline (_) in my plot x and y label but matlab plot recognizes as subscript

They can't win. Some people want to have subscripts. Some want an actual underscore character. Nobody is ever happy. xlabel 'x\...

I need to have underline (_) in my plot x and y label but matlab plot recognizes as subscript

They can't win. Some people want to have subscripts. Some want an actual underscore character. Nobody is ever happy. xlabel 'x\...

8日 前 | 1

| 採用済み

回答済み

How can I construct delauany's disc in matlab??

Hmm, if that was what you were expecting, you did not come very close. :) Let me suggest a trick though. Write a little helper...

How can I construct delauany's disc in matlab??

Hmm, if that was what you were expecting, you did not come very close. :) Let me suggest a trick though. Write a little helper...

10日 前 | 0

| 採用済み

回答済み

fibonacci series, while loop

Well, what is important to me is you have made a credible effort, and gotten close. In fact, you did compute Fibonacci sequence ...

fibonacci series, while loop

Well, what is important to me is you have made a credible effort, and gotten close. In fact, you did compute Fibonacci sequence ...

11日 前 | 0

| 採用済み

回答済み

Estimating precision of matlabs matrix solver

The precision? Double precision. It works in double precision. But that is not your real question. The issue is how good are the...

Estimating precision of matlabs matrix solver

The precision? Double precision. It works in double precision. But that is not your real question. The issue is how good are the...

11日 前 | 0

| 採用済み

回答済み

Help with Writing Function Files for Nonlinear Functions

Suppose you tried to use the MATLAB function mean. It takes at least one argument. What would happen, if you just tried typing m...

Help with Writing Function Files for Nonlinear Functions

Suppose you tried to use the MATLAB function mean. It takes at least one argument. What would happen, if you just tried typing m...

11日 前 | 0

回答済み

Generate Random Number inside a closed area

Not hard. But it takes a little effort. (I should post a tool for this on the FEX. SIGH. Actually, I have a tool that does this,...

Generate Random Number inside a closed area

Not hard. But it takes a little effort. (I should post a tool for this on the FEX. SIGH. Actually, I have a tool that does this,...

12日 前 | 2

| 採用済み

回答済み

What starting point to choose so fsolve always returns a solution when any exists?

I tend to describe tools like fsolve with a metaphor of a blind man set down on the surface of the earth, then tasked with findi...

What starting point to choose so fsolve always returns a solution when any exists?

I tend to describe tools like fsolve with a metaphor of a blind man set down on the surface of the earth, then tasked with findi...

13日 前 | 1

| 採用済み

回答済み

How to use DWT for denoising complex data like OFDM symbol ?

So why not just denoise the real and imaginary parts separately, then combine them back into one complex array. Two calls instea...

How to use DWT for denoising complex data like OFDM symbol ?

So why not just denoise the real and imaginary parts separately, then combine them back into one complex array. Two calls instea...

13日 前 | 0

回答済み

icdf versus erfinv?

In general, use the ICDF code! Why would it be more accurate? Because it can be more intelligent, using a more accurate approxi...

icdf versus erfinv?

In general, use the ICDF code! Why would it be more accurate? Because it can be more intelligent, using a more accurate approxi...

13日 前 | 1

| 採用済み

回答済み

how do I calculate pi

Easy. Type pi at the command line. Works like a charm. Harder, since you did make a very credible effort at a solution, first, ...

how do I calculate pi

Easy. Type pi at the command line. Works like a charm. Harder, since you did make a very credible effort at a solution, first, ...

13日 前 | 0

| 採用済み