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

How to link two matrix, node's coordinate and lines between nodes?

Make a graph or digraph (depending whether your network is undirected or directed) object. You can store your coordinates as cus...

How to link two matrix, node's coordinate and lines between nodes?

Make a graph or digraph (depending whether your network is undirected or directed) object. You can store your coordinates as cus...

12 hours ago | 0

Answered

Why are all the examples for matlab functions hindered by useless simplistic examples that do not show how all features of the functions work? One cannot determine how to use any function of any complexity with the examples given.

Speaking just from my own perspective, and just giving my opinion: My understanding of your position is that the documentation ...

Why are all the examples for matlab functions hindered by useless simplistic examples that do not show how all features of the functions work? One cannot determine how to use any function of any complexity with the examples given.

Speaking just from my own perspective, and just giving my opinion: My understanding of your position is that the documentation ...

1 day ago | 3

Answered

Undirected graph network with latitude and longitude as node

See this post on Loren Shure's blog for an example that plots US states (as polyshape objects) along with their centroids (as no...

Undirected graph network with latitude and longitude as node

See this post on Loren Shure's blog for an example that plots US states (as polyshape objects) along with their centroids (as no...

1 day ago | 0

| accepted

Answered

why this logical expression is wrong?

This is a bug. See Bug Report 1839169.

why this logical expression is wrong?

This is a bug. See Bug Report 1839169.

3 days ago | 2

Answered

Hi, I am facing difficulty in plotting these functions.

I want to plot y1 and y2 such that after 24 at the x coordinate, y1 and y2 arrive from 0 at x coordinate and the value of y1 at ...

Hi, I am facing difficulty in plotting these functions.

I want to plot y1 and y2 such that after 24 at the x coordinate, y1 and y2 arrive from 0 at x coordinate and the value of y1 at ...

4 days ago | 0

Answered

Random assignments through the use of a MatLab programmed Calender

Since is the assignment problem, and that Wikipedia page suggests solving it as a linear program, one place to start would be th...

Random assignments through the use of a MatLab programmed Calender

Since is the assignment problem, and that Wikipedia page suggests solving it as a linear program, one place to start would be th...

4 days ago | 0

Answered

Combine numeric and character array to display to operator

Using a listdlg as Star Strider suggested would be my first thought. But if the files all have the exact same naming pattern ("f...

Combine numeric and character array to display to operator

Using a listdlg as Star Strider suggested would be my first thought. But if the files all have the exact same naming pattern ("f...

4 days ago | 1

| accepted

Answered

Out of memory. The likely cause is an infinite recursion within the program.

Your first call to Vout calls itself on this line: volume_out=Vout(t(n))*DT; %ft^3 That second call to Vout calls itself. Tha...

Out of memory. The likely cause is an infinite recursion within the program.

Your first call to Vout calls itself on this line: volume_out=Vout(t(n))*DT; %ft^3 That second call to Vout calls itself. Tha...

5 days ago | 0

Answered

Mean value of two variables from an array with less than condition.

Geoff Hayes: as of release R2018b, as long as all the elements of x(1:end-1, 1) are positive integer values, it's valid ... but ...

Mean value of two variables from an array with less than condition.

Geoff Hayes: as of release R2018b, as long as all the elements of x(1:end-1, 1) are positive integer values, it's valid ... but ...

5 days ago | 1

| accepted

Answered

Buying Matlab license by other company

Please send this question to the Sales department using the Contact Us button (the telephone icon) in the upper-right corner of ...

Buying Matlab license by other company

Please send this question to the Sales department using the Contact Us button (the telephone icon) in the upper-right corner of ...

5 days ago | 0

Answered

license number doesnt work

If you received this license number from your IT staff with instructions on how to install, I recommend contacting them for assi...

license number doesnt work

If you received this license number from your IT staff with instructions on how to install, I recommend contacting them for assi...

5 days ago | 0

Answered

changing sequence in sequence

Concatenate the variables you want to consider in the sorting order into one matrix, with each variable a separate column. Call...

changing sequence in sequence

Concatenate the variables you want to consider in the sorting order into one matrix, with each variable a separate column. Call...

5 days ago | 0

Answered

Monthly turnover where I need the sum

If all the entries in the Time variable in your table were valid date strings that datetime could understand, I would first conv...

Monthly turnover where I need the sum

If all the entries in the Time variable in your table were valid date strings that datetime could understand, I would first conv...

5 days ago | 0

Answered

Why do the fitting coefficients for polyfit change depending on the number of outputs?

See the third item in the Description section of the polyfit documentation page. That third output tells MATLAB to center and sc...

Why do the fitting coefficients for polyfit change depending on the number of outputs?

See the third item in the Description section of the polyfit documentation page. That third output tells MATLAB to center and sc...

6 days ago | 0

| accepted

Answered

Is the Distributed Computing Toolbox finished?

Distributed Computing Toolbox was renamed Parallel Computing Toolbox in release R2008a and it is still called Parallel Computing...

Is the Distributed Computing Toolbox finished?

Distributed Computing Toolbox was renamed Parallel Computing Toolbox in release R2008a and it is still called Parallel Computing...

6 days ago | 4

| accepted

Answered

How can I do graph matching?

It sounds like you're not working with a network graph object but with a series of images. If so something more along the lines ...

How can I do graph matching?

It sounds like you're not working with a network graph object but with a series of images. If so something more along the lines ...

6 days ago | 0

Answered

How to control graph layout

I don't believe any of the methods available in the layout function for graph and digraph objects will give you that exact confi...

How to control graph layout

I don't believe any of the methods available in the layout function for graph and digraph objects will give you that exact confi...

6 days ago | 1

| accepted

Answered

Change the format of x axis in a Kernel density plot.

I suspect when you called semilogx as you said in your answer that probably should have been a comment you plotted on a linear a...

Change the format of x axis in a Kernel density plot.

I suspect when you called semilogx as you said in your answer that probably should have been a comment you plotted on a linear a...

6 days ago | 0

Answered

YAxis property of an Axes read-only, but XAxis and ZAxis are not.

I needed to write code that saved the properties of the axes handle and then removed the read-only properties from the structure...

YAxis property of an Axes read-only, but XAxis and ZAxis are not.

I needed to write code that saved the properties of the axes handle and then removed the read-only properties from the structure...

6 days ago | 0

| accepted

Answered

Sort returns into quintiles rebalance monthly not enough input arguments

When you press the green triangle in the Editor (which I assume is what you mean when you said "when I press run") that attempts...

Sort returns into quintiles rebalance monthly not enough input arguments

When you press the green triangle in the Editor (which I assume is what you mean when you said "when I press run") that attempts...

7 days ago | 0

Answered

How to split a table based on date and hour

In addition to being able to specify 'day' as the newTimeStep input to retime you can specify a newTimes vector. Similarly, in g...

How to split a table based on date and hour

In addition to being able to specify 'day' as the newTimeStep input to retime you can specify a newTimes vector. Similarly, in g...

7 days ago | 0

Answered

i have download RESNET50 file. how to install RESNET50 MLPKGINSTALL file.

If you're referring to this File Exchange submission, as the second and third paragraphs of the Overview section state: "Openin...

i have download RESNET50 file. how to install RESNET50 MLPKGINSTALL file.

If you're referring to this File Exchange submission, as the second and third paragraphs of the Overview section state: "Openin...

8 days ago | 1

| accepted

Answered

installed, but will not run on windows 10

I recommend contacting Technical Support using the Contact Us icon (the telephone) in the upper-right corner of this page and wo...

installed, but will not run on windows 10

I recommend contacting Technical Support using the Contact Us icon (the telephone) in the upper-right corner of this page and wo...

8 days ago | 1

Answered

Can you program a figure to execute the same callback after each child's callback?

Are you setting the figure object's CurrentObject property back to the figure object itself because your callbacks query the Cur...

Can you program a figure to execute the same callback after each child's callback?

Are you setting the figure object's CurrentObject property back to the figure object itself because your callbacks query the Cur...

11 days ago | 0

Answered

normalize hist3 plot

Use histogram2 instead of hist3. As stated in the "Alternative Functionality" section of the hist3 documentation page, histogram...

normalize hist3 plot

Use histogram2 instead of hist3. As stated in the "Alternative Functionality" section of the hist3 documentation page, histogram...

11 days ago | 0

| accepted

Answered

How to remove the outliers

Take a look at the filloutliers and rmoutliers functions on this documentation page.

How to remove the outliers

Take a look at the filloutliers and rmoutliers functions on this documentation page.

12 days ago | 0

| accepted

Answered

Equivalent of "spparms" to track algorithm choice for dense matrices ?

Why do you need information about what the mldivide function (or the backslash operator \) is doing? How do you intend to use th...

Equivalent of "spparms" to track algorithm choice for dense matrices ?

Why do you need information about what the mldivide function (or the backslash operator \) is doing? How do you intend to use th...

12 days ago | 0

Answered

Write a function called eligible that helps the admission officer of the Graduate School decide whether the applicant is eligible for admission based on GRE scores. The function takes two positive scalars called v and q as in

Nowhere in your function do you define the variable admit the function returns as its output. You haven't shown the full text of...

Write a function called eligible that helps the admission officer of the Graduate School decide whether the applicant is eligible for admission based on GRE scores. The function takes two positive scalars called v and q as in

Nowhere in your function do you define the variable admit the function returns as its output. You haven't shown the full text of...

12 days ago | 0

Answered

MATLAB 2018a readtable VariableNamesLine bug

t = readtable('C:\Users\Documents\.....CSV'); You called readtable with just one input argument? The options object returned by...

MATLAB 2018a readtable VariableNamesLine bug

t = readtable('C:\Users\Documents\.....CSV'); You called readtable with just one input argument? The options object returned by...

12 days ago | 0

Answered

I need a File Instillation key to download Matlab offline

I recommend starting first with the IT department at the University of Colorado Boulder. If they can't help you, then I would co...

I need a File Instillation key to download Matlab offline

I recommend starting first with the IT department at the University of Colorado Boulder. If they can't help you, then I would co...

12 days ago | 0