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.

답변 있음

Can someone tell me what is wrong with this?

I'm guessing from the fact that you define x1 but don't use it that the x variable may not exist. You may have been thinking / h...

Can someone tell me what is wrong with this?

I'm guessing from the fact that you define x1 but don't use it that the x variable may not exist. You may have been thinking / h...

24분 전 | 0

답변 있음

How do you solve for a double sum

h=0; i=0.0195314; m=100 for m=1:512 for j=1:n for i=1:n-m h=h+(z(i+m,j)-z(i,j))^2; end end h=1/(n...

How do you solve for a double sum

h=0; i=0.0195314; m=100 for m=1:512 for j=1:n for i=1:n-m h=h+(z(i+m,j)-z(i,j))^2; end end h=1/(n...

35분 전 | 0

답변 있음

ActiveX: how to pass a string array to cst in matlab？

sWidth={"0.5";"1.1";"2.2";"3.3"} The error message is accurate in that sWidth is not a string array. It is a cell array whose c...

ActiveX: how to pass a string array to cst in matlab？

sWidth={"0.5";"1.1";"2.2";"3.3"} The error message is accurate in that sWidth is not a string array. It is a cell array whose c...

약 1시간 전 | 0

답변 있음

Patner relationship and problem diskussing

You can contact MathWorks corporate headquarters using the information on this webpage.

Patner relationship and problem diskussing

You can contact MathWorks corporate headquarters using the information on this webpage.

약 1시간 전 | 0

답변 있음

Count Days in Months

The "Specify Step Size", "Compare Fixed-Length Duration and Calendar Duration Step Sizes", and "Dates and End of Month" sections...

Count Days in Months

The "Specify Step Size", "Compare Fixed-Length Duration and Calendar Duration Step Sizes", and "Dates and End of Month" sections...

약 19시간 전 | 0

| 수락됨

답변 있음

Visualizing flow through graph networks

Set the NodeCData property of the GraphPlot object. p.NodeCData = G.Nodes.Value; colorbar % to see the mapping between value...

Visualizing flow through graph networks

Set the NodeCData property of the GraphPlot object. p.NodeCData = G.Nodes.Value; colorbar % to see the mapping between value...

약 24시간 전 | 1

답변 있음

how do i download trial software to a computer without internet connection

See this Answers post.

how do i download trial software to a computer without internet connection

See this Answers post.

1일 전 | 0

답변 있음

Change distance between grouped bars (bars are overlapping)

From the documentation for the bar function, specifically the section that deals with the width input argument: "Bar width, spe...

Change distance between grouped bars (bars are overlapping)

From the documentation for the bar function, specifically the section that deals with the width input argument: "Bar width, spe...

1일 전 | 0

답변 있음

Graph visualization adding white to my nodes. How to solve it?

Can you check if there's an update available for your graphics driver? If not, did this behavior suddenly start appearing (afte...

Graph visualization adding white to my nodes. How to solve it?

Can you check if there's an update available for your graphics driver? If not, did this behavior suddenly start appearing (afte...

1일 전 | 0

답변 있음

fplot command makes plot white

Those ought to throw an error. You can't multiply a function handle and a number. You can multiple the result you receive from e...

fplot command makes plot white

Those ought to throw an error. You can't multiply a function handle and a number. You can multiple the result you receive from e...

1일 전 | 0

| 수락됨

답변 있음

Why is help() malfunctioning

The output you posted for help doc doesn't match the help text I see when I run that command. Did you post exactly what you see ...

Why is help() malfunctioning

The output you posted for help doc doesn't match the help text I see when I run that command. Did you post exactly what you see ...

2일 전 | 0

답변 있음

How to develop a number selector using matlab app designer?

Do you need individual buttons for each digit, or would a uispinner or uidropdown that allows you to select a number between 0 a...

How to develop a number selector using matlab app designer?

Do you need individual buttons for each digit, or would a uispinner or uidropdown that allows you to select a number between 0 a...

2일 전 | 0

답변 있음

Error: Unbalanced or unexpected parenthesis or bracket

DON'T USE eval unless you absolutely need to. [There are very, very few circumstances where you absolutely need to.] But let's ...

Error: Unbalanced or unexpected parenthesis or bracket

DON'T USE eval unless you absolutely need to. [There are very, very few circumstances where you absolutely need to.] But let's ...

2일 전 | 1

답변 있음

Run scripts with a script

genpath is a big hammer. Are you certain you actually need to use it? Looking at the message you received: Warning: Name is no...

Run scripts with a script

genpath is a big hammer. Are you certain you actually need to use it? Looking at the message you received: Warning: Name is no...

2일 전 | 0

| 수락됨

답변 있음

Write a loop that sums and subtracts elements with a lower and upper limit?

Do you want to stop the loop entirely or do you want to saturate and continue on with the next iteration starting from the satur...

Write a loop that sums and subtracts elements with a lower and upper limit?

Do you want to stop the loop entirely or do you want to saturate and continue on with the next iteration starting from the satur...

2일 전 | 0

| 수락됨

답변 있음

How to draw lines in matlab figure

You could either turn the grid on or use the xline and/or yline functions. plot(1:10); grid on xline(4.5, 'r:') yline(2*pi, ...

How to draw lines in matlab figure

You could either turn the grid on or use the xline and/or yline functions. plot(1:10); grid on xline(4.5, 'r:') yline(2*pi, ...

2일 전 | 0

답변 있음

Sub function error within main function

In general, when you're asking for help with an error you should show the full and exact text of the error message you receive. ...

Sub function error within main function

In general, when you're asking for help with an error you should show the full and exact text of the error message you receive. ...

3일 전 | 0

답변 있음

Mathworks .m files license condition

I will repeat what I said in my response to a similar question from Jakub Tomek: "For questions about the license agreement you...

Mathworks .m files license condition

I will repeat what I said in my response to a similar question from Jakub Tomek: "For questions about the license agreement you...

5일 전 | 0

| 수락됨

답변 있음

How to pass a method as a function handle

Are my_method and my_other_method Static or non-Static methods of the class of the value stored in the my_obj_with_methods prope...

How to pass a method as a function handle

Are my_method and my_other_method Static or non-Static methods of the class of the value stored in the my_obj_with_methods prope...

6일 전 | 0

답변 있음

How to filling a blank matrix with designated patterns using a single for loop?

reshape your vector into a matrix of the appropriate size then flip the matrix. No for loop required. If you're required (by a ...

How to filling a blank matrix with designated patterns using a single for loop?

reshape your vector into a matrix of the appropriate size then flip the matrix. No for loop required. If you're required (by a ...

6일 전 | 0

| 수락됨

답변 있음

Index in position 1 is invalid. Array indices must be positive integers or logical values.

So when I calculate the index, it is 1.7290e+03. Calling "index" in the code throws an error, but copying and pasting "1.729e+03...

Index in position 1 is invalid. Array indices must be positive integers or logical values.

So when I calculate the index, it is 1.7290e+03. Calling "index" in the code throws an error, but copying and pasting "1.729e+03...

6일 전 | 0

| 수락됨

답변 있음

sinc(pi) doesn't give zero

The pi function does not return but a value very close to as Jeremy Marcyoniak stated. Using a tolerance or rounding are two a...

sinc(pi) doesn't give zero

The pi function does not return but a value very close to as Jeremy Marcyoniak stated. Using a tolerance or rounding are two a...

6일 전 | 0

답변 있음

for loop indexing per allocating

As KALYAN ACHARJYA stated you're not allowed to use either 0 or a non-integer value as an index into a numeric array in MATLAB. ...

for loop indexing per allocating

As KALYAN ACHARJYA stated you're not allowed to use either 0 or a non-integer value as an index into a numeric array in MATLAB. ...

6일 전 | 2

답변 있음

Traveling Salesman Problem: change border

So you want to try Cleve's or Loren's approaches for solving the TSP? Just substitute your own graph object reflecting which reg...

Traveling Salesman Problem: change border

So you want to try Cleve's or Loren's approaches for solving the TSP? Just substitute your own graph object reflecting which reg...

7일 전 | 0

답변 있음

Creating values to a matrix with "if" statement

When you call if with a non-scalar expression as its condition, " An expression is true when its result is nonempty and contains...

Creating values to a matrix with "if" statement

When you call if with a non-scalar expression as its condition, " An expression is true when its result is nonempty and contains...

7일 전 | 0

답변 있음

Help Implementing Pseudo Code

Since this sounds like it may be homework I'm only going to give two hints. One way to do step 1 is to use discretize. You may...

Help Implementing Pseudo Code

Since this sounds like it may be homework I'm only going to give two hints. One way to do step 1 is to use discretize. You may...

7일 전 | 1

| 수락됨

답변 있음

The logical indices contain a true value outside of the array bounds

I recommend setting an error breakpoint and running your code again. When the code throws the error and stops at the breakpoint,...

The logical indices contain a true value outside of the array bounds

I recommend setting an error breakpoint and running your code again. When the code throws the error and stops at the breakpoint,...

7일 전 | 0

답변 있음

Two equal datetime values showing as unequal when compared?

One thing you can do is check if they're "close enough": s = datetime(2017,3,24,9,5,0.1); t = datetime(2017,3,24,9,5,0.2); ...

Two equal datetime values showing as unequal when compared?

One thing you can do is check if they're "close enough": s = datetime(2017,3,24,9,5,0.1); t = datetime(2017,3,24,9,5,0.2); ...

8일 전 | 0

| 수락됨

답변 있음

Legality of modifying built-in functions

For questions about the license agreement you should contact Customer Service using the telephone icon in the upper-right corner...

Legality of modifying built-in functions

For questions about the license agreement you should contact Customer Service using the telephone icon in the upper-right corner...

8일 전 | 0

| 수락됨