Community Profile

photo

Steven Lord


Last seen: Today

MathWorks

4.877 total contributions since 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 Badges

  • 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

View details...

Contributions in
View by

Answered
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))); ...

alrededor de 3 horas ago | 0

Answered
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.

alrededor de 7 horas ago | 0

Answered
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...

alrededor de 8 horas ago | 0

Answered
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')...

alrededor de 13 horas ago | 0

Answered
How can I create bins in Matlab using predefined counts?
histogram('BinEdges', [2, 4, 6, 8], 'BinCounts', [20, 5, 13]);

1 día ago | 0

| accepted

Answered
Function keeps getting errors, how to fix?
What is the full and exact text (everything displayed in red and/or orange in the Command Window) of the error and/or warning me...

1 día ago | 1

Answered
How can I get the solve function to display values instead of solutions containing other variables?
syms d D N_a D_od = 1.9; %outer diameter of coil C = 7; eqn1 = (D_od-d)/d == C; solve(eqn1,d) This second line of code solv...

1 día ago | 0

| accepted

Answered
I am not able to use the function minibatchqueue. I get the error as "Unrecognized function or variable 'minibatchqueue'."
According to the documentation page this function was introduced in Deep Learning Toolbox in release R2020a. Do you have this to...

1 día ago | 0

Answered
2016b installtion problem
What happened when you tried pressing Yes? If that still did not work, you may want to try restarting the installer in case tha...

1 día ago | 0

Answered
How and when can future versions of the custom deep learning layer improve flexibility?
If you wish to request that the custom deep learning layer functionality be enhanced with specific functionality (like the abili...

1 día ago | 0

| accepted

Answered
Arg max of a function
The operator + does not and cannot return two output arguments. Nor can its functional form, plus. As a hint, take a look at th...

2 días ago | 1

Answered
Creating a Matrix of random numbers
possibleValues = [-1, 1]; desiredSize = [5 6]; A = possibleValues(randi(numel(possibleValues), desiredSize)) This assumes you...

2 días ago | 2

Answered
My polyfit function is displaying NaN
There are at least three potential difficulties with your code. The first difficulty is that you're passing log10 of the Displac...

3 días ago | 0

Answered
Draw a heptagone of dice vertices. MATLAB.
polyshape, patch, or plot are three possibilities depending on what you want to do later on with the polygon.

3 días ago | 0

Answered
How do I throw an error from TimerFcn?
The TimerFcn is running at the same time as MATLAB is executing the try / catch block but it's not executing "inside" the try / ...

3 días ago | 0

Answered
I'm keep having an error 'Not enough input arguments' for this code
Others have commented on the fact that you need to call your function with an input argument. I want to point out a different pr...

3 días ago | 0

Answered
discrepancy in date conversion
See the description of the dateType input that you can pass into datetime on the documentation page for datetime, specifically t...

3 días ago | 0

Answered
create multiple separate vectors from a For loop
Rather than creating several different variables with numbered names or even a cell array, I'd prefer to create an array. nside...

4 días ago | 0

Answered
How to change exponentiation
Change the display format. format % default which is "format short" e = [5.45894e-6, -1.875e-5, 6.25e-6; ... -1.875e-5, 1...

4 días ago | 0

Answered
I can't get millisecond accuracy from string based timestamp - not sure what I'm doing wrong
If you don't have date information associated with your timestamps, I would use duration instead of datetime. S = ["11:00:00.14...

4 días ago | 0

Answered
why do I have unrecognized function error for z?
What should the value of z be if buff is none of "none", "30min", or "60min"? What if buff was "30 minutes", for example?

4 días ago | 0

Answered
Cannot call INPUT from EVALC
You cannot call input from within evalc. I believe this is the expected behavior. evalc would prevent the prompt text from input...

4 días ago | 0

Answered
How to disable the TAB to get into an EditField box (R2020b)?
Try setting its Enable property to 'on' and its Editable property to 'off'. See the pictures in the description of the Editable ...

4 días ago | 0

Answered
Converting UTC time to seconds
s = '12:34:56.789'; formatSpec = 'hh:mm:ss.SSS'; d = duration(s, 'InputFormat', formatSpec, 'Format', formatSpec)

4 días ago | 1

| accepted

Answered
Local Function not being Entered
You define the local function RPM1 in your script file, but you never call RMP1 inside your script file. MATLAB does not automat...

5 días ago | 0

| accepted

Answered
Keep strings seperated in array
s = struct('abc', {'def', 'ghi', 'jkl'}) charVec = [s.abc] cellVec = {s.abc}

5 días ago | 0

Answered
Area of Circle syntax error
If that's the actual code your teacher gave you, they played a bit of a trick on you. [I assume the missing ' before s was a cop...

5 días ago | 0

Answered
How can i convert Matlab code to hdl code
See HDL Coder. Not all functions have the capability to have HDL code generated for them. See this list for functions that do.

5 días ago | 0

| accepted

Answered
How to fix my code for ode45
I'm guessing you've defined a variable named ode45 that's preventing you from calling the ode45 function included in MATLAB. To ...

5 días ago | 0

Answered
Is there a way to use symbolic functions in ode45
You could make your function accept additional parameters. Then you could specify a function handle as that additional parameter...

5 días ago | 1

Load more