Community Profile

photo

Star Strider


Last seen: Today
13 801 total contributions since 2012

Hic sunt dracones!

PROFESSIONAL: Physician (M.D.): Diplomate of the American Board of Internal Medicine; M.Sc. Biomedical Engineering: Instrumentation, Signal Processing, Control, System Identification, Parameter Estimation

NON-PROFESSIONAL: Amateur Extra Class Amateur Radio Operator; Private Pilot, Airplane Single Engine Land, Instrument Rating Airplane; Gamer

NOTE: I do not respond to emails or personal messages, unless they are about my File Exchange contributions.

Contact

Star Strider's Badges

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

View details...

Contributions in
View by

Answered
How to solve an ODE system with time-dependent variables in MATLAB?
One method of doing that is in ODE with Time-Dependent Terms using linear interpolation. However to do that you would have to p...

environ 2 heures ago | 0

Answered
Matlab error "Matrix dimensions must agree"
Integrating an array, set 'ArrayValued' to 'true': By = pz .* BiotSavart .* integral(fy,0,2*pi, 'ArrayValued',1); Bz = BiotSa...

environ 14 heures ago | 0

| accepted

Answered
How can i filter data using time frames?
It is necessary to omit the last column (‘eor’) since it is not numeric, so taking the mean of it is inappropriate. Since you...

environ 15 heures ago | 0

Answered
Motion Tracking with Accelerometer
The cumtrapz results do not appear to be accumulating with respect to time. Without being able to see the data or your code, my...

environ 24 heures ago | 0

Answered
ODE45 How to use atmosisa function with Height function as Input?
‘but when I put in as z(2) as input, it gives error’ That is most likely because you do not pass it as an argument to your ‘d...

1 jour ago | 0

Answered
Broken link: Count Steps Using MPU9250 Sensor of BeagleboneBlue Hardware
I’m not certain how you’ve attempted to get that documentation. A DuckDuckGo search finds: Counting Steps using BeagleBone Blue...

1 jour ago | 0

Answered
solve vs. fsolve
Give fsolve different starting points, one positive and one negative: eqn1 = @(x) x.^2 - 4; for k = 1:2 a2(k) = fsolve(e...

1 jour ago | 0

Answered
Reordering column so the values match an already reordered column
I am not certain what you want to do. Note that the sort function has two outputs, the first being the sorted values and the ...

1 jour ago | 1

| accepted

Answered
Time in seconds ode45
Create the ‘tspan’ argument as a vector of more than two elements: tspan = 0 : 0.1 : 10; .

2 jours ago | 0

| accepted

Answered
Updating the parameter of ODE45
Actually, ‘f’ needs to be a (2x1) matrix, since there are two values of ‘x’, and they both need to be defined, so something like...

2 jours ago | 0

| accepted

Answered
How to make rectangular train?
See if the pulstran function will do what you want.

3 jours ago | 0

| accepted

Answered
How to do a surface plot with tangent plane?
I believe the problem is that you need to vectorise the function, using element-wise operations in the multiplications and divi...

3 jours ago | 0

| accepted

Answered
add text to value of a plot, part 2
That needs a different approach. Try this: x = 1:10 y = rand(1,10); figure plot(x, y) xt = get(gca, 'XTick'); xtklbl...

3 jours ago | 0

| accepted

Answered
what is the error "must return a column vector."
The ODE function must return a column vector. I have no idea what ‘I’ is, however defining it as I do here, the code runs witho...

3 jours ago | 0

Answered
add text to value of a plot
if you have R2016b or later, use the xtickformat function to do what you want. Example — x = 1:10 y = rand(1,10); figur...

3 jours ago | 0

| accepted

Answered
Plotting multiple repetitions in one graph
See for example: Positioning a cutted signal from a ECK Signal since that EKG signal is reasonably close to the sort of signal y...

3 jours ago | 1

Answered
Problem with bsxfun and custom function
This runs without error: A = rand(4) B = randn(5) bsxfun(@na_div,A,B) function[out] = na_div(x,y); if isnan(x) & ~i...

3 jours ago | 0

| accepted

Answered
Local smoothing of peaks for a matrix
If you have R2018b or later, see if the rmoutliers function will do what you want.

3 jours ago | 0

| accepted

Answered
Help me undersandand Frequency Vector and index vector in fourier transform
That is my code, so I will do my best to explain it. The frequency vector ‘Fv’ here defines the frequencies for a one-sided F...

3 jours ago | 0

| accepted

Answered
Why are the lines not showing up on my graphs?
You are only plotting one point (that being the last point) and it is not possible to plot lines with only one point. Try thi...

4 jours ago | 1

| accepted

Answered
how to plot line with dots?
There are several options: x = 1:10; y = rand(1,10); subplot(3,1,1) plot(x, y, '-ok') title('Circles and Lines') subplo...

4 jours ago | 0

| accepted

Answered
how can I present histogram as line plot
Set DisplayStyle to stairs.

4 jours ago | 0

| accepted

Answered
how to model kinetic reaction system
There are several examples on fitting differential equations to data in Answers. See: ODE and Data fitting and Parameter Estima...

4 jours ago | 0

Answered
Applying sgolay filter (derivatives) on data with variable Fs
Every signal processing technique that I am aware of (except the newly-introduced nufft function) requires uniformly-sampled sig...

4 jours ago | 0

Answered
System of nonliner equations with symbolic variables
The code needs a few adjustments: syms lamT lamZ eqT = 10*lamT^13*lamZ^13 - 10/lamT^13 - 10*lamT^2*lamZ; eqZ = 10*lamT^13*l...

5 jours ago | 0

| accepted

Answered
Is it possible to save a workspace when a program is paused without it ending the program?
Using the save function at appropriate places in the code will not cause the code to crash. See: How to save data from Geneti...

5 jours ago | 0

Answered
'LSQCURVEFIT requires all values returned by functions to be of data type double' error
It took a bit of effort to figure out what you are doing, and get your code to run correctly, although it still needs for you to...

5 jours ago | 0

| accepted

Answered
How to plot a symbolic equation
Using piecewise (R2016b and later versions) may be an option.

5 jours ago | 1

| accepted

Answered
summation of 2 Sine waves
It does show a straight line at zero. Look at the magnitude of the y-axis (±2E-15), and you will see that it is essentially plo...

6 jours ago | 0

| accepted

Answered
How can I create this image?
Try this: [X1,Y1,Z1] = cylinder; X2 = bsxfun(@times, X1, [1.2; 0]); Y2 = bsxfun(@times, Y1, [1.2; 0]); figure Ax = gca; ...

6 jours ago | 0

| accepted

Load more