Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

5,040 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

  • 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 details...

Contributions in
View by

Answered
How do I input and solve a system of differential equations in matlab
I recommend you visit the Ordinary Differential Equations category in the documentation. Several of the Topics pages listed in t...

2 hours ago | 0

Answered
User inputs for publish
To me, publishing is intended as a non-interactive activity. You should be able to start the publishing process, go get a cup of...

3 hours ago | 1

Answered
How does mat2cell work?
Let's try this with a slightly smaller matrix, so you can see what's going on. A = reshape(1:24, [3 8]) Let's slice this into ...

5 hours ago | 0

| accepted

Answered
How do I do a Matlab assignment (report)?
Assuming this is homework, you should probably ask your professor about the format of the report they expect you to submit. You...

18 hours ago | 0

Answered
I have a question
You did not end the command you executed immediately before calling imshow(d) with a semicolon. I'm guessing that command was a ...

1 day ago | 1

Answered
how do I generate new random number every time I run a exe file?
See this documentation page that discusses why random numbers repeat after startup.

1 day ago | 0

Answered
How to interpolate under specific condition?
If you were using release R2020b or later, I would recommend calling the fillmissing function with the 'MaxGap' option. I'm leav...

1 day ago | 1

Answered
Different results for the same equation
lambda(1) is displayed the same as lambda(3) but its value is not identical to the value of lambda(3). A = [-10 10 -15; 10 5 -3...

1 day ago | 0

Answered
Plotting a random walk step by step
You're adding a new line to the axes each time you want to put a new point down. That's numberOfWalks times stepsPerWalk differe...

1 day ago | 0

Answered
Error with validate attribute
Nowhere in your message did you show the error you received. Please show all the text displayed in the Command Window in red and...

2 days ago | 0

| accepted

Answered
calculate a grade of students
%purpose is showing grades of 102 students and assign a letter grades %the grades will be random numbers between 0 to 100 clc;...

2 days ago | 0

Answered
Unit testing with externally configurable parameters.
Write a parameterized test whose parameter is the port name. Inject a value for that parameter into the test when you create the...

2 days ago | 0

| accepted

Answered
C++ to matlab, anybody can help?
Are you trying to solve the same type of problem the matchpairs function does?

2 days ago | 0

Answered
Ploting a Histogram with two data sets (One data set with respect to the other).
Do you want a 2-D histogram? x = [-9.3185, -9.2809,-9.2079,-9.1043,-9.1989,-9.1040,-9.1865,-9.0970,-9.0852,-9.0967,... -9....

2 days ago | 0

| accepted

Answered
square root of pi
I would have both the Area and Diameter properties depend upon a third (maybe public, maybe internal) property. Setting either A...

2 days ago | 0

Answered
Create datetime from two columns of a table
I would use synchronize for this task. Let's start with some table data. v = (0:9).'; datePart = repmat("02-01-20", 10, 1); t...

2 days ago | 0

Answered
How do you pass a variable between two different matlab apps
Have you tried following the procedure shown on this documentation page?

3 days ago | 0

Answered
Changing the initial variables when passing into an ode45 solver
I would call the ODE solver three times. First, solve over the time span [0, 20]. Next, use the final value from that first OD...

3 days ago | 0

| accepted

Answered
Only the real part of the complex number is displayed
I believe you're using the bank display format (format bank) which does not show the imaginary parts of numbers. What would $4.5...

3 days ago | 0

| accepted

Answered
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched delimiters
When you define a function the inputs must be specified as variable names in the definition. [Slight oversimplification, but goo...

3 days ago | 0

Answered
Colors in Matlab as a vriable
Do you want your users to select colors by name or by appearance? If the latter use uisetcolor.

3 days ago | 0

Answered
Location of plot for subplot(2,2,3)
For a subplot(2,2,3), the plot is located in 3-rd position in 2x2 matrix form. Up to now the plot is placed in the lower left c...

3 days ago | 0

Answered
Portable version of Matlab
Two other options that I believe did not yet exist when this question was originally asked in 2015 are MATLAB Online and MATLAB ...

4 days ago | 0

Answered
f(x) is different of f(value of x)
The value stored in an array is not necessarily the same value that is displayed. Right now Forbes magazine lists the net worth...

4 days ago | 0

Answered
I can't install Matlab on my M1 Mac mini.
See this post.

5 days ago | 0

Answered
Conditional with time in ode45
Solve the system from time t = 0 to time t = 300 with the first value of upsilon. Use the value of the solution at t = 300 as th...

5 days ago | 1

Answered
How can I install Matlab R2013a on macOS 11.1?
This post states MATLAB release R2020b and later are supported on Big Sur and that earlier releases are not supported. The syst...

5 days ago | 0

Answered
How to plot string on X-axes and number in Y-axes in figure?
This doesn't do what you think it does. x_axes=['Case-1','Case-2','Case-3','Case-4'] Instead use a string array or a cell arra...

8 days ago | 0

| accepted

Answered
Cannot find highlight function
The description of the first input argument H listed on the documentation page indicates it must be a GraphPlot object created b...

8 days ago | 0

| accepted

Answered
Converting char array into string cells
Rather than creating a cell array containing char vectors, why not create a string array? x = [0 1 3 0]; s = string(x) three ...

8 days ago | 1

Load more