I joined The MathWorks in the Technical Support department during the summer of 2001 and transferred into the Quality Engineering department in March of 2004. I now work qualifying the core MATLAB numerical functions (PLUS, MINUS, LU, FFT, ODE45, etc.)

Professional Interests: mathematics, MATLAB

For assistance with MATLAB question please post to MATLAB Answers or contact Technical Support using the Contact Us link in the upper-right corner of the page instead of contacting me directly.

Answered

2 nearest neighbors of each side of vector

Are there specific operations you want to perform on those neighbors? The moving statistics functions on this documentation page...

2 nearest neighbors of each side of vector

Are there specific operations you want to perform on those neighbors? The moving statistics functions on this documentation page...

etwa 19 Stunden ago | 0

Answered

Working With Matlab Tables

Use parentheses to extract a smaller table from a larger table or to assign a smaller table into a larger one. Use curly braces...

Working With Matlab Tables

Use parentheses to extract a smaller table from a larger table or to assign a smaller table into a larger one. Use curly braces...

etwa 19 Stunden ago | 0

Answered

Error when trying to modify a code (vectors)

You can directly use the elements of a vector through indexing. You don't need to extract them into separate variables. w = [1 ...

Error when trying to modify a code (vectors)

You can directly use the elements of a vector through indexing. You don't need to extract them into separate variables. w = [1 ...

2 Tage ago | 0

Answered

Reset the order of table columns

If you're using release R2018a or later you could use the movevars function.

Reset the order of table columns

If you're using release R2018a or later you could use the movevars function.

3 Tage ago | 0

Answered

missing toolboxes for function year

There is a year function in Financial Toolbox, but if you're working with date and time data I recommend storing your date and t...

missing toolboxes for function year

There is a year function in Financial Toolbox, but if you're working with date and time data I recommend storing your date and t...

3 Tage ago | 0

Answered

overly convoluted elseif condition

The approaches suggested by Bob Nbob and ME each work if the only values x can take in the range [1, 4] are integer values. If i...

overly convoluted elseif condition

The approaches suggested by Bob Nbob and ME each work if the only values x can take in the range [1, 4] are integer values. If i...

3 Tage ago | 0

Answered

How I do evaluate a function handle in other function handle

g_1=@(x,y) y_p*p_y(f,x,y) + p_x(f,x,y); g_2=@(x,y) y_p*p_y(g_1,x,y) + p_x(g_1,x,y); . . . g_n=@(x,y) y_p*p_y(g_(n-1),x...

How I do evaluate a function handle in other function handle

g_1=@(x,y) y_p*p_y(f,x,y) + p_x(f,x,y); g_2=@(x,y) y_p*p_y(g_1,x,y) + p_x(g_1,x,y); . . . g_n=@(x,y) y_p*p_y(g_(n-1),x...

3 Tage ago | 0

Answered

How to apply netting in Adjacency matrix

This sounds like it might be a homework assignment, so I'm only going to give a hint. The transpose operator .' may be of intere...

How to apply netting in Adjacency matrix

This sounds like it might be a homework assignment, so I'm only going to give a hint. The transpose operator .' may be of intere...

3 Tage ago | 0

| accepted

Answered

Error in constrained delaunay triangulation

In a delaunayTriangulation, the constraint input C does not contain the coordinates of points that define a constrained edge but...

Error in constrained delaunay triangulation

In a delaunayTriangulation, the constraint input C does not contain the coordinates of points that define a constrained edge but...

4 Tage ago | 0

Answered

Function definitions are not permitted in this context - Decoding_Toolbox

The ability to define local functions in scripts was introduced in release R2016b. Are you using an older release? If so you'll ...

Function definitions are not permitted in this context - Decoding_Toolbox

The ability to define local functions in scripts was introduced in release R2016b. Are you using an older release? If so you'll ...

4 Tage ago | 0

Answered

Matlab doesn't "Pause on Error" till Infinite recursion

Try setting a breakpoint on line 237 of wPLI_openfield. When MATLAB reaches that point, it will enter debug mode and the prompt ...

Matlab doesn't "Pause on Error" till Infinite recursion

Try setting a breakpoint on line 237 of wPLI_openfield. When MATLAB reaches that point, it will enter debug mode and the prompt ...

4 Tage ago | 1

| accepted

Answered

How to plot3D with inverse of matrix involved?

Look at the X and Y limits on your MATLAB plot, then look at the X and Y limits on the plot from Wolfram Alpha. MATLAB is givin...

How to plot3D with inverse of matrix involved?

Look at the X and Y limits on your MATLAB plot, then look at the X and Y limits on the plot from Wolfram Alpha. MATLAB is givin...

4 Tage ago | 0

Answered

quadratic fit tool wrong coefficients

Because your parameters are so large, I strongly encourate you to center and scale your data as shown in step 7c in the first ex...

quadratic fit tool wrong coefficients

Because your parameters are so large, I strongly encourate you to center and scale your data as shown in step 7c in the first ex...

4 Tage ago | 0

Answered

Can someone propose some code that will "connect the dots" using circular arcs?

Are you trying to do something like path planning for an autonomous vehicle, passing through waypoints along the way? If so cons...

Can someone propose some code that will "connect the dots" using circular arcs?

Are you trying to do something like path planning for an autonomous vehicle, passing through waypoints along the way? If so cons...

4 Tage ago | 0

Answered

defining a stuct variable

From the documentation for the struct function, when you have multiple fields being created in the same struct call: "If any of...

defining a stuct variable

From the documentation for the struct function, when you have multiple fields being created in the same struct call: "If any of...

5 Tage ago | 1

Answered

List of built-in data sets, please

What do you consider a data set? The census MAT-file in toolbox/matlab/demos (used here among other places) seems like it's o...

List of built-in data sets, please

What do you consider a data set? The census MAT-file in toolbox/matlab/demos (used here among other places) seems like it's o...

5 Tage ago | 0

| accepted

Answered

Name a few variables from a vector

There is a function named deal that looks like it does something like what you're asking, but that assigns each of its inputs to...

Name a few variables from a vector

There is a function named deal that looks like it does something like what you're asking, but that assigns each of its inputs to...

5 Tage ago | 1

Answered

Command for setting MATLAB font preferences

Depending on which release you're using, use the settings function. In particular, you can set a TemporaryValue or PersonalValue...

Command for setting MATLAB font preferences

Depending on which release you're using, use the settings function. In particular, you can set a TemporaryValue or PersonalValue...

5 Tage ago | 0

| accepted

Answered

Destruction of partially constructed class?

In this case you probably want to define a destructor (delete) method that supports destruction of partially constructed objects...

Destruction of partially constructed class?

In this case you probably want to define a destructor (delete) method that supports destruction of partially constructed objects...

5 Tage ago | 0

Answered

Unrecognized function from Robust Control Toolbox

There's no syntax listed on the documentation page for the mixsyn function that shows it being called with zero input arguments....

Unrecognized function from Robust Control Toolbox

There's no syntax listed on the documentation page for the mixsyn function that shows it being called with zero input arguments....

5 Tage ago | 0

Answered

Unspecified coefficients from function 'fit'

Lowess smoothing is a type of nonparametric fitting. That output appears correct. There are other methods you can use if you wan...

Unspecified coefficients from function 'fit'

Lowess smoothing is a type of nonparametric fitting. That output appears correct. There are other methods you can use if you wan...

5 Tage ago | 0

Answered

Can someone tell me what is wrong with this?

I'm guessing from the fact that you define x1 but don't use it that the x variable may not exist. You may have been thinking / h...

Can someone tell me what is wrong with this?

I'm guessing from the fact that you define x1 but don't use it that the x variable may not exist. You may have been thinking / h...

5 Tage ago | 0

Answered

How do you solve for a double sum

h=0; i=0.0195314; m=100 for m=1:512 for j=1:n for i=1:n-m h=h+(z(i+m,j)-z(i,j))^2; end end h=1/(n...

How do you solve for a double sum

h=0; i=0.0195314; m=100 for m=1:512 for j=1:n for i=1:n-m h=h+(z(i+m,j)-z(i,j))^2; end end h=1/(n...

5 Tage ago | 1

Answered

ActiveX: how to pass a string array to cst in matlab？

sWidth={"0.5";"1.1";"2.2";"3.3"} The error message is accurate in that sWidth is not a string array. It is a cell array whose c...

ActiveX: how to pass a string array to cst in matlab？

sWidth={"0.5";"1.1";"2.2";"3.3"} The error message is accurate in that sWidth is not a string array. It is a cell array whose c...

5 Tage ago | 0

Answered

Patner relationship and problem diskussing

You can contact MathWorks corporate headquarters using the information on this webpage.

Patner relationship and problem diskussing

You can contact MathWorks corporate headquarters using the information on this webpage.

5 Tage ago | 0

Answered

Count Days in Months

The "Specify Step Size", "Compare Fixed-Length Duration and Calendar Duration Step Sizes", and "Dates and End of Month" sections...

Count Days in Months

The "Specify Step Size", "Compare Fixed-Length Duration and Calendar Duration Step Sizes", and "Dates and End of Month" sections...

6 Tage ago | 0

| accepted

Answered

Visualizing flow through graph networks

Set the NodeCData property of the GraphPlot object. p.NodeCData = G.Nodes.Value; colorbar % to see the mapping between value...

Visualizing flow through graph networks

Set the NodeCData property of the GraphPlot object. p.NodeCData = G.Nodes.Value; colorbar % to see the mapping between value...

6 Tage ago | 1

Answered

how do i download trial software to a computer without internet connection

See this Answers post.

how do i download trial software to a computer without internet connection

See this Answers post.

6 Tage ago | 0

Answered

Change distance between grouped bars (bars are overlapping)

From the documentation for the bar function, specifically the section that deals with the width input argument: "Bar width, spe...

Change distance between grouped bars (bars are overlapping)

From the documentation for the bar function, specifically the section that deals with the width input argument: "Bar width, spe...

6 Tage ago | 0