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 the MATLAB Newsgroup or contact Technical Support using the Contact Us link in the upper-right corner of the page instead of contacting me directly.

Answered

How can I add serial date and time for each 12 min ?

Take a look at <https://www.mathworks.com/help/matlab/matlab_prog/generate-sequence-of-dates-and-time.html this documentation pa...

How can I add serial date and time for each 12 min ?

Take a look at <https://www.mathworks.com/help/matlab/matlab_prog/generate-sequence-of-dates-and-time.html this documentation pa...

19 hours ago | 0

| accepted

Answered

Polarplot plotting a single point not a line

In your first case, you've given it one value for rho and one for theta. [I'm assuming the "theater" on the third line is a typo...

Polarplot plotting a single point not a line

In your first case, you've given it one value for rho and one for theta. [I'm assuming the "theater" on the third line is a typo...

21 hours ago | 1

| accepted

Answered

Define a handle function into another one

On this line: ParEaa = @(Oma) pi.^(-1).*J./(Oma.*(Oma + De)); you need to evaluate the function handle J and use the val...

Define a handle function into another one

On this line: ParEaa = @(Oma) pi.^(-1).*J./(Oma.*(Oma + De)); you need to evaluate the function handle J and use the val...

1 day ago | 1

Answered

String manipulation (change of a string in a loop)

Don't think of it as changing a variable name. Think of it as changing which element of the vector you modify. base = [1 2 ...

String manipulation (change of a string in a loop)

Don't think of it as changing a variable name. Think of it as changing which element of the vector you modify. base = [1 2 ...

2 days ago | 0

Answered

Error 'Not enough input arguments'

You need to pass a value into the function, since the function is defined to accept an input argument u.

Error 'Not enough input arguments'

You need to pass a value into the function, since the function is defined to accept an input argument u.

2 days ago | 0

Answered

How can I insert the *contents* of a string variable directly into my code?

Use the |system| function instead of the |!| operator. comment = 'Hello world!'; % leaving off the semicolon on the next...

How can I insert the *contents* of a string variable directly into my code?

Use the |system| function instead of the |!| operator. comment = 'Hello world!'; % leaving off the semicolon on the next...

2 days ago | 1

| accepted

Answered

Error using inline/subsref (line 14) Too many inputs to inline function.

The way you've described the problem, it sounds like whatever is invoking the |inline| object will pass 2 inputs into df, but wh...

Error using inline/subsref (line 14) Too many inputs to inline function.

The way you've described the problem, it sounds like whatever is invoking the |inline| object will pass 2 inputs into df, but wh...

2 days ago | 1

| accepted

Answered

Matlab 2013a is unable to find the JDBC driver using the database explorer App. I followed the instructions here. https://de.mathworks.com/help/database/ug/postgresql-jdbc-windows.html#bt8koan-2

That documentation page is for the most recent release, currently release R2016b. I don't know how much Database Toolbox has cha...

Matlab 2013a is unable to find the JDBC driver using the database explorer App. I followed the instructions here. https://de.mathworks.com/help/database/ug/postgresql-jdbc-windows.html#bt8koan-2

That documentation page is for the most recent release, currently release R2016b. I don't know how much Database Toolbox has cha...

2 days ago | 0

Responded

Re: Uncomment shortcut on Matlab

You asked this question earlier, and James Tursa and I responded in that thread. http://www.mathworks.com/matlabcentral/newsrea...

3 days ago | 104 views

Answered

How do I add column vector to a matrix ? Documentation examples does not work.

<http://blogs.mathworks.com/loren/2016/10/24/matlab-arithmetic-expands-in-r2016b/ Implicit expansion> was added as a feature in ...

How do I add column vector to a matrix ? Documentation examples does not work.

<http://blogs.mathworks.com/loren/2016/10/24/matlab-arithmetic-expands-in-r2016b/ Implicit expansion> was added as a feature in ...

3 days ago | 0

| accepted

Responded

Re: Uncomment shortcut on Matlab

Those are the shortcuts in the Windows Default Set but I don't remember if they are the same in the Mac Default Set. But even th...

3 days ago | 199 views

Answered

what is the system requirement for matlab R2010

None of release R2010a, R2010b, R2010b Service Pack 1, or R2010b Service Pack 2 list Windows Server 2012 in their Windows system...

what is the system requirement for matlab R2010

None of release R2010a, R2010b, R2010b Service Pack 1, or R2010b Service Pack 2 list Windows Server 2012 in their Windows system...

3 days ago | 0

Answered

why I got error in MATLAB 2012a " Undefined function or variable 'p'. The first assignment to a local variable determines its class."when i run my code?

The variable p isn't defined the first time you try to use it in your function, on the line "p = p+1;". What exactly do you thin...

why I got error in MATLAB 2012a " Undefined function or variable 'p'. The first assignment to a local variable determines its class."when i run my code?

The variable p isn't defined the first time you try to use it in your function, on the line "p = p+1;". What exactly do you thin...

4 days ago | 0

Responded

Re: I need to know how to find where a function ends.

snip* The error message you cited means that there is a set of inputs that never executes a line that defines one or more of th...

4 days ago | 182 views

Answered

How to plot a series on a graph from a specific time

Generate some sample data. x = 1:10; y1 = x.^2; y2 = abs(50-y1); Plot the first line and turn |hold| on to allow c...

How to plot a series on a graph from a specific time

Generate some sample data. x = 1:10; y1 = x.^2; y2 = abs(50-y1); Plot the first line and turn |hold| on to allow c...

4 days ago | 0

Answered

Where are the functions saveCompactModel / loadCompactModel?

According to the notes at the bottom of their online documentation pages, these two functions were introduced in release R2016b....

Where are the functions saveCompactModel / loadCompactModel?

According to the notes at the bottom of their online documentation pages, these two functions were introduced in release R2016b....

4 days ago | 0

| accepted

Answered

What should be adjusted to make the script run?

Variable names cannot contain spaces. "k_member _ 1" (where the quotes are simply to denote the start and end of the name, but a...

What should be adjusted to make the script run?

Variable names cannot contain spaces. "k_member _ 1" (where the quotes are simply to denote the start and end of the name, but a...

4 days ago | 2

| accepted

Answered

silent installation 2016b - do not have a File Installation Key (yet) (license changed)

Please contact your license administrator (probably someone in your IT department) and/or MathWorks Technical Support (using the...

silent installation 2016b - do not have a File Installation Key (yet) (license changed)

Please contact your license administrator (probably someone in your IT department) and/or MathWorks Technical Support (using the...

4 days ago | 0

Answered

While using class method to create an object: "Base object for class 'Test_class' constructor is invalid".

You cannot define a class using the older class syntax (where you call the |class| function inside the class's constructor _func...

While using class method to create an object: "Base object for class 'Test_class' constructor is invalid".

You cannot define a class using the older class syntax (where you call the |class| function inside the class's constructor _func...

4 days ago | 1

| accepted

Answered

save the output of system command using matlab

Use concatenation or |sprintf| to assemble a command for use with the |system| function that needs to include information from a...

save the output of system command using matlab

Use concatenation or |sprintf| to assemble a command for use with the |system| function that needs to include information from a...

4 days ago | 0

| accepted

Answered

can you assist in designing a proactive supply chain for the beverage industry?

Take a look at <https://www.mathworks.com/services/consulting/proven-solutions/operations-logistics-supply-chain-management.html...

can you assist in designing a proactive supply chain for the beverage industry?

Take a look at <https://www.mathworks.com/services/consulting/proven-solutions/operations-logistics-supply-chain-management.html...

4 days ago | 0

| accepted

Answered

Code checking messages are displayed as grey boxes without text

Take a look at <https://www.mathworks.com/support/bugreports/1229653 Bug Report 1229653>.

Code checking messages are displayed as grey boxes without text

Take a look at <https://www.mathworks.com/support/bugreports/1229653 Bug Report 1229653>.

5 days ago | 1

Answered

Graph::bipartite?

That function only works inside the MuPAD Notebook interface, not inside a MATLAB function or at the MATLAB Command Prompt [*]. ...

Graph::bipartite?

That function only works inside the MuPAD Notebook interface, not inside a MATLAB function or at the MATLAB Command Prompt [*]. ...

5 days ago | 0

| accepted

Answered

License association to account trouble

As the message suggests, "Please contact your license administrator for assistance." If you're not sure who your license admi...

License association to account trouble

As the message suggests, "Please contact your license administrator for assistance." If you're not sure who your license admi...

5 days ago | 0

Answered

Why I can't run the corrcoef for matrix

You can't compute the correlation coefficient of a |table| since a |table| could contain non-numeric data. Instead, you can comp...

Why I can't run the corrcoef for matrix

You can't compute the correlation coefficient of a |table| since a |table| could contain non-numeric data. Instead, you can comp...

6 days ago | 0

| accepted

Answered

cputime not working as expected

From <https://www.mathworks.com/help/matlab/matlab_prog/measure-performance-of-your-program.html this documentation page>: "The ...

cputime not working as expected

From <https://www.mathworks.com/help/matlab/matlab_prog/measure-performance-of-your-program.html this documentation page>: "The ...

6 days ago | 0

Answered

For some strange reason MATLAB spits out two answers to the following code , pay2 =, and p =. It is ony supposed to produce 1 answer

You have several lines inside the |elseif| sections of your code that do not end in semicolons. Add the semicolons at the end of...

For some strange reason MATLAB spits out two answers to the following code , pay2 =, and p =. It is ony supposed to produce 1 answer

You have several lines inside the |elseif| sections of your code that do not end in semicolons. Add the semicolons at the end of...

6 days ago | 1

Answered

How Matlab computes trigonometric functions?

You may be interested in <https://www.mathworks.com/company/newsletters/articles/the-tetragamma-function-and-numerical-craftsman...

How Matlab computes trigonometric functions?

You may be interested in <https://www.mathworks.com/company/newsletters/articles/the-tetragamma-function-and-numerical-craftsman...

7 days ago | 1

Answered

I am running tracker code in matlabR2013b, it is working properly. But when i try the same code in MatlabR2015b it is giving following error..not able to debug it..any help..thanks in advance...

In releases prior to release R2014b <https://www.mathworks.com/help/matlab/graphics-changes-in-r2014b.html graphics handles were...

I am running tracker code in matlabR2013b, it is working properly. But when i try the same code in MatlabR2015b it is giving following error..not able to debug it..any help..thanks in advance...

In releases prior to release R2014b <https://www.mathworks.com/help/matlab/graphics-changes-in-r2014b.html graphics handles were...

7 days ago | 0

| accepted

Responded

Re: help on function

Based on the name of the outputs and inputs, I assume you intend to use this function for a call to one of the ODE solvers. In o...

12 days ago | 229 views