Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

5 228 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
Array indices must be positive integers or logical values.
If x only has one element, x(end-1) is an attempt to access element 0 of x. Arrays in MATLAB don't have an element 0. Their firs...

ungefär 6 timmar ago | 0

Answered
How to define these two functions?
The name gamma already has a meaning in MATLAB, and in fact it calculates the function you're trying to evaluate with your anony...

ungefär 6 timmar ago | 1

Answered
How do I calculate this definite integral in matlab
When I encounter a problem integrating, one of my first thoughts is to look at the function I'm trying to integrate over the int...

ungefär 13 timmar ago | 0

Answered
use vector as input
So you want to compute the value of e and the time required to compute that value for each element of n? A couple of suggestions...

ungefär 13 timmar ago | 0

Answered
How to extend the colon operator for my own class
The colon function in MATLAB for numeric inputs does not return an iterator, it returns a vector. See the documentation page for...

ungefär 17 timmar ago | 0

Answered
Invalid Simulink object name: loader &&& xPC:unable to load dependent module FAST_Library_Win32.dll @ MathWorks Support Team
Since you've mentioned MathWorks Support Team in the title of this question, it seems like you're looking for help from Technica...

ungefär 18 timmar ago | 0

Answered
How do you create a composite function in matlab?
f = @sin; g = @cos; % define it two different ways fg = @(x) f(g(x)); h = @(x) sin(cos(x)); % Compare the two approache...

ungefär 18 timmar ago | 0

| accepted

Answered
Comparing elements of one vector with multiple values in a matrix of different size
If the rows in A are sorted and disjoint, this does seem like a job for histcounts. Just ignore the bins representing the spaces...

ungefär 18 timmar ago | 1

Answered
Passing time step from ODE solver (ode23tb) to ODE function
The evaluation of 'blah' depends on all previous steps taken. That sounds like you don't have an ordinary differential equati...

2 dagar ago | 2

Answered
how matlab stores graphics objects?
The Bytes column of the output of whos does not tell the "truth, whole truth, and nothing but the truth" for certain situations....

2 dagar ago | 0

| accepted

Answered
Array indices must be positive or logical values
for i = 1:N j = i+0.5 y(i+1) = y(i) + h*f(x(j), y(j)); end There's no such thing as the 1.5th element of either x or y ...

2 dagar ago | 0

Answered
Standalone application: console blocks program
You may be encountering the behavior described in this Stack Overflow post.

2 dagar ago | 1

Answered
How to increase axis of stem plots
Use the axis function to set the limits.

2 dagar ago | 0

Answered
what kind of license do I need?
I advise you to contact the Sales department and work with them to determine the license configuration that will best meet your ...

3 dagar ago | 0

Answered
Random generator with constraints
A = rand(6, 4); [~, ind] = sort(A, 2)

3 dagar ago | 1

Answered
Using a string to pass input argument to a function
Use comma-separated lists (CSL). The "How to Use the Comma-Separated Lists" section on that page shows both how to use CSL to pa...

3 dagar ago | 1

Answered
How to find eigenvalues and eigenvectors without using built-in functions (Ex. eig)?
Without using any built-in functions? It depends -- do you consider the commands used in MEX-files to be built-in functions? In ...

3 dagar ago | 0

Answered
How can I surface plot a 1000x2 matrix?
What does the data represent? X and Y coordinates of the points? If so where's the Z data? Or do you have a long, thin sheet of...

3 dagar ago | 0

Answered
Symsum returns symbolic expression instead of value
What makes you believe that this summation converges? syms m f = sinh(16*pi*m/3)./sinh(4*pi*m/3); fplot(f, [0 10]) This term...

3 dagar ago | 0

Answered
Single prompt for large set of variables
How huge is the "huge set of variables"? If your function requires the user to enter hundreds or thousands of values, I would ad...

3 dagar ago | 0

Answered
showing hours elapsed not date and time data
How are you importing this data from Microsoft Excel? See if the function or technique you're using to import the data can impor...

3 dagar ago | 0

Answered
computing function with a variable
%{ x0=[1;2;3;4]; d0=[1118,-124,-502,-1090]; F=(x1-10*x2)^2+5*(x3-x4)^2+(x2-2*x3)^4+10*(x1-x4)^4; %} F is not a function. As...

3 dagar ago | 0

Answered
Not enough input arguments
You need to call your function with two input arguments. You've called it with zero or one.

3 dagar ago | 0

Answered
Missing data with a time range
retime your timetable to a regular time basis.

3 dagar ago | 0

| accepted

Answered
Why isn't my code working because of delimeters?
10(t(n)+1) is not valid syntax in MATLAB. You need to explicitly perform the multiplication, 10*(t(n)+1).

3 dagar ago | 0

| accepted

Answered
Change the zeros to ones and the ones to zeros.
Let's look at V after the second and third steps: V = [ 1, 1, 1, 1, 0, 1, 0, 1] V(V==0) = 1 V(V==1) = 0 You want to record w...

4 dagar ago | 0

| accepted

Answered
Values from workspace change
Home is an int8 array. When you combined the int8 data with the double data, the double data was converted to int8. See this doc...

4 dagar ago | 0

| accepted

Answered
The same script works perfectly on Matlab and does not on app designer
My guess is that when you call the function in the Command Window or script you're calling it on scalar data but when you call i...

4 dagar ago | 0

| accepted

Answered
Error using sym/subindex (Bessel function)
syms k t = 0:1:100; rho = 1000; mu = 0.001; dp = 1; R = 0.05; l = 1; ram = besselzero(0,11); Since you haven't showed us...

4 dagar ago | 0

Answered
Error using plot Data must be numeric, datetime, duration or an array convertible to double
Let's look at what you're trying to plot. x=[1680 1190 841 595 420 297 210 149 105 74.4 52.5 37.2 26.3 18.6 13.1 9.29 6.57 4.6...

4 dagar ago | 0

Load more