Community Profile

# 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

All

배지 보기

#### Content Feed

보기 기준

답변 있음
code fft for matlab function block
Are you sure you intended to take the fft of the input argument S? From the error message that input is a scalar (or a length th...

1일 전 | 0

답변 있음
How to label nodes in a plot?
This matrix looks similar to the one from one of your previous questions. If that's the case, and you plotted the graph object, ...

1일 전 | 0

답변 있음
Does the current Symbolic Math Toolbox still use the MuPAD as its underlying implementation?
What was removed was the MuPAD Notebook interface, not the symbolic computation engine. Is there a specific reason you are inte...

1일 전 | 0

답변 있음
Execution of script image as a function is not supported
You've likely created your own image.m file that's taking precedence over the image function included in MATLAB. To check this r...

2일 전 | 0

| 수락됨

답변 있음
using matchpairs when objects have different capacities
You could duplicate rows or columns in the matrix you pass to matchpairs to reflect that "multiple copies" of the object to be m...

2일 전 | 0

| 수락됨

답변 있음
what does this error mean?"Array formation and parentheses-style indexing with objects of class 'matlab.io.datastore.ImageDatastore' is not allowed"
A datastore array must be a scalar (a 1-by-1 array.) You can't make an array of them, so where you attempt to index into it MATL...

2일 전 | 0

답변 있음
How to draw a network of nodes in circular formation with links between nodes in MATLAB?
Use the Graph and Network Algorithms functionality included in MATLAB once you've corrected your adjacency matrix. A= [-1 -1 0 ...

2일 전 | 0

| 수락됨

답변 있음
How would I remove multiple specific elements from an array.
I would use the rmoutliers function with the "quartiles" method. Data = [923 916 932 927 908 931 953 926 919 963]; g2 = sort(r...

3일 전 | 0

답변 있음
How can I choose an element from a vector according to its probability ?
t=0.1;Ang_1 = [10 20 30 45 80];% this vector of options Since your for loop had invalid syntax and you don't use what I suspect...

3일 전 | 2

| 수락됨

답변 있음
Read in matrix for multiple steps while changing string
time = [0, 10, 20]; files = "temperature_" + time + ".txt" Now you could iterate over the elements of the files string array.

3일 전 | 0

| 수락됨

답변 있음
In an array xy=[x y], reduce array length by assigning average values of y based on a predefined range of x
Use findgroups or discretize to bin your X data into groups then use splitapply or groupsummary to calculate the @mean for each ...

4일 전 | 0

답변 있음
How to avoid creating lots of variables from calculation from a table
If all the variables you want to add to the table array are the same type, create one array and use array2table or (given that y...

4일 전 | 0

| 수락됨

답변 있음
How can I make a variable matrix?
You could do this: syms U [7 1] U But be careful what you name your variable. Note that not only is U created but so are U1, ...

4일 전 | 0

| 수락됨

답변 있음
How to make scatter plot with varying point sizes and hues on
See the entries in the Syntax section on the documentation page for the scatter function that include the sz (size) and c (color...

4일 전 | 1

답변 있음
Function unrecognized even with the addon installed.
Try updating the toolbox path cache using one of the sets of instructions in the last two sections on that documentation page. I...

4일 전 | 0

| 수락됨

답변 있음
How do I open Matlab runtime (free version) after installing it on Windows?

5일 전 | 0

| 수락됨

답변 있음
convert array string data in array serial number
Unless you're using an older release where it is not available I strongly recommend you use datetime instead of serial date numb...

5일 전 | 1

답변 있음
Inconsisent(?) behaviour of str2num() with a particular usage
If you want to evaluate the Static empty method of your class, don't use eval or str2num. Use feval or str2func. classname = "s...

5일 전 | 2

답변 있음
seems like a handle class nesting bug
Not a bug. See the "Handle Objects as Default Property Values" section on this documentation page for an expanation and an alter...

6일 전 | 0

답변 있음
SVD functions have different results
The values ​​are correct but the signs are wrong. That is not the correct way to say it. The signs are different but if you ch...

8일 전 | 2

답변 있음
why are the names not being saved as written? Why do i get this error each time? Also why is the legend wrong? please fix this so i can verify my code is working as intended.
Which line of code is actually part of your program? The line from the error message: save('featuresLD2.mat', 'features1SEM'); ...

8일 전 | 0

답변 있음
I will like to know what is the problem with my "iterate" function and how to solve it
A search for functions named iterate on the MathWorks website found only two hits on the first couple pages of results. The firs...

8일 전 | 1

답변 있음
why does an error that says "Line 31: The operation or expression 'plot( [t,delta_h]);' has no evident effect." appear when trying to plot
You cannot call the plot function while a variable named plot exists in the workspace. Your attempts to do so are treated by MAT...

9일 전 | 0

답변 있음
Help in calculating the error.
Can you use variables with numbered names like a1, a2, a3, etc.? Yes. Should you do this? The general consensus is no. That Ans...

9일 전 | 0

| 수락됨

답변 있음
Problem finding "valleys" in signal
Have you tried using islocalmin on your original data rather than findpeaks on the "flipped" data?

9일 전 | 0

답변 있음
I would like someone to build me a SABR Swaption Pricing Model for a fee
You may want to contact the MathWorks Consulting department and discuss with that group your needs and what would be required to...

10일 전 | 0

답변 있음
private variables in a matlab GUI
Before you enter the loop, by the way you've defined it the results property of the app is a double array. You can't assign a st...

10일 전 | 0

답변 있음
If by "the question abobe[sic]" you mean this question then note the first line of the accepted answer: "License Administrators...

10일 전 | 0

| 수락됨

답변 있음
Long running time with loops, is it possible to cancel the loops?
Let's look at the number of iterations you perform in each loop. Pulling out appropriate sections of your code to define the var...

11일 전 | 0

답변 있음
How to Create an initial state vector for a single qubit using quantum circuit
Are you trying to use the MATLAB Support Package for Quantum Computing or some other package for quantum computing? If the forme...

11일 전 | 0