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.

답변 있음

what are the functions that one can use for unstack aggregate functions?

Any function that can be applied "to rows from the same group that have the same value in ivar" and return a scalar, and that ca...

what are the functions that one can use for unstack aggregate functions?

Any function that can be applied "to rows from the same group that have the same value in ivar" and return a scalar, and that ca...

약 7시간 전 | 0

| 수락됨

답변 있음

The htmlTree object is supported in which version?

According to the note at the end of the htmlTree function's documentation page it was introduced in release R2018b. You will nee...

The htmlTree object is supported in which version?

According to the note at the end of the htmlTree function's documentation page it was introduced in release R2018b. You will nee...

1일 전 | 0

답변 있음

What is the job of this function “different”?

According to a tooltip that appears at 2:25 in the video, the different.m file is "D:\OneDrive\OneDrive - Shahjalal University o...

What is the job of this function “different”?

According to a tooltip that appears at 2:25 in the video, the different.m file is "D:\OneDrive\OneDrive - Shahjalal University o...

1일 전 | 0

답변 있음

Error in string operation

My guess is that on a later line of code you overwrite the datachunks variable (which previously contained a string array) with ...

Error in string operation

My guess is that on a later line of code you overwrite the datachunks variable (which previously contained a string array) with ...

1일 전 | 0

| 수락됨

답변 있음

How to access array element sequentially in for loop?

Rather than creating numbered variables (which is generally discouraged) consider making a matrix or array containing all your d...

How to access array element sequentially in for loop?

Rather than creating numbered variables (which is generally discouraged) consider making a matrix or array containing all your d...

1일 전 | 0

답변 있음

Pass Array Variable to MATLAB Function in Bash

The getenv function may be of use to you.

Pass Array Variable to MATLAB Function in Bash

The getenv function may be of use to you.

2일 전 | 0

답변 있음

How to find all related nodes in directed graph?

You want to know all nodes that are reachable from the designated node? Use the distances function on the digraph with the desig...

How to find all related nodes in directed graph?

You want to know all nodes that are reachable from the designated node? Use the distances function on the digraph with the desig...

2일 전 | 0

답변 있음

Error in code: Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

When you define your function, the function declaration line should include the names of the variables into which the input argu...

Error in code: Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct matrices, use brackets instead of parentheses.

When you define your function, the function declaration line should include the names of the variables into which the input argu...

2일 전 | 1

답변 있음

I get an error when I run a function on mac, but it works when run in Windows

Make sure you haven't written or downloaded your own var.m that's taking precedence over the var.m included in MATLAB. You can c...

I get an error when I run a function on mac, but it works when run in Windows

Make sure you haven't written or downloaded your own var.m that's taking precedence over the var.m included in MATLAB. You can c...

3일 전 | 0

| 수락됨

답변 있음

How do I calculate percentage or frequency and display it on a bar plot?

Use histogram with 'probability' as the value for the 'Normalization' option.

How do I calculate percentage or frequency and display it on a bar plot?

Use histogram with 'probability' as the value for the 'Normalization' option.

3일 전 | 0

답변 있음

Linux (CentOS 7,5) Deployable Installation

Do you have the necessary permission to write to /usr/local/MATLAB/MATLAB_Runtime? Does /usr/local/MATLAB/MATLAB_Runtime/v92 al...

Linux (CentOS 7,5) Deployable Installation

Do you have the necessary permission to write to /usr/local/MATLAB/MATLAB_Runtime? Does /usr/local/MATLAB/MATLAB_Runtime/v92 al...

3일 전 | 0

답변 있음

How could I fix the error "Out of memory with ode45" ?

My suspicion is that you're calling ode45 with a function handle as input from inside the function that you're passing into ode4...

How could I fix the error "Out of memory with ode45" ?

My suspicion is that you're calling ode45 with a function handle as input from inside the function that you're passing into ode4...

4일 전 | 0

답변 있음

"normalize" Does Not Work on R2020a

In my installation of release R2020a line 23 of the normalize.m included in MATLAB is a comment that's about a third of the way ...

"normalize" Does Not Work on R2020a

In my installation of release R2020a line 23 of the normalize.m included in MATLAB is a comment that's about a third of the way ...

4일 전 | 0

| 수락됨

답변 있음

Extract data using histogram2()

If you want the data that was passed into histogram2 retrieve the Data property of the histogram. If you want the edges of the ...

Extract data using histogram2()

If you want the data that was passed into histogram2 retrieve the Data property of the histogram. If you want the edges of the ...

4일 전 | 0

답변 있음

if else statement for tabular data classification

discretize your data. Let's start off with some sample data. I'm using rng default so you receive the same results I did when I ...

if else statement for tabular data classification

discretize your data. Let's start off with some sample data. I'm using rng default so you receive the same results I did when I ...

4일 전 | 0

답변 있음

How to calculate mean of all the rows individually and should be stored in the same worksheet ?

Use varfun to apply the function @(x) mean(x, 'omitnan') to each variable in the table.

How to calculate mean of all the rows individually and should be stored in the same worksheet ?

Use varfun to apply the function @(x) mean(x, 'omitnan') to each variable in the table.

4일 전 | 0

답변 있음

Matlab Grader Assessment Feedback

I haven't tried this, but something like this should work: % Innocent until proven guilty. pass = 1; feedback = ""; % Run le...

Matlab Grader Assessment Feedback

I haven't tried this, but something like this should work: % Innocent until proven guilty. pass = 1; feedback = ""; % Run le...

5일 전 | 0

| 수락됨

답변 있음

display result (numbers)

When you take the max of an integer array, the result is of the same integer type. When you take the mean of an integer array, ...

display result (numbers)

When you take the max of an integer array, the result is of the same integer type. When you take the mean of an integer array, ...

5일 전 | 0

| 수락됨

답변 있음

how can hellp me??

Please send the code you're running when you can reproduce that behavior to Technical Support using the telephone icon in the up...

how can hellp me??

Please send the code you're running when you can reproduce that behavior to Technical Support using the telephone icon in the up...

5일 전 | 0

답변 있음

How to read and write multiple .txt files with unpatterned names into a table?

Generate a list of the files you want to import. There are a number of different tools you can use to do this; since you say the...

How to read and write multiple .txt files with unpatterned names into a table?

Generate a list of the files you want to import. There are a number of different tools you can use to do this; since you say the...

5일 전 | 0

답변 있음

Solving linear system using Sherman-Morrison formula for 1000000x1000000 (7450.6GB) matrix

Unless you have a machine with multiple terabytes of memory, you can't solve this directly. Instead, use one of the iterative s...

Solving linear system using Sherman-Morrison formula for 1000000x1000000 (7450.6GB) matrix

Unless you have a machine with multiple terabytes of memory, you can't solve this directly. Instead, use one of the iterative s...

5일 전 | 0

답변 있음

Why doesn't the loop in my for loop work?

for f = 1:Besparingslistan(:,1) This doesn't do what you think it does. Consider: A = [20 1 2; 2 3 4; 3 4 5; 4 5 6]; for f = ...

Why doesn't the loop in my for loop work?

for f = 1:Besparingslistan(:,1) This doesn't do what you think it does. Consider: A = [20 1 2; 2 3 4; 3 4 5; 4 5 6]; for f = ...

5일 전 | 0

답변 있음

output argument not assigned during call

Where in your MYFunction function do you assign any value to the variable J?

output argument not assigned during call

Where in your MYFunction function do you assign any value to the variable J?

6일 전 | 0

답변 있음

Ignore anomalies in collection of datasets

Preprocess your data to identify, fill, and/or remove outliers. Use the functions in the "Missing Data and Outliers" section on ...

Ignore anomalies in collection of datasets

Preprocess your data to identify, fill, and/or remove outliers. Use the functions in the "Missing Data and Outliers" section on ...

6일 전 | 0

답변 있음

All available default settings for groot?

Those "properties" aren't properties of groot. See this documentation page for a description of that syntax for setting default ...

All available default settings for groot?

Those "properties" aren't properties of groot. See this documentation page for a description of that syntax for setting default ...

6일 전 | 0

답변 있음

How to find min and max of a matrix?

Use sortrows. Specify that you want to sort the first column in ascending order and the second in descending order.

How to find min and max of a matrix?

Use sortrows. Specify that you want to sort the first column in ascending order and the second in descending order.

6일 전 | 0

| 수락됨

답변 있음

How can I convert a table into separate columns?

If you want to turn this into a |timetable| use |table2timetable| instead of |table2array| and |array2timetable| like I think yo...

How can I convert a table into separate columns?

If you want to turn this into a |timetable| use |table2timetable| instead of |table2array| and |array2timetable| like I think yo...

7일 전 | 0

답변 있음

edges to vertices distance

If you've built a graph or digraph object, call distances to get the distances between each pairs of nodes or shortestpath if yo...

edges to vertices distance

If you've built a graph or digraph object, call distances to get the distances between each pairs of nodes or shortestpath if yo...

7일 전 | 0

답변 있음

how can i stay 7t longer in my code

If your equations depend not just on the value of the solution at the current time but also the value of the solution at a previ...

how can i stay 7t longer in my code

If your equations depend not just on the value of the solution at the current time but also the value of the solution at a previ...

8일 전 | 0

답변 있음

C-Caller block missing in MATLAB 2018a

According to the documentation page for that block it was "Introduced in R2018b" and so is not available in earlier releases. In...

C-Caller block missing in MATLAB 2018a

According to the documentation page for that block it was "Introduced in R2018b" and so is not available in earlier releases. In...

9일 전 | 0