Community Profile

photo

Steven Lord


MathWorks

3,125 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

  • Ace
  • 12 Month Streak
  • Revival Level 3
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

View details...

Contributions in
View by

Answered
How to find magnitude of an array of 17 vectors
If you're using release R2017b or later, use the vecnorm function to compute the norm of vectors stored in an array.

16 hours ago | 0

Answered
Bug: size(I, 1)*size(I, 2) returns size(I, 1) Instead of Product
This works for me. Let's make sure you haven't overloaded the size function. What does this command return? which -all size Al...

16 hours ago | 0

Answered
Older MATLAB script not able to run in 2019 version
The output of fix(clock) is neither a string array nor a cell array each element of which is a string or a char vector. Therefor...

19 hours ago | 0

Answered
Condition for matlab if
PP=Wscat((g(i)-50:g(i)),i) ; If g(i) is exactly equal to 50, this will ask for the 0th element of Wscat. Arrays in MATLAB don't...

23 hours ago | 0

Answered
How do I incrementize ode solver outputs after solution?
You could specify the tspan input to the ODE solver as 0:yourEndingTime. If you do this the solver will return the value of the ...

1 day ago | 0

| accepted

Answered
Where can I find loggedGroundVehicleCircle.mat that is used in ErrorStateIMUGPSFuser?
I expect if you have Sensor Fusion and Tracking Toolbox and release R2019a or later (since that's the product that contains the ...

1 day ago | 0

Answered
How to find the values of jump in an array?
Use the ischange function.

2 days ago | 0

Answered
Random number with no repeats in set matrix
You have a requirement that no row may contain the same number twice. Can different rows in the same matrix contain the same num...

4 days ago | 1

Answered
How to use Matlab to analyze the sentence structure for text analysis?
I'm not certain if Text Analytics Toolbox does all of what you want but I recommend reviewing the documentation, specifically th...

4 days ago | 0

Answered
out of memory due to ploting
the problem is that the whole program runs out of memory after approx. 40 function calls, i.e. after approx 800 plots. Does thi...

4 days ago | 0

Answered
Matlab grader integration in Canvas
Are you the administrator for your institution or an instructor? In either of those cases, see the appropriate section on this d...

4 days ago | 0

| accepted

Answered
programming a user response for a prompt
No, there's no way to have MATLAB select an entry in a system dialog or type into a search box. [Short of using Java's Robot cla...

4 days ago | 0

| accepted

Answered
How to remove hundreds of columns from a matrix?
a(:, 2:16) = []; a(:, 20:25) = []; Are the second batch of columns you want to delete the new columns 20 through 25 (after t...

5 days ago | 4

Answered
matlab_crash_dump.13999
Because the topmost stack frame refers to a MEX-file: [ 0] 0x00007f150f1f5cce /home/xc/Downloads/Image Stitching with Bundled ...

6 days ago | 1

Answered
Why does it show that the Deep learning toolbox has been installed but it does not show in MATLAB app
According to the Release Notes the Deep Network Designer app was introduced in release R2018b, so I assume you're using an older...

6 days ago | 0

Answered
bitset error for uint64
>> d = 38124631952277504; >> dec2bin(d) ans = '10000111011100100010011010011000101101010100000000000000' >> dec2bin(d+1)...

6 days ago | 0

Answered
What represents the Y-axis in matlab's histogram?
It depends what type of 'Normalization' you've requested the histogram to use. The default is 'count' in which case the Y axis v...

7 days ago | 1

Answered
Formatted string plus list of numbers using sprintf
If you're using a release that supports string convert your numeric vector into a string using string. Next use join to combine ...

7 days ago | 1

Answered
MaxFunEvals fmincon default option
Your code that creates the optimoptions object looks correct though if you're using release R2016a or later you may want to swit...

7 days ago | 0

| accepted

Answered
Histogram from masked area of grayscale picture
When performing indexing, there is a difference between a logical array and a double array containing only 0 and 1. The former w...

7 days ago | 0

| accepted

Answered
Error only in 2012 version
The ability to set property on Handle Graphics objects using the syntax hText.String was introduced in release R2014b as a part ...

7 days ago | 0

Answered
Matlab is not recognizing sections %%
Look for the message indicator in your file in the Editor. See the first picture on this documentation page for the location of ...

7 days ago | 1

Answered
What is the toolbox for kmeans?
The kmeans function is in Statistics and Machine Learning Toolbox (previously the Statistics Toolbox) and has been since at leas...

8 days ago | 0

| accepted

Answered
How to plot 3D line graph?
That looks like a waterfall plot. In the future, you can scan through the list of plots in the Plots tab of the toolstrip for o...

8 days ago | 0

| accepted

Answered
Display Complete output in Command Window
You can expand the size of the Command Window scroll buffer but I'm not sure you're going to be able to expand it enough to show...

8 days ago | 0

Answered
No more activations are available for this user. You may need to deactivate a previously activated computer before you can activate this computer. See Solution 1-6379G9 for more details.
See this Answer from MathWorks Support Team. It describes how to deactivate a license even if you don't have the computer on whi...

8 days ago | 0

Answered
How to set bounds for coefficents when fitting Exponential?
When I tell fitoptions to use the nonlinear least squares fitting method I can successfully create the options object. However w...

8 days ago | 0

| accepted

Answered
Double integration using dblquad not working
The function you pass into dblquad must return a double or single value. It cannot return a sym object. To compute a double inte...

11 days ago | 0

Answered
Use subplot command to make 3+ Vertically Stacked Plots
This question was asked before this function existed, but if you're using release R2018b or later try the stackedplot function.

11 days ago | 0

Load more