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

表示方法

回答済み
Creating a variable that denotes a range of values
x = 4*rand(10, 1); edges = (0:0.05:4); y = discretize(x, edges, 'categorical'); results = table(x, y) Or if you want more co...

1日 前 | 0

| 採用済み

回答済み
why I get the error "function 'lsqcurvefit' not supported for code generation" when using Matlab Coder?
Not all functions in Optimization Toolbox support being converted to C or C++ code using MATLAB Coder. In the most recent releas...

1日 前 | 1

回答済み
One hop nearest neighbor in a graph
Find the neighbors of the node in the undirected graph then compute the distances between the specified node and its neighbors. ...

1日 前 | 1

回答済み
Attempt to grow array along ambiguous dimension. How to fix?
This error occurs when you try to assign to an element beyond the last of a matrix but it's not clear what size the resulting la...

1日 前 | 1

回答済み
how to average a vector of arrays in Matlab
Concatenate them in the third dimension then call mean with the dimension input. M = magic(4) E = eye(4) N = ones(4) C = {M,...

2日 前 | 0

回答済み
Change Node & Edges position on Plot
See the "Adjust Properties of GraphPlot Object" example on this documentation page for a demonstration of how to set custom node...

2日 前 | 0

回答済み
Date and times logic
Let's say you had some sample dates with time components. rng default d = datetime(2022, randi(12, 10, 1), randi(31, 10, 1), r...

4日 前 | 0

回答済み
Sum block not giving proper output
Even if both the inputs of sum block are having same value as 2 From the result you described apparently the signals are not bo...

4日 前 | 0

回答済み
Plot x^2+y^2=4
Another way to do this is to use the fcontour function. f = @(x, y) x.^2+y.^2; fcontour(f, 'LevelList', 4) axis equal If you...

4日 前 | 0

回答済み
How to make 3 arrays (Test , Test2, Test3) that are of different lengths into one matrix?
Pad. For simplicity I'm assuming the variables you want to concatenate are vectors, but the general idea is the same if you want...

4日 前 | 1

回答済み
How can i use a "list of variablennames" to calculate something?
I have a list that contains all the variables. The approach you described smells a bit bad. Can you dynamically create or refe...

5日 前 | 1

回答済み
Applying within range function
The withinrange function requires its first input to be a timetable, not a datetime array. You probably want isbetween instead.

5日 前 | 0

| 採用済み

回答済み
Calling MATLAB scripts from a MATLAB standalone executable
No. From the documentation "MATLAB Runtime only works on MATLAB code that was encrypted when the deployable archive was built. ...

5日 前 | 0

回答済み
Matlab App Designer displays an array of numbers when the variable in question is a double
Instead of using an EditField (whose Value property is the text the user entered in the field according to the documentation) yo...

5日 前 | 0

| 採用済み

回答済み
Speeding up fread for random position in big file
Since your data is Big Data (too large to fit in memory all at once) you may want to investigate creating a datastore for your f...

5日 前 | 0

回答済み
Unit test code coverage
Add matlab.unittest.plugins.CodeCoveragePlugin to your test runner as shown on this documentation page.

5日 前 | 0

回答済み
How to use File exchange
Instead of manually downloading the File Exchange submission try using the Add-On Explorer to have MATLAB automatically download...

5日 前 | 0

回答済み
matlab installer key is not working what to do ?
Please create a service request and work with the Technical Support team to determine why the installer is not performing as exp...

5日 前 | 0

回答済み
Checking if columns of matrix are equal to some array
Transpose the matrix and use ismember with the 'rows' option. rng default x = randi([0 1], 10, 3) candidate = [1 0 1] isItPr...

7日 前 | 2

回答済み
out of memory error
The maximum number of rows you can have in a matrix in MATLAB is the second output of the computer function, and you're unlikely...

7日 前 | 0

回答済み
Import data into datetime format
Consider opening the file in the Import Tool. Using this tool you can interactively adjust how MATLAB imports each column of you...

8日 前 | 0

回答済み
How to generate a multi-dimensional array from a vector ?
Let's make the 5-by-5-by-5 multiplication table. x = (1:5).'; maxdim = 3; % Initialize the result to the vector itself res...

8日 前 | 2

| 採用済み

回答済み
Why the result in curve fitting tool shows a different graph in plot?
The values that are displayed are not the same as the values that are stored in the object. The displayed values only show four ...

9日 前 | 1

| 採用済み

回答済み
What is the difference between backward slash vs forward slash in MATLAB?
A=[4,12;6,8]; b=[6,12;14,8]; From the documentation for mrdivide, /, if x = A/b then x*b should be close to A. x1 = A/b chec...

9日 前 | 2

回答済み
retime different variable for different methods
Looking at the documentation page for the retime function, the description of the method input argument states that it must be "...

9日 前 | 0

| 採用済み

回答済み
How do I solve Check for incorrect argument data type or missing argument in call to function 'exp' MATLAB
The command sym fi does not create a symbolic variable named fi in the workspace. You can see this by asking what variables ar...

9日 前 | 1

回答済み
What are "dimension names"?
Let me guess, you're trying to rename the Time of a timetable. dt = datetime('today') + days(1:4).'; t = array2timetable(magic...

9日 前 | 0

| 採用済み

回答済み
Want to weight Histogram entries by value
data = [ 23 2 12 2 85 3 38 3 12 4 09 2 97 4 ]; [V, G] = groupsum...

10日 前 | 0

回答済み
PARFOR is 10X Slower than FOR
Have you tried using the parallel profiler to determine what percentage of the time taken by the parfor code is spent on the act...

12日 前 | 0

回答済み
How to number vertices in a delaunay triangulation in a plot
Let's make a sample delaunayTriangulation and plot it. x = rand(20,1); y = rand(20,1); dt = delaunayTriangulation(x,y); trip...

12日 前 | 0

| 採用済み

もっと読み込む