Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4,435 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 バッジ

  • 36 Month Streak
  • Personal Best Downloads Level 2
  • Editor's Pick
  • 5-Star Galaxy Level 4
  • First Submission
  • Ace
  • Revival Level 3
  • Thankful Level 3
  • Knowledgeable Level 4
  • First Answer
  • Scavenger Finisher
  • Solver

詳細を表示...

貢献した分野
表示方法

回答済み
How to change properties of several plots simultaneously?
x = 0:360; y1 = sind(x); y2 = cosd(x); figure h1 = plot(x, y1); figure h2 = plot(x, y2); set([h1, h2], 'Marker', '^',...

約8時間 前 | 1

回答済み
I want to produce square wave without using square function, but this code it showing error, "illegal use of IF keyword". How to rectify it?
In some languages (like C) you need to use {} around sections of code (like the bodies of for loops or if statements.) MATLAB is...

約11時間 前 | 0

回答済み
scatter plot with color dependent on variable.
Use the c (usually the fourth) input when you call scatter. See the "Vary Circle Color" example on the documentation page. You w...

約11時間 前 | 0

回答済み
How to fill a cell with function handles using iteration numbers?
c = (1:10).^2; G = cell(size(c)); for whichElement = 1:numel(c) G{whichElement} = @(x) c(whichElement)*x; end Yes, when...

約13時間 前 | 0

| 採用済み

回答済み
For loop optimization in matrix operations
You don't need to loop to generate the values that you multiply by +1i or -1i and pass into exp. % Sample data x = randn(4, 5,...

約14時間 前 | 0

回答済み
Why is it that the breakpoint does not work?
The body of a parfor generally doesn't run in the MATLAB session in which you're running the parfor. As stated in the "Test parf...

約15時間 前 | 0

回答済み
MATRIX INVERSION TAKING FOREVER TO RUN
In general, you should not invert matrices. I suspect you're trying to work symbolically in which case you absolutely should not...

約16時間 前 | 0

回答済み
Index into 32 bit word to extract relevant data
Use the bit-wise operations functions or use rem, mod, subtraction, and division.

約16時間 前 | 0

回答済み
Saving all Superclass properties inside one subclass property
Should FeatureDatabase inherit from Feature (be a Feature?) Or should FeatureDatabase have a property that contains an array of...

約17時間 前 | 0

| 採用済み

回答済み
Can third party extract code from standalone desktop app developed using app designer matlab?
When you use MATLAB Compiler, the code is compiled into an archive that is encrypted using AES. I am not aware of any computatio...

約18時間 前 | 1

回答済み
Call vector by key
Depending on what else you want to do with this data, storing it in a timetable may be useful. Using one of the examples on the ...

2日 前 | 0

回答済み
rand() gives the same values in each run
Are you initializing the random number generator with rng too frequently or in the wrong place in your code flow?

2日 前 | 0

| 採用済み

回答済み
matrix component algebra with digraph
R = randi([0 1], 10) D = digraph(R); OD = outdegree(D) R./OD Be careful of the case where one or more of the nodes has outde...

3日 前 | 0

回答済み
objects of one class into another class
Your clwinding class is syntactically valid. Your clloss class, on the other hand, has some conceptual errors. I'm going to mak...

7日 前 | 1

回答済み
How to store objects from different classes in one array and call the same function (definitions are different)?
See this documentation page for how to implement your classes so you can create a heterogeneous array. By the way, I recommend ...

7日 前 | 0

回答済み
Once I have downloaded R2020a of MATLAB on my windows pc, it won't let me run the application. What could be the issue? (I have uninstalled it and re downloaded it)
If you open the matlab_crash_dump files, there should be a note at the end that tells you how to send that file to MathWorks. If...

7日 前 | 0

| 採用済み

回答済み
How can i get an activation key ? the matlab program does not open with out the activation key , please help me to get a solution for this problem? my work based on matlab program
When you bought the software you should have received the instructions and information you'll need to install the software, most...

7日 前 | 0

回答済み
How to skip '.' and '..' directory while looping over files in a folder?
You probably don't want to filter just '.' and '..', you probably want to filter all directories. You also shouldn't assume that...

8日 前 | 0

回答済み
Error using 'Save' including quotation marks around variables
My guess is filename is a cell array containing a char row vector. x = 1:10; thefile = 'data571924.mat'; save(thefile, 'x') %...

8日 前 | 0

回答済み
Not enough input arguments
I suspect you've written or downloaded a sym.m that's taking precedence over the one included in Symbolic Math Toolbox. In my in...

8日 前 | 0

回答済み
Best way to present histogram with different realisation number
In the "Plot Multiple Histograms" example on the documentation page for histogram, we show one way to give two histogram objects...

8日 前 | 0

回答済み
Polyfit 4th degree unexpected behavior
It looks to me like tp(:, 1) is not sorted. You can check this with issorted. If it's not sorted, MATLAB may draw a line from ar...

8日 前 | 2

回答済み
How to set the terminal condition of the Matlab built-in function roots?
You don't. roots builds the companion matrix and computes the eigenvalues of that matrix. I can't see the context before that s...

8日 前 | 0

| 採用済み

回答済み
What is the largest number of rows of a matrix that Matlab can handle?
The theoretical limit is the number returned as the second output of the computer function. The practical limit is based on how...

8日 前 | 0

回答済み
Creating a built in function?
You cannot add a built-in function to MATLAB like we at MathWorks can. But you can make the MATLAB scripts, functions, and/or cl...

8日 前 | 2

回答済み
how to create a table in Matlab ?
In release R2016b (the release with which this answer was marked) table variable names must be valid MATLAB identifiers, which m...

8日 前 | 0

回答済み
Appending arrays of different length
Use datetime, hours, and the colon operator : to build your array of dates and times all at once. Note that when doing so you wi...

9日 前 | 0

回答済み
Adding a folder when building an standalone application
You cannot have a standalone application run code that was not compiled into the application when it was created. From the docum...

9日 前 | 0

回答済み
How can I use some downloaded function?
Where on the MathWorks website did you download the files? If you downloaded them from the File Exchange, I recommend using the ...

9日 前 | 1

回答済み
Advice needed with the dateshift function
N = datetime('today') W = dateshift(N, 'dayofweek', 'Wednesday') S = dateshift(N, 'dayofweek', 'Sunday') answer = min(W, S)

9日 前 | 0

Load more