Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4,903 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 배지

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

세부 정보 보기...

참여 게시물
보기 기준

답변 있음
Changing version of Python in MATLAB
See the "Set Python Version on Mac and Linux Platforms" section on this documentation page.

20분 전 | 0

답변 있음
Syms function no longer works in a for loop which stores data
If you try to do something like the following: %{ syms x F = 0; F(2) = x; %} What numeric value should be stored in F(2) a...

27분 전 | 0

답변 있음
Getting Error message when using backslash operator
You've posted the dydtsys_practice function that implements the right-hand side of your system of ODEs, but to solve the system ...

약 15시간 전 | 0

| 수락됨

답변 있음
How to find the inex of a randomly chosen element of an array
Start off generating the index and use it to extract the element. a = [4 8 15 16 23 42]; I = randi(numel(a)); fprintf("Elemen...

약 15시간 전 | 2

답변 있음
Timestamp to Decimal day of year
dt = datetime('now', 'TimeZone', 'EST') startOfYear = dateshift(dt, 'start', 'year') fractionOfYear = years(dt - startOfYear) ...

1일 전 | 0

답변 있음
Imagine a dice tetra-brick (four faces: 1, 2, 3, 4) with the following probabilities [0.5, 0.2, 0.2, 0.1] . Let Y be the Random Variable that simulate the output of rolling the dice.
Use histcounts or histogram. Alternately if this is part of a homework assignment and you're instructed not to use those functi...

2일 전 | 0

답변 있음
How can I define the variable handles for this code. A is a numerical value not text "Undefined variable handles or class "handles.A"
Generally speaking, usually code that involves a struct array named handles is part of a GUI created using GUIDE. If you're tryi...

2일 전 | 0

답변 있음
Simple, but stumped. Using 'xline' to create animated "play marker" across waveform plot.
Rather than deleting and recreating the line, change its properties. % Define the data x = 0:360; y = sind(x); % Create th...

2일 전 | 1

답변 있음
The fix(x) command does not work
Just because a number is displayed as 1 in the default display format does not mean that the stored value is exactly 1. It's clo...

3일 전 | 0

답변 있음
How to replace all newline characters in a string with a space?
Since this sounds like it may be a homework assignment, I'll only give a hint. There's one function in the "Create, Concatenate,...

3일 전 | 0

답변 있음
Checking if a value is equal to zero or no ? with the problem of floating-point numbers !
Testing for exact, down-to-the-last-bit equality with == can be problematic. Instead, the general recommendation is to check for...

3일 전 | 0

답변 있음
Help With Conditonally variant Anonymous function.
Let's say val is 2. So if Z is between 1 and 500 B2 should be -2, if it is between 501 and 1500 B2 should be 2, and if it is bet...

4일 전 | 0

답변 있음
How do I call a function which I have defined within a class?
When you call a non-Static method of a class, at least one of the inputs to that method must be an instance of that class. With ...

5일 전 | 1

답변 있음
Different results with same code??
m_s = 2000; %(kg) Sprung mass m_u = 200; %(kg) Un-sprung mass k_s = 200000...

5일 전 | 0

답변 있음
Creating M histograms from an NxM table on separate plots
A = 2*randn(1e4, 6) + 5*(0:5); T = array2table(A); for k = 1:width(T) subplot(2, 3, k) histogram(T{:, k}) end Note...

6일 전 | 1

답변 있음
Operands on table, comparison with numbers
say I fix one of the row indices " ind" .If I try say find(A(ind,:)>0.1) I get the error : "Operation '>' not supported for oper...

6일 전 | 0

| 수락됨

답변 있음
How to extract rows based on column values in a matrix?
This wasn't an option when the question was asked originally but depending what you're trying to do with those "3 matrices", usi...

6일 전 | 0

답변 있음
Matlab 2020b does not find Xcode Mac OS Big Sur
I would try following the instruction in the warning message. Run Xcode (outside of MATLAB) and when it prompts you to accept th...

6일 전 | 0

답변 있음
Create new column in table based on another column value
Let's start with a sample table. T = table([123; 345; 234], [9; 1; 3], 'VariableNames', ["ID", "Occurrences"]) Fill in the Uni...

6일 전 | 0

| 수락됨

답변 있음
Sorting time in 1 hour time slots.
minutesPerDay = minutes(days(1)); m = minutes(randi(minutesPerDay, 100, 1)); n = datetime('now'); t = n + m; h = histogram(t...

7일 전 | 0

답변 있음
Generalized Eigenvalue Problem - Hessenberg Matrix
It sounds like you might want to use the syntax of eigs whose first input is Afun, a function handle that returns the result of ...

7일 전 | 0

답변 있음
Error using inputdlg: dialogs disabled
Line 2 of the inputdlg function included in MATLAB is a comment describing the function. Therefore you have written or downloade...

8일 전 | 0

답변 있음
Creating a symbolic array
If you want an array of q's: syms q A = repmat(q, [5 5])

8일 전 | 0

답변 있음
Installing matlab 2019 on windows
Searching using Google for "exec error 22" found this MATLAB Answers post that appears to be relevant.

8일 전 | 0

답변 있음
I can't create a graph from the adjacency matrix
I suspect you've created a digraph object and stored it in a variable named graph, which will prevent you from calling the graph...

8일 전 | 0

| 수락됨

답변 있음
How to find minimum value ,correspondings to a column ,in an output ?
The second output from the min function will help you retrieve the corresponding element of x.

8일 전 | 0

| 수락됨

답변 있음
tan verses tand error in loop
phi_o(i) = (atand((0.5*g*t(i).^2*((1/3)*(2*sqrt(Vx(i)/Vx_o)+1)))/x(i))); ...

9일 전 | 0

| 수락됨

답변 있음
How to get a function from user without knowing its symbols
The symvar and str2sym functions listed (along with many others) on this documentation page may be of interest to you.

9일 전 | 0

| 수락됨

답변 있음
how do I right x^2 in MATLAB
To raise a square matrix to a power use the ^ operator. To raise each element of an array (the array need not be square or even...

9일 전 | 0

답변 있음
Why is line visible while its parent axes is unvisible?
Because the line has its own Visible property and that property's value is 'on'. fig = figure; ax = axes(fig, 'Visible', 'on')...

9일 전 | 0

Load more