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.

답변 있음

How could i call java function from matlab?

See the Topics on this page from the documentation.

How could i call java function from matlab?

See the Topics on this page from the documentation.

약 5시간 전 | 0

답변 있음

How to manipulate array?

For the specific example of the size function, if you want to know the number of columns in the input array, tell size that you ...

How to manipulate array?

For the specific example of the size function, if you want to know the number of columns in the input array, tell size that you ...

약 5시간 전 | 0

답변 있음

Mysterious "Operands to the || and && operators must be convertible to logical scalar values." error

Can you check to confirm that you haven't written your own functions named isempty, strmatch, or not that are shadowing the func...

Mysterious "Operands to the || and && operators must be convertible to logical scalar values." error

Can you check to confirm that you haven't written your own functions named isempty, strmatch, or not that are shadowing the func...

1일 전 | 0

답변 있음

Single-precision unit-spaced vector without conversion from double

Don't create the vector as a double array then convert the vector to single. Convert the scalar values from double to single th...

Single-precision unit-spaced vector without conversion from double

Don't create the vector as a double array then convert the vector to single. Convert the scalar values from double to single th...

1일 전 | 1

| 수락됨

답변 있음

Replace -99 with NaN

Consider using the standardizeMissing function. The first example on that documentation page does exactly what you described.

Replace -99 with NaN

Consider using the standardizeMissing function. The first example on that documentation page does exactly what you described.

2일 전 | 0

답변 있음

Assigning values to the array of Enumeration Class seems to be very slow

Why are you initializing all the elements in gps_state to GpsState.Lost in one call them immediately overwriting them with GpsSt...

Assigning values to the array of Enumeration Class seems to be very slow

Why are you initializing all the elements in gps_state to GpsState.Lost in one call them immediately overwriting them with GpsSt...

3일 전 | 0

답변 있음

Why I got the error "Undefined operator '.*' for input arguments of type 'function_handle"?

You can't multiply a function handle, which is what s returns. If you intend s to evaluate the function handle RCac, just make i...

Why I got the error "Undefined operator '.*' for input arguments of type 'function_handle"?

You can't multiply a function handle, which is what s returns. If you intend s to evaluate the function handle RCac, just make i...

3일 전 | 0

| 수락됨

답변 있음

eliminating NaN values from an array

In newer releases you can use rmmissing to remove missing data (NaN for double and single precision data, <undefined> for catego...

eliminating NaN values from an array

In newer releases you can use rmmissing to remove missing data (NaN for double and single precision data, <undefined> for catego...

3일 전 | 0

답변 있음

Proper Treatment of Symbolically Linked Script in Editor

Why not just add the directory containing the original preprocessing script file to the MATLAB search path? That will make it ca...

Proper Treatment of Symbolically Linked Script in Editor

Why not just add the directory containing the original preprocessing script file to the MATLAB search path? That will make it ca...

5일 전 | 0

답변 있음

Getting the linear portion of a non-linear curve

The ischange function may be of use to you. Depending on what you're planning to do with this data the detrend function may also...

Getting the linear portion of a non-linear curve

The ischange function may be of use to you. Depending on what you're planning to do with this data the detrend function may also...

5일 전 | 2

| 수락됨

답변 있음

Save Open State in Editor???

In the Preferences for MATLAB, there's a section titled Editor/Debugger. One of the options that you can select (and I believe i...

Save Open State in Editor???

In the Preferences for MATLAB, there's a section titled Editor/Debugger. One of the options that you can select (and I believe i...

5일 전 | 0

답변 있음

HEEELP : Index in position 2 is invalid. Array indices must be positive integers or logical values. !!!! why???

center=(length(y))/2; for i=1:length(lambda) opticaxis(i,:)=E_z(:,center,i)'/(max(E_z(:,center,i))); end If ...

HEEELP : Index in position 2 is invalid. Array indices must be positive integers or logical values. !!!! why???

center=(length(y))/2; for i=1:length(lambda) opticaxis(i,:)=E_z(:,center,i)'/(max(E_z(:,center,i))); end If ...

5일 전 | 1

답변 있음

How can I initialize nested handle class with independent values

The section titled "Initializing Properties to Handle Objects" on this documentation page states what happens when you initializ...

How can I initialize nested handle class with independent values

The section titled "Initializing Properties to Handle Objects" on this documentation page states what happens when you initializ...

6일 전 | 1

답변 있음

How do I Ctrl-R on Mac?

FYI to search for or customize the keyboard shortcuts, see the Keyboard preferences as described on this documentation page. Sea...

How do I Ctrl-R on Mac?

FYI to search for or customize the keyboard shortcuts, see the Keyboard preferences as described on this documentation page. Sea...

6일 전 | 0

답변 있음

Matlab licensing administration questions

I recommend that you contact Technical Support directly with these questions, as they should be able to offer guidance specific ...

Matlab licensing administration questions

I recommend that you contact Technical Support directly with these questions, as they should be able to offer guidance specific ...

6일 전 | 0

답변 있음

Why does categories(TableA.Var2) have more elements than the rows in TableA?

Your CarLineFaultCodes table only contains a subset of the rows of FaultCodesTable, and your ModuleFC table only contains a subs...

Why does categories(TableA.Var2) have more elements than the rows in TableA?

Your CarLineFaultCodes table only contains a subset of the rows of FaultCodesTable, and your ModuleFC table only contains a subs...

6일 전 | 1

| 수락됨

답변 있음

Multiplication of two fields in a structure array

You made a typo on this line. Struct(i).dy_dc=(Struct(i).L1).*(sin(Struct.(i).phi1)); There shouldn't be a period between Stru...

Multiplication of two fields in a structure array

You made a typo on this line. Struct(i).dy_dc=(Struct(i).L1).*(sin(Struct.(i).phi1)); There shouldn't be a period between Stru...

7일 전 | 1

| 수락됨

답변 있음

definite integral not giving exact answer

Compute your limits of integration symbolically to avoid roundoff error. f = sym(4)/5; a = acos(f); inner_int = int(r*sin(phi...

definite integral not giving exact answer

Compute your limits of integration symbolically to avoid roundoff error. f = sym(4)/5; a = acos(f); inner_int = int(r*sin(phi...

7일 전 | 1

| 수락됨

답변 있음

Convert Columns Arrays to numeric

Using the example from the timetable help text: MeasurementTime = datetime({'2015-12-18 08:03:05';'2015-12-18 10:03:17';'2015-1...

Convert Columns Arrays to numeric

Using the example from the timetable help text: MeasurementTime = datetime({'2015-12-18 08:03:05';'2015-12-18 10:03:17';'2015-1...

7일 전 | 0

답변 있음

Parsing text files for Beginners

There are several ways to read this data in. While you can do this using a series of commands, an easier approach (especially if...

Parsing text files for Beginners

There are several ways to read this data in. While you can do this using a series of commands, an easier approach (especially if...

7일 전 | 0

답변 있음

Initializing multidimensional array and dynamic expansion

Build your size vector first. Ideally you have an upper bound on the number of dimensions: upperBoundOnNdims = 10; sizeVec = o...

Initializing multidimensional array and dynamic expansion

Build your size vector first. Ideally you have an upper bound on the number of dimensions: upperBoundOnNdims = 10; sizeVec = o...

8일 전 | 1

| 수락됨

답변 있음

How to assign a class method as a ClickedCallback?

methods function h = get_save_handle( obj ) h = @obj.save; end end The name of the me...

How to assign a class method as a ClickedCallback?

methods function h = get_save_handle( obj ) h = @obj.save; end end The name of the me...

8일 전 | 0

| 수락됨

답변 있음

Disp: "Dot indexing is not supported for variables of this type"

You've written or downloaded a disp.m file that's shadowing the built-in disp function. Run this code. which -all disp You wil...

Disp: "Dot indexing is not supported for variables of this type"

You've written or downloaded a disp.m file that's shadowing the built-in disp function. Run this code. which -all disp You wil...

8일 전 | 0

| 수락됨

답변 있음

Problem with if statement

If you want to check if element i of y is less than 2, that's not what your if statement says. It is checking all the elements o...

Problem with if statement

If you want to check if element i of y is less than 2, that's not what your if statement says. It is checking all the elements o...

8일 전 | 0

| 수락됨

답변 있음

How to get the address of libpointer?

Why do you need or want to get the address? If you're looking to iterate through the array, just use the + operator as shown by...

How to get the address of libpointer?

Why do you need or want to get the address? If you're looking to iterate through the array, just use the + operator as shown by...

8일 전 | 0

답변 있음

Delete rows from a timetable with an specific criteria

See the "Select Rows with Logical Indexing" section on this documentation page for an example you can use as a model. That examp...

Delete rows from a timetable with an specific criteria

See the "Select Rows with Logical Indexing" section on this documentation page for an example you can use as a model. That examp...

8일 전 | 1

| 수락됨

답변 있음

How to assign a symbolic variable to a location inside a matrix?

In your expression y(1, 1) = A the expression on the left of the equals sign refers to a double array while the expression on th...

How to assign a symbolic variable to a location inside a matrix?

In your expression y(1, 1) = A the expression on the left of the equals sign refers to a double array while the expression on th...

9일 전 | 0

| 수락됨

답변 있음

can not run the file

When you say "it write[sic] error 5 when I run it", do you mean you receive License Manager Error -5 when you try to start MATLA...

can not run the file

When you say "it write[sic] error 5 when I run it", do you mean you receive License Manager Error -5 when you try to start MATLA...

9일 전 | 0

답변 있음

Optimization Toolbox Functions Available to Matlab Coder

The blue bar labeled "Documentation" near the top of the main documentation page for each MathWorks product should have a link t...

Optimization Toolbox Functions Available to Matlab Coder

The blue bar labeled "Documentation" near the top of the main documentation page for each MathWorks product should have a link t...

10일 전 | 1

| 수락됨