Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4.320 total contributions since 2002

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.

Steven Lord's Badges

  • 36 Month Streak
  • Personal Best Downloads Level 2
  • Editor's Pick
  • 5-Star Galaxy Level 4
  • First Submission
  • Ace
  • Revival Level 3
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Answered
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...

alrededor de 16 horas ago | 0

| accepted

Answered
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 día ago | 0

Answered
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 día ago | 0

Answered
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 ...

2 días ago | 0

| accepted

Answered
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...

2 días ago | 0

Answered
Pass Array Variable to MATLAB Function in Bash
The getenv function may be of use to you.

2 días ago | 0

Answered
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 días ago | 0

Answered
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 días ago | 1

Answered
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 días ago | 0

| accepted

Answered
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 días ago | 0

Answered
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...

4 días ago | 0

Answered
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...

5 días ago | 0

Answered
"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 ...

5 días ago | 0

| accepted

Answered
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 ...

5 días ago | 0

Answered
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 ...

5 días ago | 0

Answered
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.

5 días ago | 0

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

6 días ago | 0

| accepted

Answered
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, ...

6 días ago | 0

| accepted

Answered
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...

6 días ago | 0

Answered
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...

6 días ago | 0

Answered
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...

6 días ago | 0

Answered
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 = ...

6 días ago | 0

Answered
output argument not assigned during call
Where in your MYFunction function do you assign any value to the variable J?

6 días ago | 0

Answered
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 ...

7 días ago | 0

Answered
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 ...

7 días ago | 0

Answered
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.

7 días ago | 0

| accepted

Answered
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 días ago | 0

Answered
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...

8 días ago | 0

Answered
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 días ago | 0

Answered
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 días ago | 0

Load more