Community Profile

photo

Steven Lord

MathWorks

Last seen: Today Active 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.

Statistics

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

View badges

Content Feed

Answered
Filling incomplete data with cftool
Do you want to remove the NaN values with |rmmissing|, fill them using |fillmissing|, or do something else with them (and if so ...

ongeveer 2 uur ago | 0

Answered
Question about sorting an array column by column
Specify the dim input argument to the sort function. A = magic(5) B = sort(A, 1) % Compare with C = sort(A, 2) If you want ...

ongeveer 8 uur ago | 0

Answered
5D Data with scatter3?
It is possible to plot with five arrays: [x, y, z] = peaks; s = 10*(x.^2 + y.^2 + 1); c = abs(z); scatter3(x(:), y(:), z(:),...

ongeveer 8 uur ago | 1

| accepted

Answered
R2021b: The Run Section tool in the Editor has been removed
I believe that entry in the Release Notes could use a set of quotes around the name of the tool. There was a tool that would let...

1 dag ago | 0

Answered
Why the pushbutton does not work?
MATLAB is behaving correctly. You create the pushbutton and give it a callback and then immediately exit from the function in wh...

1 dag ago | 0

Answered
Multiply matrix with previous result
Use a matrix to store the population at each year, not a vector. M = [0 0 2; 0.25 0 0; 0 0.52 0.73]; x_k = [24; 15; 28]; popu...

2 dagen ago | 0

| accepted

Answered
How to reduce computation time with 8 nested for loop
a1=a1(a2,a3,a4,b1,b2,b3,b4); B1=B1(a1,a3,a4,b1,b3,b4); ...

2 dagen ago | 0

Answered
Creat 1000 different matrix
Can you define variables with numbered names like C1, C2, C3, ... ? Yes. Should you do this? Generally we recommend against it....

2 dagen ago | 0

Answered
mex error for path names with spaces
Wrap all the text inputs that can contain spaces in single quotes. disp 'Hello world!' % Equivalent of disp('Hello world!') fp...

4 dagen ago | 1

Answered
How can i perform indefinite integral in script?
The integral function requires its first input to be a function handle. If you're trying to integrate a numeric set of data, see...

4 dagen ago | 0

Answered
How to view the source code of "Delaunay" function?
which -all delaunay We do not distribute the source code for functions that are built into MATLAB like delaunay. If you want to...

5 dagen ago | 0

Answered
How to reshape data long version table in MATLAB into wide version table for more in deep repeated measures statistical analysis?
It's not completely clear to me what you want your "wide version" of that table to look like, but I suspect the stack and/or uns...

5 dagen ago | 0

| accepted

Answered
who to write this function in another way?
Try using the discretize function.

5 dagen ago | 0

Answered
I need a function or equivalent code fgetl, but it is very fast.
Are you sure that fgetl is what's taking the time? Or are you trying to read data one line at a time from a file and storing eac...

6 dagen ago | 0

Answered
Separate date and time
dt = datetime('now') % Sample data theTime = timeofday(dt) theDate = dt - theTime % or theDate2 = dateshift(dt, 'start', 'day...

6 dagen ago | 1

Answered
Look for string in table and return a number in the same row different column
I'd probably use matches for text data (and the normal relational operators for numeric data.) load patients P = table(LastNam...

6 dagen ago | 0

| accepted

Answered
Invalid expression error when I try to introduce new variable.
It's likely (in the absence of nested functions) that the statement on line 407 is not inside any function. The end on line 405 ...

6 dagen ago | 0

Answered
Install a toolbox from command line?
I would probably use the silent installation process.

7 dagen ago | 0

Answered
Out of memory issue
sz = [196608 4096]; numberOfElements = prod(sz); bytes = 8*numberOfElements; gb = bytes/1024^3 Each subset is 6 GB in size (...

7 dagen ago | 0

Answered
change the first digits when ends with 5959
Is there a reason you're starting with string data first rather than using a duration array from the start? d = minutes(0:0.25:...

7 dagen ago | 0

Answered
How do I use a user input string to reference a structure that already exists?
I have multiple users with different structure names that need to use this. I want them to be able to input their structure name...

8 dagen ago | 1

| accepted

Answered
Issue with numerical integration of two variable function
A = @(x, y)cos(x)+sin(y); B = @(x, y)(A-integral(@(x)A, 0 , 2*pi)); Your expression for B won't work for two reasons. The inte...

8 dagen ago | 0

Answered
What is wrong with A = alter(a)?
which -all alter What function are you trying to call? From the tag can I assume you're trying to use Computer Vision Toolbox?...

8 dagen ago | 0

Answered
How to place NaN instead of " " / [ ] or empty field by using standardizeMissing?
My guess is that the data that was read into that 7th variable in your table was not numeric data but included data that MATLAB ...

8 dagen ago | 0

| accepted

Answered
Is the Abstract keyword needed to make a method abstract?
That is valid syntax, but not for making my_method an Abstract method. What you've written tells MATLAB that my_method is implem...

10 dagen ago | 0

| accepted

Answered
Standalone application cannot read p-code?
Standalone apps cannot run any MATLAB code that was not included in the application at compile-time. From the documentation "MAT...

10 dagen ago | 1

| accepted

Answered
Tiny discussion on good practices in object oriented programming (OOP) through a simple example
First, having two classes whose names differ only by casing or by the difference between singular and plural seems likely to cau...

10 dagen ago | 0

Answered
Files generated during testing are not saved
I second Geoff Hayes's question about where you're creating these files. Are you putting them in a directory created using a Tem...

11 dagen ago | 0

| accepted

Answered
Retrieve curve fit coefficients
What "something else" are you planning to do with this fit information? There are a number of post-processing operations you can...

12 dagen ago | 1

Answered
Does Matlab support coding of embedded systems and robotics
Take a look at the Robotics and Autonomous Systems and Embedded Systems sections linked from the Solutions section of the websit...

12 dagen ago | 0

| accepted

Load more