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

Undefined operator '>' for input arguments of type 'function_handle'. Error in simple_nlr (line 24) while err > tol

You don't want to ask if the function handle is greater than a certain value. You want to ask if the result of evaluating the f...

Undefined operator '>' for input arguments of type 'function_handle'. Error in simple_nlr (line 24) while err > tol

You don't want to ask if the function handle is greater than a certain value. You want to ask if the result of evaluating the f...

circa 19 ore ago | 0

Answered

Deep Learning Speech Recognition Example, Problem with designAuditoryFilterBank

If you look at the end of the documentation page for the designAuditoryFilterBank function it says that this function was introd...

Deep Learning Speech Recognition Example, Problem with designAuditoryFilterBank

If you look at the end of the documentation page for the designAuditoryFilterBank function it says that this function was introd...

1 giorno ago | 0

| accepted

Answered

When using polarplot, why does the argument come before the modulus?

The polarplot function is using the same convention as the older polar function, with theta as the first input argument and rho ...

When using polarplot, why does the argument come before the modulus?

The polarplot function is using the same convention as the older polar function, with theta as the first input argument and rho ...

1 giorno ago | 0

Answered

timerange in a loop

Yes. Build datetime objects using the three-input syntax and use them to construct a timerange. I left off one of the semicolons...

timerange in a loop

Yes. Build datetime objects using the three-input syntax and use them to construct a timerange. I left off one of the semicolons...

1 giorno ago | 1

| accepted

Answered

Ploting problems with handle, maybe I have changes in this function.

Adam Danz and Star Strider have correctly pointed out that you probably don't want to use the question mark operator. But there'...

Ploting problems with handle, maybe I have changes in this function.

Adam Danz and Star Strider have correctly pointed out that you probably don't want to use the question mark operator. But there'...

1 giorno ago | 0

Answered

Getting rid of a for loop

You're looking for a local minimum in your vector input? [I would choose a different name, BTW, since input already has a meanin...

Getting rid of a for loop

You're looking for a local minimum in your vector input? [I would choose a different name, BTW, since input already has a meanin...

1 giorno ago | 0

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. ...

2 giorni 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...

2 giorni 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...

2 giorni 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...

3 giorni 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...

3 giorni 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...

3 giorni 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...

3 giorni 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...

3 giorni 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...

3 giorni 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...

3 giorni 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...

3 giorni 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 ...

3 giorni 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...

3 giorni 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...

4 giorni 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...

4 giorni 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 +...

4 giorni 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...

4 giorni 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...

5 giorni 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...

5 giorni 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 ...

5 giorni 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...

5 giorni 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...

5 giorni 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); % ...

5 giorni 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)?

6 giorni ago | 0