Community Profile

photo

Steven Lord

MathWorks

Last seen: Today 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 5
  • 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 5

バッジを表示

Content Feed

表示方法

回答済み
Cronometer comparation for rally
I wouldn't use datetime here. Since your times are in units of seconds I'd probably store that data as a duration array instead....

約3時間 前 | 0

回答済み
How to filter table rows according different conditions?
You can do this using ismember or (depending on your conditions) some of the string processing functions like matches, contains,...

約8時間 前 | 1

| 採用済み

回答済み
MATLAB 2022b installation corruption
After rebooting my PC, the entire account was reverted to Windows start-up, like the day Windows was installed. That obviously ...

約8時間 前 | 0

回答済み
Can someone help with error "index exceeds number of array elements"? I attached image as to what it needs to look like..
The root cause of the problem is that the variables top and integration aren't the sizes you think they are. You may think the l...

約19時間 前 | 0

回答済み
isbetween function not working with any 'intervalType'
From the Release Notes it appears the ability to specify an interval type was introduced in release R2021b.

約21時間 前 | 0

| 採用済み

回答済み
How do I fix this "Array indices must be positive integers or logical values error?"
I have comments on a couple of lines in your code. % Diodecurv.m % Diode exponential curve matching and plotting % % Plots m...

約21時間 前 | 0

回答済み
How to create a for loop with a set of variables
Can you dynamically create variables with numbered names like h1, h2, h3, etc. and refer to those variables dynamically in code?...

約22時間 前 | 0

回答済み
fail to convert datetime with pm string
s = '2022-09-30 16-01'; In the InputFormat option for the datetime function, 'hh' refers to "Hour, 12-hour clock notation using...

3日 前 | 0

| 採用済み

回答済み
Create subclass but doesn't need 1 superclass property
Ignore the fact that the superclass has the property by not using it in any of the subclass methods. Split the superclass into ...

3日 前 | 0

回答済み
Issue with moving from hist() to histogram(). Different values?
As stated on this documentation page the hist function operates with bin centers while histogram operates with bin edges. If you...

3日 前 | 0

回答済み
X axis tick labels
The function for setting the X ticks on an axes is xticks not xtick. It is not a method of the axes object so you need to call i...

4日 前 | 0

回答済み
Round to nearest ones place value ex ante
theRange = [3700 3705]; x = randi(theRange, 10, 1); closer = interp1(theRange, theRange, x, 'nearest'); Let's show the result...

4日 前 | 0

回答済み
How to write a script to test central limit theory
Im pretty new to matlab and am unsure of how write a script that calls to my funtion. I have a function written but I am also un...

4日 前 | 0

回答済み
Error when using str2func: "Invalid expression. Check for missing multiplication operator, missing [...]"
Let's look at the first part of your text. @(X,Y,var)8,var(65),var(57)0,var(57)1,var(57)2,var(57)3,var(57)4,var(57)5)(var(57)5....

4日 前 | 0

回答済み
How to save workspace in stages while optimizing disk space
How are you loading your data? Are you calling load with an output argument or without? If you called load with an output argum...

4日 前 | 0

回答済み
Using Matlab as a variable name
There is a package named matlab that some functionality in MATLAB uses (such as the unit testing framework matlab.unittest packa...

4日 前 | 1

| 採用済み

回答済み
Add Text Subscript to Table string
You don't. The text in the table doesn't have any sort of formatter or interpreter associated with it; it's a collection of char...

5日 前 | 0

回答済み
Problem with function handle array evaluation
Define two helper functions: apply = @(fun, x) arrayfun(fun, x, 'UniformOutput', false); stack = @(x) vertcat(x{:}); Now let'...

5日 前 | 0

| 採用済み

回答済み
Error about preallocating for speed
Those lines of code don't error. When Code Analyzer analyzes your code it issues a warning about those lines indicating that the...

5日 前 | 0

回答済み
i need help with the matlab assigment i have done all the part but i just need to store them in vector and display the user output number and all its divisors in a meaningful
sum = 0; You should use a different name for this variable, as sum already has a meaning in MATLAB. x = input ( 'please input ...

6日 前 | 0

回答済み
I am not able to get the answer for the following code, I am using golden search section method.
You define a function named gss but you never call that function. Also, I would remove the first three lines of your code. clc...

6日 前 | 0

回答済み
How make the number of columns of two matrices equal?
There are a number of possibilities. Off the top of my head: You could discard 1100 columns of the second matrix (the first 110...

6日 前 | 0

回答済み
Unrecognized function or variable 'sum'.
It seems that matlab is trying to evaluate sum as a variable instead of a function. That is correct, because in the method it i...

6日 前 | 0

回答済み
How do I solve a triple integral with one integral limit in function of another variable
See the "Integral over the Unit Sphere in Cartesian Coordinates" example on the integral3 documentation page for an example of h...

6日 前 | 1

回答済み
GUI crashes when using eigs with a nonzero shift on a large generalised eigenvalue problem.
Please send the crash log file along with the code and data with which you can reproduce the crash to Technical Support directly...

6日 前 | 0

回答済み
How to plot data point by point and erasing the last one?
Instead of creating two new scatter plots each step (one to cover the previous point in white, the other to create the new point...

7日 前 | 0

回答済み
Rounding towards zero or from zero
The tiebreaker methods only apply when the quantity to be rounded is halfway between the two numbers to which it could be rounde...

7日 前 | 0

回答済み
How do I pick a number from a set of random numbers?
Since I suspect this is part of a homework assignment I'm not going to give you the answer, but I will point you toward two func...

8日 前 | 0

回答済み
Efficient way to solve an equation in MATLAB
Solve numerically using fzero. Here I've written a function handle that itself makes function handles. I can pass that generated...

8日 前 | 1

| 採用済み

回答済み
How to find parent uifigure for a child several layers down
Use ancestor. >> f = uifigure; >> h = uipanel('parent', f); >> f2 = ancestor(h, 'matlab.ui.Figure'); >> f == f2 ans = ...

10日 前 | 1

| 採用済み

もっと読み込む