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.

답변 있음

Writing m function to be read by Livescript

If the name of the main function in a function file and the name of the function file itself are different, MATLAB will know the...

Writing m function to be read by Livescript

If the name of the main function in a function file and the name of the function file itself are different, MATLAB will know the...

약 9시간 전 | 0

답변 있음

How can the code tell if a single test is running instead of the whole test class?

If you're running this to debug, I assume you actually want the additional information only when the test fails. If so try matla...

How can the code tell if a single test is running instead of the whole test class?

If you're running this to debug, I assume you actually want the additional information only when the test fails. If so try matla...

2일 전 | 0

답변 있음

I can't get a license though I have paid

Please check your spam folder to determine if the email from MathWorks with your installation instructions has been caught there...

I can't get a license though I have paid

Please check your spam folder to determine if the email from MathWorks with your installation instructions has been caught there...

2일 전 | 0

답변 있음

What is wrong with my code.I want to connect stars(*)by straight line,but it's printing only points,not line!

You're creating one line per ginput call, plotting one point per line. They're not all the same line object so they're not conne...

What is wrong with my code.I want to connect stars(*)by straight line,but it's printing only points,not line!

You're creating one line per ginput call, plotting one point per line. They're not all the same line object so they're not conne...

2일 전 | 0

답변 있음

why a variable is remaining unchanged when solving two simultaneous ordinary differential equation using ode45?

Let's look at both terms of the expression you use to define dX(1). dX=[(m*(Ca0-x(1))/rho*V)-k*x(1)*exp(-E/R*x(2)); For the fi...

why a variable is remaining unchanged when solving two simultaneous ordinary differential equation using ode45?

Let's look at both terms of the expression you use to define dX(1). dX=[(m*(Ca0-x(1))/rho*V)-k*x(1)*exp(-E/R*x(2)); For the fi...

2일 전 | 2

답변 있음

Search a Table With Numerical Entries

If you want to make a digraph from your table, you don't need to go to the three-column table first. Let's make a sample table i...

Search a Table With Numerical Entries

If you want to make a digraph from your table, you don't need to go to the three-column table first. Let's make a sample table i...

2일 전 | 0

| 수락됨

답변 있음

How to fix this "Error using matlab.ui.control.internal.model.AbstractNumericComponent/set.Value (line 111) 'Value' must be a double scalar." ??

Where do you assign a value to the private property valueToSimulink and what value do you assign to that property? Set a breakp...

How to fix this "Error using matlab.ui.control.internal.model.AbstractNumericComponent/set.Value (line 111) 'Value' must be a double scalar." ??

Where do you assign a value to the private property valueToSimulink and what value do you assign to that property? Set a breakp...

2일 전 | 0

답변 있음

READTABLE FUNCTION. NOT WORKING FOR ME.

You're trying to read a file with the extension xlxs. The file you've highlighted in the Current Folder window has the extensio...

READTABLE FUNCTION. NOT WORKING FOR ME.

You're trying to read a file with the extension xlxs. The file you've highlighted in the Current Folder window has the extensio...

2일 전 | 0

답변 있음

Can you help me ? Indexing error

You've defined a variable named det in your code. Because of this you cannot use the det function. Attempting to call det (the f...

Can you help me ? Indexing error

You've defined a variable named det in your code. Because of this you cannot use the det function. Attempting to call det (the f...

2일 전 | 0

| 수락됨

답변 있음

is there's a way to automatically find peaks in an histogram?

You can do this using the islocalmax function. % Sample data rng default x = randn(1, 1e5); h = histogram(x); % Retrieve ...

is there's a way to automatically find peaks in an histogram?

You can do this using the islocalmax function. % Sample data rng default x = randn(1, 1e5); h = histogram(x); % Retrieve ...

3일 전 | 0

| 수락됨

답변 있음

Create New Array from Existing Array using For Loop and If Statement

No need for a for loop or an if statement. x = randi([30 390], 10, 10) y = mod(x, 360) Depending whether or not you want y to...

Create New Array from Existing Array using For Loop and If Statement

No need for a for loop or an if statement. x = randi([30 390], 10, 10) y = mod(x, 360) Depending whether or not you want y to...

3일 전 | 1

| 수락됨

답변 있음

Unexpected error on line with property validation

The ability to validate property values that way was introduced in release R2017a. It won't work in earlier releases.

Unexpected error on line with property validation

The ability to validate property values that way was introduced in release R2017a. It won't work in earlier releases.

3일 전 | 1

| 수락됨

답변 있음

How to solve an ODE system with time-dependent variables in MATLAB?

From your description, it sounds like you don't have an ordinary differential equation (ODE) but you have a delay differential e...

How to solve an ODE system with time-dependent variables in MATLAB?

From your description, it sounds like you don't have an ordinary differential equation (ODE) but you have a delay differential e...

3일 전 | 0

답변 있음

Working with Matlab for a 15! x 30 matrix

To speak to some of the questions Image Analyst asked, how large a contiguous block of memory would storing this matrix require?...

Working with Matlab for a 15! x 30 matrix

To speak to some of the questions Image Analyst asked, how large a contiguous block of memory would storing this matrix require?...

3일 전 | 0

답변 있음

matlab space error problem

You can use concatenation as Fangjun Jiang and Brent Kostich suggested. I'd probably use join instead. join(["I", "love", "Geor...

matlab space error problem

You can use concatenation as Fangjun Jiang and Brent Kostich suggested. I'd probably use join instead. join(["I", "love", "Geor...

3일 전 | 0

답변 있음

FZERO requires at least two input arguments

I have a number of pieces of feedback on this code. It looks like it was written for an older version of MATLAB and was copied i...

FZERO requires at least two input arguments

I have a number of pieces of feedback on this code. It looks like it was written for an older version of MATLAB and was copied i...

3일 전 | 1

답변 있음

Ranking Variables by Value

You've made this a bit harder on yourself than it needs to be by defining individual variables for the counts and prices of each...

Ranking Variables by Value

You've made this a bit harder on yourself than it needs to be by defining individual variables for the counts and prices of each...

4일 전 | 1

답변 있음

Matlab R2016b

My suspicion is that your images folder contains no JPG files. If it doesn't, your for loop does not execute its loop body and t...

Matlab R2016b

My suspicion is that your images folder contains no JPG files. If it doesn't, your for loop does not execute its loop body and t...

4일 전 | 1

답변 있음

Should mvnrnd Always Advance the State of the Global Stream

There's no requirement that these two lines of code that call the same function with different inputs need follow identical code...

Should mvnrnd Always Advance the State of the Global Stream

There's no requirement that these two lines of code that call the same function with different inputs need follow identical code...

5일 전 | 0

답변 있음

no function called predict although stats toolbox is downloaded

There are several different functions named predict in Statistics and Machine Learning Toolbox. Each is for a specific type of o...

no function called predict although stats toolbox is downloaded

There are several different functions named predict in Statistics and Machine Learning Toolbox. Each is for a specific type of o...

5일 전 | 0

답변 있음

classes and the "set" method

Make X a Dependent property in class Dummy and make its get.X method compute the value of X using the current value of the av pr...

classes and the "set" method

Make X a Dependent property in class Dummy and make its get.X method compute the value of X using the current value of the av pr...

5일 전 | 0

| 수락됨

답변 있음

How do I define an empty table of unknown size?

Elements = 1:5; n = numel(Elements); T = table('Size', [2 n], 'VariableTypes', repmat("string", 1, n))

How do I define an empty table of unknown size?

Elements = 1:5; n = numel(Elements); T = table('Size', [2 n], 'VariableTypes', repmat("string", 1, n))

6일 전 | 0

| 수락됨

답변 있음

nmrval returning larger matrix than expected.

Does your X matrix contain a column of 1s? If so see the Note in the first item of the Description section on the documentation ...

nmrval returning larger matrix than expected.

Does your X matrix contain a column of 1s? If so see the Note in the first item of the Description section on the documentation ...

6일 전 | 0

답변 있음

Plotting the ODE without an analytical solution

If your initial conditions are supposed to be: "where x(0)=0.2 and x'(0)=0 for t=0:100?" why are you specifying them as x(0) = 0...

Plotting the ODE without an analytical solution

If your initial conditions are supposed to be: "where x(0)=0.2 and x'(0)=0 for t=0:100?" why are you specifying them as x(0) = 0...

6일 전 | 0

| 수락됨

답변 있음

How to write Matlab code based on the Simpson’s 1/3 rule?

When you ask for help understanding / correcting an error, please include the full and exact text of that error message (all the...

How to write Matlab code based on the Simpson’s 1/3 rule?

When you ask for help understanding / correcting an error, please include the full and exact text of that error message (all the...

7일 전 | 0

답변 있음

How to get License number for online MATLAB if MATLAB is not installed?

The first ways I'd try to locate the license number would be to check the installation instructions you should have been sent (i...

How to get License number for online MATLAB if MATLAB is not installed?

The first ways I'd try to locate the license number would be to check the installation instructions you should have been sent (i...

7일 전 | 0

답변 있음

I have Symbolic Math Toolbox but get an error with syms, why?

The function you've written or downloaded named syms.m in your OneDrive is shadowing the syms function that is part of Symbolic ...

I have Symbolic Math Toolbox but get an error with syms, why?

The function you've written or downloaded named syms.m in your OneDrive is shadowing the syms function that is part of Symbolic ...

7일 전 | 0

| 수락됨

답변 있음

How to do basic time arithmetic when NaNs are involved

Replace the NaN numeric values in your date cell arrays with 'NaT' and the NaN numeric values in your time cell arrays with 'NaN...

How to do basic time arithmetic when NaNs are involved

Replace the NaN numeric values in your date cell arrays with 'NaT' and the NaN numeric values in your time cell arrays with 'NaN...

7일 전 | 0

답변 있음

what should I do

load your data into MATLAB then see the "Indexing with Logical Values" section on this documentation page.

what should I do

load your data into MATLAB then see the "Indexing with Logical Values" section on this documentation page.

7일 전 | 0

답변 있음

How to install 2019a Navigation Toolbox?

As shown on the documentation page listing the release notes for release R2019b (the New Products and Major Updates section) Nav...

How to install 2019a Navigation Toolbox?

As shown on the documentation page listing the release notes for release R2019b (the New Products and Major Updates section) Nav...

9일 전 | 2