Community Profile

photo

Star Strider


Last seen: Today
15,146 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
Combining Two Plots into One Won't Work!
Not trivial, however also not difficult. F{1} = openfig('f1.fig'); F{2} = openfig('f2.fig'); figure hold on for k1 = 1:...

9 hours ago | 0

Answered
Excluding folders from a dir Structure
Try this: valid_filenames = cellfun(@isfile,{d.name}); % Eliminate ‘.’, ‘..’ dnew = d(valid_filena...

10 hours ago | 0

Answered
Intersection point between two graphs
See if the approach in Help finding intersecting points will do what you want.

13 hours ago | 0

Answered
Code for calculating heart rate in Matlab
Using what data? For an EKG, use findpeaks to find the R-deflections, then make appropriate use of the ‘locs’ output to calcu...

13 hours ago | 0

Answered
Reformatting columns and rows of a table
Perhaps stack? Otherwise unstack? (Not clear on the result you want.)

14 hours ago | 0

| accepted

Answered
LowPass filter order in Signal processing
The signalAnalyzer App is likely not going to be able to do what you want, since it analyzes the signal without designing any f...

14 hours ago | 0

Answered
How can be obtain Power Spectral Density using FFT for foetal heart rate signal?
If you have the Signal Processing Toolbox, see the documentation section on Power Spectral Density Estimates Using FFT . Note...

15 hours ago | 0

Answered
Hello everyone. I have a long-standing problem, how to calculate the similarity between the two curves that have been fitted. Thank you for your enthusiastic answers.
I am not certain what sort of comparison you want. This resamples ‘XX2’ to be the same size as ‘XX1’, and then does the compa...

15 hours ago | 0

Answered
How to perform a zoom FFT on certain portion of a signal
First, see if the pspectrum funciton using the 'spectrogram' option will do what you want. It will segment the Fourier transfor...

17 hours ago | 0

Answered
Help finding intersecting points
Try this: W = 73000; %Airplane weight in lbs Alt = 30000; %altitude given at 30000 feet S = 950; %Area of the wing given in ...

1 day ago | 1

| accepted

Answered
how to remove/reduce power line noise from a short signal?
‘... the sampling rate I have is 19200 Hz but the data is cut in epochs of 480 samples(non continous) and as such makes the freq...

1 day ago | 0

Answered
Locating global max in 3D plot
Try this: [maxval,Idx] = max(Pmusic(:)); [PmusicmaxRow,PmusicmaxCol] = ind2sub(size(Pmusic), Idx); I obviously cannot test t...

1 day ago | 0

| accepted

Answered
Optimization of system ODE
See the documentation section on Optimizing a Simulation or Ordinary Differential Equation

2 days ago | 0

Answered
Filter Z Transform Implementation
The easiest way is to let the Control System Toolbox do the initial analysis: z = tf('z'); ...

2 days ago | 0

| accepted

Answered
'fix' function misbehaving
Temporarily set the format to long, and then also do: dZ = Z - 955 and check the result. This is most likely the result of r...

3 days ago | 1

| accepted

Answered
Finding the position of specific value in a vector without knowing the exact number
The find documentation section Last Several Nonzero Elements will let you return the indices of only some of the elements. You ...

3 days ago | 0

Answered
Plotting multiple Magnitudes in one plot
Put the figure call before the loop, and remove the subplot call: figure hold on for i= 1:1:23 [u,o] = butter(1,[2*100/...

3 days ago | 0

| accepted

Answered
Low pass filter VS high pass filter
Calculate the Fourier transform of the filter from the signals. t = ...; %...

3 days ago | 0

| accepted

Answered
How to plot 2D graph
If I understand correctly what you want to do, this should work: for t=1:20 for x=1:20 Sum=0; for n=1:1...

3 days ago | 1

| accepted

Answered
All fixed points of function
If by ‘fixed points’ you intend ‘roots’, try this: f = @(x) cos(x) - 0.07 * x.^2; tv = linspace(-10, 10); fv = f(tv); zvi...

3 days ago | 0

Answered
Interp2/Scatterinterp unstructured Data don't work!
Use the griddata function instead. Try this: Xm = load('X.mat'); X = Xm.Mecanical_Speed; Ym = load('Y.mat'); Y = Ym.Torq...

4 days ago | 0

| accepted

Answered
How to write name inside polygon?
Use the text function. Try this: pgon = polyshape([1 3 5 7],[2 6 4 1]); [xc,yc] = centroid(pgon); figure plot(pgon) a...

4 days ago | 1

| accepted

Answered
How do I fix this code? It says "Conversion to function_handle is not possible" on the line f(×) = (x^4) - (10*x^3) + 5
First, fix the typographical errors. Remember that MATLAB is case-sensitive. Second, see the documentation section on Anonymo...

4 days ago | 0

Answered
Filtering high frequencies from response signal
Try this: D1 = load('7004x4.mat'); T1 = D1.g; Q1 = T1(1:5,:); t = T1{:,1}; sm = T1{:,3}; t = rmmissing(t); sm = rmmiss...

4 days ago | 0

| accepted

Answered
NPN Bipolar Transistor Characteristics
Run this from a script or your Command Window: doc 'NPN Bipolar Transistor Characteristics' That should bring up the example ...

4 days ago | 0

Answered
Removing jumps from data when plotting a graph
I am not certain what result you want. Try this: D1 = readmatrix('SensorValues.xlsx'); s = D1; ...

4 days ago | 0

| accepted

Answered
Please, How do I determine the Mean Absolute Value (MAV) of an acoustic signal, which has positive and negative data points?
The mean value is the ‘average’ value. In almost all audio signals, the mean value is either 0 or close to 0. An electrocar...

4 days ago | 1

Answered
xlswrite is not recommended, what should I use instead?
Since you have R2020a, first, create a table using your data, then use writetable to write it to an Excel file (or other options...

5 days ago | 1

Answered
Hello everyone, how to divide a piece of data into upper and lower parts along the y-axis with C point and D point as the boundary?
Try this: D = load('data1.mat'); data1 = D.data1; x = data1(:, 1); y = data1(:, 2); [C,ixmin] = min(x); [D,ixmax] = max...

5 days ago | 1

| accepted

Answered
Hodgkin-Huxley Error Code: Index exceeds the number of array elements (1)
Your differential equation returns a column vector of 4 elements, so it is necessary for the initial conditions vector and whate...

5 days ago | 0

Load more