Community Profile

photo

Star Strider


Last seen: Today
15.152 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
Adding two strings same row size
To use the join function, your data must first be present as table objects. Fortunately, that is not necessary. Just use arr...

circa un'ora ago | 0

Answered
Problem with time code - function definition not permitted in this context
I have no idea what the rest of your script looks like, since it was not posted. See the documentation on Create Functions in...

circa un'ora ago | 0

Answered
Contour Plot of Rosie Function
Transpose ‘f’, since ‘x1’ and ‘x2’ appear to be the same (otherwise it would also be necessary to reverse their orders in the ar...

circa 3 ore ago | 0

Answered
Plotting a fourier transform graph
Try this: syms t w f(t)=t*rectangularPulse(t/2); F(w)=fourier(f,t,w); figure fplot(real(F), [-50 50]) hold on fplo...

circa 5 ore ago | 1

| accepted

Answered
How to add Labels to Files saving as .txt
Create the columns as a table, then add the column names as variable names. Use writetable to save it as a file.

circa 7 ore ago | 0

Answered
multiple graph plotting error
See: multiple graphs plotting error

circa 9 ore ago | 0

| accepted

Answered
multiple graphs plotting error
The ‘t’ vector for the first series of curves is: t=0:0.1:100; and for the second: t=0:0.1:2000; That likely explains th...

circa 10 ore ago | 0

| accepted

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

1 giorno ago | 0

| accepted

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

1 giorno ago | 0

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

1 giorno 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...

1 giorno ago | 0

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

1 giorno 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...

1 giorno 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...

1 giorno 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...

1 giorno 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 ...

2 giorni 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...

2 giorni 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...

2 giorni ago | 0

| accepted

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

2 giorni 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 giorni 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 giorni 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 giorni 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 giorni ago | 0

| accepted

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

3 giorni 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...

4 giorni 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...

4 giorni 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 giorni 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 giorni 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 giorni 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 giorni ago | 0

| accepted

Load more