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
  • Treasure Hunt Participant
  • Scavenger Finisher
  • Thankful Level 4
  • Master
  • Solver
  • Personal Best Downloads Level 2
  • Editor's Pick
  • 36 Month Streak
  • 5-Star Galaxy Level 4
  • First Submission
  • Revival Level 3
  • Knowledgeable Level 4

View badges

Content Feed

Answered
Shortkey to open previous Editor tab?
Opening the Preferences, selecting the Keyboard > Shortcuts entry under MATLAB, and searching for "tab" found the Previous Tab a...

11 hours ago | 0

Answered
switching from 2013b VERSION TO 2020. Accessing figure handle from plot command
Prior to the major graphics changes in release R2014b legend created an axes. As of release R2014b it now creates a legend objec...

22 hours ago | 0

Answered
Simple xline with all options
From the documentation, note that labels comes after the LineSpec but before any name-value pair arguments as stated in the four...

23 hours ago | 0

Answered
Can i get a trial extension, i will have money soon, am out now., early November.
Please contact Customer Service with this request.

23 hours ago | 0

| accepted

Answered
making repetitive code less clunky
I would try using discretize to bin the data into groups then use groupsummary to compute the max on each group.

23 hours ago | 1

Answered
Write a function taking three variables as input and returning the minimum of them. i've tried doing this-
See this section of the documentation for instructions on how to create a function with input and output arguments in a file.

23 hours ago | 0

Answered
Out of memory. The likely cause is an infinite recursion within the program. Error in resample1 (line 6) y = resample1(x, type, shift, extmod);
I'm not familiar with this third-party Contourlet Toolbox (you may need to talk to the author of that toolbox for help) but this...

2 days ago | 0

Answered
Incorrect use of '=' operator. Assign a value to a variable using '=' and compare values for equality using '=='.
-dcdt(2)=(1/theta(7).*dcdt(1))+(1/theta(8).*dcdt(3))+(theta(9).*c(1)); Assigning to element 2 of the variable dcdt is allowed. ...

2 days ago | 0

Answered
Is there an alternative to eval in a struct?
For most of what you're trying to do you could use setfield. subject = {'subj_1','subj_2','subj_3'}; runs = {'rest','task1','t...

4 days ago | 0

Answered
why do I get this error? Indexing
I'm guessing you have: A = duration([1; 2; 3; 4], [5; 6; 7; 8], [9; 10; 11; 12]) C = {'03:07:11'; '01:06:12'} You can't use C...

4 days ago | 0

Answered
Deleting from an array
See this documentation page for examples of deleting rows or columns from a matrix.

4 days ago | 0

Answered
Sort in descending order without using built-in sort function
Your code does not satisfy the requirements of the assignment. The problem statement says: Create a function file that accepts ...

4 days ago | 0

Answered
Solving a tridiagonal matrix in matlab using Thomas algorithm
Is there a particular reason you need to solve this using that specific algorithm? Try using the normal backslash operator (\).

4 days ago | 0

Answered
from a circle to polygon
As @Scott MacKenzie stated, you can approximate a circle as a many-sided regular polygon. The nsidedpoly function will create su...

5 days ago | 0

Answered
Change sympref with shortcut line of code
You could create a simple function to change the preference. You could even have that function retrieve the current value and se...

5 days ago | 0

| accepted

Answered
does anyone know how to solve this?
Since this is for an exam we can't give you the solution. Each of those three equations are differential equations so the tools ...

5 days ago | 0

Answered
Matlab2020a version of optimization tools does not have a genetic algorithm toolbox
In order to use solvers from Global Optimization Toolbox in optimtool you need Global Optimization Toolbox installed and license...

5 days ago | 1

Answered
What is the alternative of HARQEntity() function in MATLAB 5G-Toolbox R2021b in 5G-Toolbox R2021a
Re: upgrading, are your current on your software maintenance?

6 days ago | 0

| accepted

Answered
How do I install Matlab on Linux Mint
You've completed step 1 of the three steps on the Installation and Licensing documentation page. Continue with steps 2 and 3. A...

6 days ago | 0

Answered
How can I compute the following triple integral for a function handle that is expressed by x(1), x(2), x(3)?
integral3 requires the function handle you pass in as the first input to accept three input arrays and return an output array of...

6 days ago | 0

| accepted

Answered
How could I graphic a matrix AxBxC
How do you want the picture of your 3-dimensional array to look? If there's a picture from a book or article that you're trying ...

6 days ago | 0

Answered
Please help me to look at the code below. Thx
Change the name of the output variable on line 15. When a variable named min exists you will not be able to call the min functio...

7 days ago | 0

| accepted

Answered
please help me, this is my preliminary exam but may prof did not teach this to me. thank you
Since this is an exam question I won't provide you with the answer, but I will point you to the section of the documentation tha...

7 days ago | 0

Answered
Make an Histogram with 24 bars
The histogram function can operate on datetime and duration arrays. Here's an example using datetime; you should be able to adap...

7 days ago | 0

Answered
Problems with function num2str
If you want to convert a numeric array to an array of text where each element of the numeric array becomes its own element in th...

7 days ago | 0

Answered
How do i fix line13; Parse error at'=': usage might be invaild Matlab syntax? why it gives error ?
If you want to call max with two output arguments you need to combine lines 12 and 13 together and add square brackets. Use this...

7 days ago | 0

| accepted

Answered
I am a single person business; may I install Matlab on my laptop computer as well as my desktop computer on the same license?
For an official answer to licensing questions, please contact Customer Service and/or your sales representative. Depending on w...

8 days ago | 0

| accepted

Answered
how to plot each bin of data individually?
Can you tell us which of the thumbnail pictures for the plotting functions included in MATLAB look closest to what you want to p...

8 days ago | 0

Answered
Please help me an error occur
Let's look at each of the terms you're trying to concatenate together. term1 = 1:5 term2 = 6:-0.2:5.2 term3 = [13 4 - 3 1 30]...

8 days ago | 1

Answered
turn code into a class???
A function accepts input arguments and returns output arguments. What do you want your function to accept as inputs and what do ...

9 days ago | 0

Load more