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

Help with using summation functions in matlab (Trying to create an atomic scatter function)

There are no symbolic variables in the function you posted, so symsum isn't the right tool for this job. Instead, just use sum. ...

Help with using summation functions in matlab (Trying to create an atomic scatter function)

There are no symbolic variables in the function you posted, so symsum isn't the right tool for this job. Instead, just use sum. ...

23 hours ago | 0

Answered

Why do my axis change dimensioins?

What happens, according to the documentation, when you call surf with one input argument? What does surf use for the X and Y coo...

Why do my axis change dimensioins?

What happens, according to the documentation, when you call surf with one input argument? What does surf use for the X and Y coo...

23 hours ago | 0

| accepted

Answered

Array Indices(dont understannd the problem the value is a basic exponantial function)

idss is a variable with only one element. The expression idss(1-exp((x))) is an attempt to access one or more elements from that...

Array Indices(dont understannd the problem the value is a basic exponantial function)

idss is a variable with only one element. The expression idss(1-exp((x))) is an attempt to access one or more elements from that...

1 day ago | 0

Answered

Where is Solution 1-5LI90A?

That is an old number from before MathWorks Support Team answers were posted to MATLAB Answers. I believe it's referring to this...

Where is Solution 1-5LI90A?

That is an old number from before MathWorks Support Team answers were posted to MATLAB Answers. I believe it's referring to this...

1 day ago | 0

Answered

Wildcard or multiple conditions on switch/case?

I'm not sure how switch / case fits into this. You don't need it (unless this is part of a homework assignment and it requires y...

Wildcard or multiple conditions on switch/case?

I'm not sure how switch / case fits into this. You don't need it (unless this is part of a homework assignment and it requires y...

1 day ago | 1

| accepted

Answered

I don't have function "deeplabv3plusLayer" in Matlab 2019a

At the end of its documentation page, the documentation states that it was introduced in release R2019b. You're using the releas...

I don't have function "deeplabv3plusLayer" in Matlab 2019a

At the end of its documentation page, the documentation states that it was introduced in release R2019b. You're using the releas...

1 day ago | 1

Answered

Where does the getappdata() function save its data?

Are you asking where (in memory, on disk, etc.) saveappdata stores the data that you retrieve with getappdata, so you can retrie...

Where does the getappdata() function save its data?

Are you asking where (in memory, on disk, etc.) saveappdata stores the data that you retrieve with getappdata, so you can retrie...

1 day ago | 0

Answered

R2018a contained wlan example code, but none of it is in R2019b. What happened to all the wlan example code?

I believe the examples were reorganized at some point in the last few releases so that helper functions (which are specific to t...

R2018a contained wlan example code, but none of it is in R2019b. What happened to all the wlan example code?

I believe the examples were reorganized at some point in the last few releases so that helper functions (which are specific to t...

1 day ago | 0

Answered

display symbols between numbers from a vector

Since you're using double quotes to create a string, turn your numeric vector into a string array then join the elements of that...

display symbols between numbers from a vector

Since you're using double quotes to create a string, turn your numeric vector into a string array then join the elements of that...

1 day ago | 1

Answered

Are the 5G toolbox functions coder friendly? I am getting errors while generating C++ code for some 5G toolbox functions. (v2019a)

Looking at the list of functions in 5G Toolbox in release R2019a, I see that 67 of them are listed as having the "C/C++ Code Gen...

Are the 5G toolbox functions coder friendly? I am getting errors while generating C++ code for some 5G toolbox functions. (v2019a)

Looking at the list of functions in 5G Toolbox in release R2019a, I see that 67 of them are listed as having the "C/C++ Code Gen...

1 day ago | 0

Answered

which tool boxes is required for image processing and simulation

I think it's going to be difficult to give you specific suggestions since we don't have a lot of information about what you're g...

which tool boxes is required for image processing and simulation

I think it's going to be difficult to give you specific suggestions since we don't have a lot of information about what you're g...

1 day ago | 0

Answered

merge two columns into one

I'm going to assume you have your data stored as text in a cell array. dateAndTime = {'27/8/2019','00:48:20'} Combine the two ...

merge two columns into one

I'm going to assume you have your data stored as text in a cell array. dateAndTime = {'27/8/2019','00:48:20'} Combine the two ...

1 day ago | 0

Answered

How can i create a new matrix that equationally depends on another matrix?

I would use discretize. % Generate some sample data for this example v = randi([0, 100], 50, 1); % Discretize into bins (th...

How can i create a new matrix that equationally depends on another matrix?

I would use discretize. % Generate some sample data for this example v = randi([0, 100], 50, 1); % Discretize into bins (th...

2 days ago | 1

Answered

How to perform norm on each row of a matrix?

John's explanation is one way. Another is to use the vecnorm function. u = [-1 1 0; -1 1 0] v = [0 1 1; 0 1 -1] N = vecnorm...

How to perform norm on each row of a matrix?

John's explanation is one way. Another is to use the vecnorm function. u = [-1 1 0; -1 1 0] v = [0 1 1; 0 1 -1] N = vecnorm...

2 days ago | 1

Answered

Adding Hexadecimal numbers?

If you're using release R2019b or later, you can enter hexadecimal numbers directly. >> 0x3afb + 0x2839 ans = uint16 25...

Adding Hexadecimal numbers?

If you're using release R2019b or later, you can enter hexadecimal numbers directly. >> 0x3afb + 0x2839 ans = uint16 25...

2 days ago | 1

Answered

Generating vector and made it variable

Do you want exactly the same number of +1 and -1 values or do you just want each element to have an equal probability of being +...

Generating vector and made it variable

Do you want exactly the same number of +1 and -1 values or do you just want each element to have an equal probability of being +...

2 days ago | 0

Answered

list of all not recommended keywords

Open the Preferences using the icon in the Environment section of the Home tab on the Toolstrip. Under MATLAB, navigate to the C...

list of all not recommended keywords

Open the Preferences using the icon in the Environment section of the Home tab on the Toolstrip. Under MATLAB, navigate to the C...

2 days ago | 0

Answered

Warning: Variable 'bending_model' originally saved as a cfit cannot be instantiated as an object and will be read in as a uint32.

The installation on the machine where you receive that warning message does not have Curve Fitting Toolbox installed (or perhaps...

Warning: Variable 'bending_model' originally saved as a cfit cannot be instantiated as an object and will be read in as a uint32.

The installation on the machine where you receive that warning message does not have Curve Fitting Toolbox installed (or perhaps...

3 days ago | 0

| accepted

Answered

I don't know why ODE45 function does not count time. Runs forever.

In addition to what Stephan wrote, the fact that you have numbers in your variable names is also a bit of a code smell and is cl...

I don't know why ODE45 function does not count time. Runs forever.

In addition to what Stephan wrote, the fact that you have numbers in your variable names is also a bit of a code smell and is cl...

3 days ago | 2

Answered

Can the "Value" display of variables be customized?

You are missing something. The methods that your class inherits when you subclass from matlab.mixin.CustomDisplay are used when ...

Can the "Value" display of variables be customized?

You are missing something. The methods that your class inherits when you subclass from matlab.mixin.CustomDisplay are used when ...

3 days ago | 0

Answered

Run Matlab file on each Node of Hadoop Cluster

This documentation page describes how to configure a Hadoop cluster so that client MATLAB sessions can submit to it. The first s...

Run Matlab file on each Node of Hadoop Cluster

This documentation page describes how to configure a Hadoop cluster so that client MATLAB sessions can submit to it. The first s...

4 days ago | 0

| accepted

Answered

How to get source code and object code in MATLAB. Have tried a lot unable to generate the object and source code...

I have been asked to submit object and source code for a program (software developed) written in MATLAB. If this is for a homew...

How to get source code and object code in MATLAB. Have tried a lot unable to generate the object and source code...

I have been asked to submit object and source code for a program (software developed) written in MATLAB. If this is for a homew...

4 days ago | 0

Answered

Add line curves to histogram in image that has two y axes

Here's an example of creating a pair of axes, one with a histogram and one with a line. % Sample data x = randn(1, 1e5); % ...

Add line curves to histogram in image that has two y axes

Here's an example of creating a pair of axes, one with a histogram and one with a line. % Sample data x = randn(1, 1e5); % ...

4 days ago | 0

| accepted

Answered

Opening a simulink file that has an extension .MDL

Can you open it if you change the extension from .MDL (all caps) to .mdl (all lower-case)?

Opening a simulink file that has an extension .MDL

Can you open it if you change the extension from .MDL (all caps) to .mdl (all lower-case)?

4 days ago | 0

Answered

Find and count how many capital characters are in str, and then change them to lower cases USING LOOPS

The isstrprop function can help you identify which characters are upper-case, which are lower-case, and which are neither. After...

Find and count how many capital characters are in str, and then change them to lower cases USING LOOPS

The isstrprop function can help you identify which characters are upper-case, which are lower-case, and which are neither. After...

4 days ago | 0

Answered

Algorithm for R square

For the second one, see the "More About" section on the documentation page for the corrcoef function.

Algorithm for R square

For the second one, see the "More About" section on the documentation page for the corrcoef function.

4 days ago | 1

| accepted

Answered

How to draw a nicer graph

Use the xlim function to change the limits of your X axis. Also FYI you don't need to call plot twice. You can specify both a c...

How to draw a nicer graph

Use the xlim function to change the limits of your X axis. Also FYI you don't need to call plot twice. You can specify both a c...

4 days ago | 1

| accepted

Answered

How to make empty array of specific size?

Replace ClassName with the name of the class for which you want to create the empty array. But in order to use the empty method...

How to make empty array of specific size?

Replace ClassName with the name of the class for which you want to create the empty array. But in order to use the empty method...

5 days ago | 0

Answered

ODE45 change y at event

You can use the ballode example as a model. That has an events function that stops the solver each time the bouncing ball touche...

ODE45 change y at event

You can use the ballode example as a model. That has an events function that stops the solver each time the bouncing ball touche...

5 days ago | 0

Answered

Explain this please?

c = 5 + (x < 2 || (e < pi)); Let's look at each section of the code inside the outer parentheses in turn. x < 2 Since x is eq...

Explain this please?

c = 5 + (x < 2 || (e < pi)); Let's look at each section of the code inside the outer parentheses in turn. x < 2 Since x is eq...

6 days ago | 0

| accepted