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.

답변 있음

Entries in array of class instances affecting others in my array

You're assigning the same handle object to all three elements of Terminal_array. That means changing one of the elements of Term...

Entries in array of class instances affecting others in my array

You're assigning the same handle object to all three elements of Terminal_array. That means changing one of the elements of Term...

약 7시간 전 | 0

| 수락됨

답변 있음

Where is the matrix operator?

I think I see the confusion. You're looking at the first example on this documentation page, right? The command to create the a...

Where is the matrix operator?

I think I see the confusion. You're looking at the first example on this documentation page, right? The command to create the a...

약 8시간 전 | 0

| 수락됨

답변 있음

Variables in function are not stored in workspace

If you want g1 and g2 to be available in the workspace in which you call helpme, specify them as output arguments for helpme: f...

Variables in function are not stored in workspace

If you want g1 and g2 to be available in the workspace in which you call helpme, specify them as output arguments for helpme: f...

약 18시간 전 | 0

| 수락됨

답변 있음

Array indices must be positive integers or logical values.

m = (w.*q.*trig((g.^2)-(2.*delta1.*g.*a)-(2.*delta2.*g.*(B1xi./B0xi))+... ((delta1.^2).*b)+(delta1.*delta2.*a.*(B1xi./B0xi)...

Array indices must be positive integers or logical values.

m = (w.*q.*trig((g.^2)-(2.*delta1.*g.*a)-(2.*delta2.*g.*(B1xi./B0xi))+... ((delta1.^2).*b)+(delta1.*delta2.*a.*(B1xi./B0xi)...

1일 전 | 1

답변 있음

How can I resolve this problem regarding nested functions?

Your first attempt is pretty close. Just a couple comments: function [root1, root2]= getreal(a,b,c); getinput function get...

How can I resolve this problem regarding nested functions?

Your first attempt is pretty close. Just a couple comments: function [root1, root2]= getreal(a,b,c); getinput function get...

1일 전 | 0

답변 있음

Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers, use '.^'.

x^5 is conceptually equivalent to x*x*x*x*x using matrix multiplication. x.^5 is conceptually equivalent to x.*x.*x.*x.*x using...

Incorrect dimensions for raising a matrix to a power. Check that the matrix is square and the power is a scalar. To perform elementwise matrix powers, use '.^'.

x^5 is conceptually equivalent to x*x*x*x*x using matrix multiplication. x.^5 is conceptually equivalent to x.*x.*x.*x.*x using...

2일 전 | 0

답변 있음

Question for Designated Computer Academic License

Please contact the Support staff directly using the telephone icon in the upper-right corner of this page. I believe they should...

Question for Designated Computer Academic License

Please contact the Support staff directly using the telephone icon in the upper-right corner of this page. I believe they should...

2일 전 | 0

답변 있음

Why I get ans = logical 1

Another approach uses discretize. >> A = randn(10, 1); >> edges = [-Inf -0.9957 0 0.9957 Inf]; >> values = [-1.493, -0.497, 0...

Why I get ans = logical 1

Another approach uses discretize. >> A = randn(10, 1); >> edges = [-Inf -0.9957 0 0.9957 Inf]; >> values = [-1.493, -0.497, 0...

2일 전 | 1

| 수락됨

답변 있음

String Comparison giving weird results, false for a true case.

If you're looking to find and/or fill missing data take a look at the ismissing and fillmissing functions. rng default A = ran...

String Comparison giving weird results, false for a true case.

If you're looking to find and/or fill missing data take a look at the ismissing and fillmissing functions. rng default A = ran...

2일 전 | 0

답변 있음

why cant multiply an anonymous function with a changing variable?

integral will call your function with a vector of values and expects your function to return a vector of the same size. w and s1...

why cant multiply an anonymous function with a changing variable?

integral will call your function with a vector of values and expects your function to return a vector of the same size. w and s1...

2일 전 | 1

| 수락됨

답변 있음

error when compiling with mcc and app designer

Is the command you're trying to execute literally this? mcc -m -I app.pathmatlab app.filematlab If the inputs you want to pass...

error when compiling with mcc and app designer

Is the command you're trying to execute literally this? mcc -m -I app.pathmatlab app.filematlab If the inputs you want to pass...

2일 전 | 0

| 수락됨

답변 있음

How to get detectSpeech function in MATLAB2019b

This function was introduced in release R2020a, according to the note at the end of its documentation page. You will need to upg...

How to get detectSpeech function in MATLAB2019b

This function was introduced in release R2020a, according to the note at the end of its documentation page. You will need to upg...

3일 전 | 0

답변 있음

Why character or string array cannot be constructed like numerical array?

You have to start with the correct type of array. a = ""; a(1:3) = "er"

Why character or string array cannot be constructed like numerical array?

You have to start with the correct type of array. a = ""; a(1:3) = "er"

4일 전 | 1

| 수락됨

답변 있음

I can't create a graph using matlab...

When I tried to read the data from that channel the output data was the 0-by-0 empty. The channelInfo output states that this c...

I can't create a graph using matlab...

When I tried to read the data from that channel the output data was the 0-by-0 empty. The channelInfo output states that this c...

4일 전 | 1

| 수락됨

답변 있음

Error in using rmoutliers()

The 'percentiles' option for rmoutliers, isoutlier, and filloutliers was introduced in release R2019a. You indicated you're usin...

Error in using rmoutliers()

The 'percentiles' option for rmoutliers, isoutlier, and filloutliers was introduced in release R2019a. You indicated you're usin...

4일 전 | 0

| 수락됨

답변 있음

Why am I getting Nan values?

Set an error breakpoint to stop when an Inf or NaN value gets generated then run your code. When MATLAB stops, look at the line ...

Why am I getting Nan values?

Set an error breakpoint to stop when an Inf or NaN value gets generated then run your code. When MATLAB stops, look at the line ...

4일 전 | 0

답변 있음

How do I avoid using a lot of if statements in a row?

Do you need to have eleven individually numbered variables, or are they all the same size and type (and therefore "stackable" as...

How do I avoid using a lot of if statements in a row?

Do you need to have eleven individually numbered variables, or are they all the same size and type (and therefore "stackable" as...

4일 전 | 0

답변 있음

Out of memory. Type "help memory" for your options

Rather than keeping all the data for all the frames in memory and writing the video all at once why not open the VideoWriter obj...

Out of memory. Type "help memory" for your options

Rather than keeping all the data for all the frames in memory and writing the video all at once why not open the VideoWriter obj...

5일 전 | 0

답변 있음

How to solve error 'Error: File: function9.m Line: 10 Column: 5 Function definition is misplaced or improperly nested.'

You cannot define a nested function inside an if statement. This is the second item listed in the "Requirements for Nested Funct...

How to solve error 'Error: File: function9.m Line: 10 Column: 5 Function definition is misplaced or improperly nested.'

You cannot define a nested function inside an if statement. This is the second item listed in the "Requirements for Nested Funct...

5일 전 | 0

답변 있음

Explain the average of 8 nearest neighbors

Consider the following matrix. Each element is equal to its linear index. >> nRows = 4; >> nCols = 6; >> A = reshape(1:(nRows...

Explain the average of 8 nearest neighbors

Consider the following matrix. Each element is equal to its linear index. >> nRows = 4; >> nCols = 6; >> A = reshape(1:(nRows...

5일 전 | 0

답변 있음

I am doing triple integration by matlab and some error displayed.

Use the ^ operator when you want to perform matrix multiplication in raising the matrix to a power. Use the .^ operator when yo...

I am doing triple integration by matlab and some error displayed.

Use the ^ operator when you want to perform matrix multiplication in raising the matrix to a power. Use the .^ operator when yo...

5일 전 | 0

답변 있음

Dot notation from string

DON'T use eval. There's no need to use it in this case anyway. split the text representation of the nested fields into pieces th...

Dot notation from string

DON'T use eval. There's no need to use it in this case anyway. split the text representation of the nested fields into pieces th...

5일 전 | 0

| 수락됨

답변 있음

Calculating with Methods from Classes

To me, it seems like most if not all of these "calc<something>" methods should probably be property get methods and the properti...

Calculating with Methods from Classes

To me, it seems like most if not all of these "calc<something>" methods should probably be property get methods and the properti...

5일 전 | 0

답변 있음

Backward compatibility for Automated Driving Toolbox with Matlab 2016b

Automated Driving Toolbox was introduced as a new product in release R2017a. It is not available in release R2016b. If you have...

Backward compatibility for Automated Driving Toolbox with Matlab 2016b

Automated Driving Toolbox was introduced as a new product in release R2017a. It is not available in release R2016b. If you have...

5일 전 | 0

| 수락됨

답변 있음

1. Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a supported compiler on your machine.

This isn't a report of a problem. It states that if you want to take advantage of "simulation acceleration, model reference, an...

1. Simulink requires a C compiler for simulation acceleration, model reference, and MATLAB Function Block capabilities. It is recommended that you install a supported compiler on your machine.

This isn't a report of a problem. It states that if you want to take advantage of "simulation acceleration, model reference, an...

5일 전 | 0

답변 있음

Solving a system of second order differential equations

"Y" (without the quotes) is a valid variable name. "Y " (again without the quotes but with the space) is not a valid variable n...

Solving a system of second order differential equations

"Y" (without the quotes) is a valid variable name. "Y " (again without the quotes but with the space) is not a valid variable n...

6일 전 | 0

| 수락됨

답변 있음

How to combine correlated year, month and day vectors

Use your Y, M, and D vectors to build a datetime array and pass that datetime array into plot. Here's a small example: Y = 2020...

How to combine correlated year, month and day vectors

Use your Y, M, and D vectors to build a datetime array and pass that datetime array into plot. Here's a small example: Y = 2020...

6일 전 | 0

답변 있음

How do I create a for loop in MATLAB for this?

Use the normalize function with the 'range' method. No for loop is required.

How do I create a for loop in MATLAB for this?

Use the normalize function with the 'range' method. No for loop is required.

6일 전 | 1

답변 있음

Which matlab version is suitable Matlab for macOS Mojave

The platform roadmap page indicates the first release that supported Mac OS X 10.14 (Mojave) was release R2018b and the last tha...

Which matlab version is suitable Matlab for macOS Mojave

The platform roadmap page indicates the first release that supported Mac OS X 10.14 (Mojave) was release R2018b and the last tha...

6일 전 | 0

답변 있음

How do I call the built-in disp function after I have overloaded it in a different class?

When you concatenate a char vector and an instance of your PermutationKey class, does that return an instance of the Permutatio...

How do I call the built-in disp function after I have overloaded it in a different class?

When you concatenate a char vector and an instance of your PermutationKey class, does that return an instance of the Permutatio...

6일 전 | 0