Community Profile

photo

Star Strider


Last seen: Today
14.015 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
To change the recording frequency of biomechanical data from 60 Hz to 100 Hz
I would advise against using interp1. Instead use the Signal Processing Toolbox resample fucntion, since it uses an anti-aliasi...

15 minutos ago | 0

Answered
how to sort each line in a text file by the first character in a line?
The data you posted is a bit difficult to work with, so I created my own version that should work with it. It assumes your data...

alrededor de 5 horas ago | 0

| accepted

Answered
Derivatice of vector and Test it using spline function
I have no idea what you actually want to do. To calculate numerical derivatives of a vector, use the gradient function.

alrededor de 7 horas ago | 0

Answered
stop band ripples vs stop band attenuation?
For all intents and purposes, they are the same thing. In filters with stopband ripples, that parameter sets the stopband atten...

alrededor de 8 horas ago | 0

| accepted

Answered
how can one set the default size of font for plot?
Experiment with: Default Property Values

alrededor de 19 horas ago | 0

| accepted

Answered
plot for a part of x
Experiment witth this example: dt = datetime([2001 01 01])+calmonths(0:(2021-2001)*12); % ‘datetime’ Vector y = ra...

alrededor de 19 horas ago | 0

Answered
I cannot get these error bars to work for the life of me
This unfortunately will not work with categorical variables, so it is necessary to define the x-coordinates as numeric, then lab...

1 día ago | 0

| accepted

Answered
Shade standard deviation for time series
I cannot run your code, so I cannot test this. However, fill may not be appropriate here. See if using patch instead does sh...

1 día ago | 0

Answered
FFT - Single sided phase?
It is not necessary (or advisable) to multiply the phase values by 2, particularly because it doesn’t matter. The phase values ...

1 día ago | 0

| accepted

Answered
FFT with hanning window
I have no idea what ‘pop_loadset’ does, however it apparently returns ‘x’ as a structure. You will need to extract the informat...

2 días ago | 0

Answered
How can I change sampling frequency when I use audiowrite function?
From the audowrite documentation for Fs: ‘When writing to .m4a or .mp4 files on Windows platforms, audiowrite supports only sa...

2 días ago | 0

| accepted

Answered
No file found, when the folder has been found and the file is listed in it
We cannot see the rest of the function that you are using to read the files (that you apparently wrote, and does not produce any...

2 días ago | 0

Answered
How to read some data from a text file
Use the textscan function: fidi = fopen('TestFile20200709.txt','rt') Datac = textscan(fidi, '%f%f%f%f%f', 'CommentStyle','#',...

2 días ago | 0

| accepted

Answered
Indexing Issue (with both ismember() and find())
You have encountered floating-point approximation error, and the way the colon operator works. Try this: array1 = [.1,.2,.3...

3 días ago | 0

| accepted

Answered
How can one display fitting equations (with t stat and R^2) on a scatter plot
Try this example: load carsmall X = [Weight,Horsepower,Acceleration]; mdl = fitlm(X,MPG) Tst = mdl.Coefficients.tStat; Rsq...

3 días ago | 0

| accepted

Answered
Plotting response of multiple filters in single figure of freqz/freqs and fvtool ?
This is likely the only option: [h{1},w{1}] = freqz(rand(5,1),1, 2^16, 1000); [h{2},w{2}] = freqz(rand(5,1),1, 2^16, 1000); ...

3 días ago | 1

| accepted

Answered
Calculate the area under a section of the curve?
I am not certain what you want. Try this: D1 = load('EDA_pxx.mat'); EDA_pxx = D1.EDA_pxx; D2 = load('w.mat'); w = D2.w; ...

3 días ago | 0

| accepted

Answered
lsline error message and how to deal with it
With only the error message, it is not possible to determine exactly what the problem is. From the lsline documentation: ...

3 días ago | 0

| accepted

Answered
How can I solve this?
See the documentation for lt and its friends.

3 días ago | 0

Answered
To find the first 3 local maximas of a plot/ dataset without the islocalmax and findpeaks
Yes. Is this for homework or an exam?

3 días ago | 0

| accepted

Answered
Conversion to cell from ClassificationSVM is not possible
I cannot fun your code, however running something similar suggests to me that using curly braces {} to subscript ‘SVMModels’ cou...

4 días ago | 0

| accepted

Answered
fmincon error in intial value
The ‘fun6’ function produces a purely imaginary result at the initial point. That is throwing the error. One option is to sp...

4 días ago | 0

| accepted

Answered
Error with load function
I am surprised the save call worked at all! Note that: savepath='filepath'; savefile='Tumble Data User Applicable.mat'; A...

4 días ago | 0

| accepted

Answered
using Matlabfunction for determinant, not enough input arguments
I am not certain with the problem is with the ‘J_fcn’ produced by matlabFunction. (The error may refer to the reshape call with...

4 días ago | 0

| accepted

Answered
how to center axis label?
Try this: ylabel({'Trajectory angle';'with respect to vortex axis (°)'}) That worked when I tested it. See the documentati...

5 días ago | 1

| accepted

Answered
Who could use short code to represent the following code:
Try this: data(:,12) = mean(data(:,2:11), 2); If I understand correctly what you want to do, that should work.

5 días ago | 0

| accepted

Answered
In an assignment A(I) = B, the number of elements in B and I must be the same.
By defining ‘y’ in ‘ObjectiveFunction’, you are overwriting whatever you pass to it as ‘y’ as an argument. Also: x<=0.1; m...

5 días ago | 0

| accepted

Answered
Table Variable Name "X_|P|" works on my computer.....does not work on anyone elses
The extended variable names began in R2019b. From the Release Notes for R2019b with respect to table variable names: ‘Start...

5 días ago | 0

| accepted

Answered
How to find radius of curvature?
One option is the code in fitting a circle with fitnlm. (I added plotting code and a plot of the data and the fitted circle.)

5 días ago | 0

Answered
Scatter3 not plotting after providing condition.
Use the hold function. figure scatter3(x(w1), y(w1), z(w1), 'y', 'filled') hold on scatter3( ...) scatter3( ...) scatter...

5 días ago | 0

| accepted

Load more