Community Profile # Steven Lord

### MathWorks

Last seen: Today Active 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

#### Statistics

All
• • • • • • • • • • • • #### Content Feed

View by

How to make this function in Matlab
See the integral function.

1 giorno ago | 0

how to call odefunction from classdef
With the way you've written this at least one of the inputs to ode_function must be a plactice object. ode45 won't call your fun...

1 giorno ago | 0

how to set up a function involving integrals integral bounds
The integral function is for numeric integration. The int function is for symbolic integration.

3 giorni ago | 0

| accepted

improving the creation of subpolygons
Divide visually or computationally? big = polyshape([0 10 10 0 0], [0 0 10 10 0]); p = repmat(big, 5, 5); % Preallocate edges...

4 giorni ago | 0

4 giorni ago | 0

How to use ode solvers inside while/for loops for animation?
If you want to plot the solution of the system of ODEs while it's being solved, use the OutputFcn option in the ODE options stru...

4 giorni ago | 0

How to use multiple function's solutions as variables in other functions
If you need to evaluate the solutions of those ODEs at different times than ode45 returned (which is how I'm interpreting "so th...

5 giorni ago | 0

How to launch the installation of the executable file of matlab in linux ?
Run the install command in that directory ./install Then follow the prompts. If you need assistance understanding any of the s...

5 giorni ago | 0

Create line between plot points
It depends on how you plotted the points. Case 1: you plotted all the data at once with just the markers x = 1:10; y = x.^2; ...

5 giorni ago | 0

Requesting a Networked Named User MATLAB License

5 giorni ago | 0

| accepted

Looping num2str
An easier way to do this is to use a string array. y = 1:4; x = y + " %"

6 giorni ago | 2

count matrix elements in defined intervals by histogram
Use the histogram function (if you want to see the plot) or the histcounts function (if you just want the bin counts.) The 'Norm...

6 giorni ago | 1

make an interactive graphic?
Before plotting the ButtonDownFcn works well but after plotting nothing happen. So you did something like this? ax = axes; ax...

7 giorni ago | 0

| accepted

OOP: too many interactions between different classes
It's going to be difficult to offer any concrete suggestions with this extremely high level description of your system. Class...

7 giorni ago | 0

| accepted

How can I get the alternatives for the functions Not supported by Matlab Coder?
which exist There is no purely MATLAB code equivalent for this. You could probably use file I/O functions in C to check if the ...

9 giorni ago | 0

| accepted

How Can I change function butter ??? Do you have correct scripts?
First let's make sure you're calling the version of the butter function you think you're calling. which -all butter Does this ...

10 giorni ago | 0

New install 2021a not plotting data
Let's make sure you haven't accidentally written or downloaded a function that is taking precedence over the built-in functions ...

10 giorni ago | 0

Is it possible to add fine-grained operator export operations to the "exportONNXNetwork" function in a future release?
Generally we don't comment on whether something requested is planned or being implemented for a future release. [In this case, I...

10 giorni ago | 0

Discrepancy between eigenvalues and eigenvectors derived from analytical solution and matlab code.
syms eb ep t V phi H=[ep+V/2 t*phi; t*conj(phi) eb+V/2] [E,v]=eig(H) Let's check if the elements in E and v satisfy the defin...

10 giorni ago | 0

Sort a table by two conditions when one column is not unique
Do you need to sort the table or do you need the maximum value of F_H_max for each value of POSITION? Those are two different th...

11 giorni ago | 0

Fill a matrix with matrix powers
A = magic(3); AM = {A^0, A^1, A^2}; celldisp(AM) B = blkdiag(AM{:}) You could create AM automatically rather than hard-codin...

11 giorni ago | 0

unshow unnecessary intervalls in a histogramm
x = randn(1, 1e5); h = histogram(x); C = h.BinCounts; E = h.BinEdges; C([30:40 50 60]) = 0; figure histogram('BinCounts', ...

11 giorni ago | 0

| accepted

To know the units of t span used in ode45 command
There is no unit inherent to the t variable used by ode45. Just implement your ODE function correctly for your time units. If y...

11 giorni ago | 2

How do I find the number of hours?
I have a matrix A with dimensions 35000X1 (datetime). There are hours in matrix A. For example, 01:00, 05:00, 17:00, 23:00, 05:...

12 giorni ago | 0

| accepted

Clarification about modifying properties in handle class
In the preceding code, count is empty. That is correct, the default value for that propery is the 0-by-0 empty double array []...

12 giorni ago | 0

| accepted

Hi anyone would help mewith this error 'R_tilde = builtin('subsref',L_tilde,Idx)'
A couple comments / suggestions: syms f(t) cos sin M m1 m2 xddot xddotsq l1 l2 L1 l2 alpha alphadot alphaddot alphadot beta bet...

13 giorni ago | 0

Coding an if statement within MATLAB function
Define y on all the execution paths. Consider this example: q = myfun(5) function out = myfun(x) if x < 1 out = 2; else...

13 giorni ago | 0

How to add a specific path to Matlab in -batch mode?
For your first question, if you know you're always going to want this directory on the MATLAB path when you start your batch job...

13 giorni ago | 0