Community Profile

photo

Star Strider


Last seen: Today
14 023 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
Vector output prints one after another
If you have R2013b or later, put them in a table: OutTable = table(t.', omega.',theta.',alpha.',Etotal.', 'VariableNames',{f, ...

ungefär 2 timmar ago | 0

Answered
Array Indices Must Be Positive Values
The problem is: v_y0 = @(y_0)((6*x_0(n*t_t)-s)-y_0)*n*s-2*n*x_0(4-3*c)*(1-c)/(4*s-3*n*t_t)*s+4*((1-c)^2); ...

ungefär 4 timmar ago | 0

Answered
Using vpasolve to store an array of solutions
Use solve instead of vpasolve, then use vpa on each of the results: s=solve([eqn1,eqn2,eqn3,eqn4],[theta4,theta5,la,lc]); sth...

ungefär 5 timmar ago | 0

Answered
how can i found the best linear function representing the following points ???
Try this: x=[ 0 0.6 1.2 1.8 2.4 2.8 ] fx=[ 1.1 2.5 4.9 6.4 9.3 14.1 ] B = [x(:) ones(size(x(:)))] \ fx(:); % ...

ungefär 8 timmar ago | 0

| accepted

Answered
Different number of elements error.
Initially, you assign ‘g’ to the gravitational acceleration constant: theta0 = pi/3; g = 9.81; L = 1; then here you assign ‘g...

ungefär 8 timmar ago | 0

| accepted

Answered
How to resolve empty inputdlg box issue?
Try this: a = inputdlg('Type a number:') if isempty(a{:}) disp('a is empty') % Info...

ungefär 10 timmar ago | 1

| accepted

Answered
How to get UTC time in my program?
Try this: dtLCL = datetime('now', 'TimeZone','local') % Current Local Time dtUTC = datetime(dtLCL, 'TimeZone'...

ungefär 11 timmar ago | 0

Answered
Can I set the initial value of the solution in "solve" function? Like "fsolve" function?
The vpasolve function allows initial estimates and ranges, See: Find Multiple Solutions by Specifying Initial Guesses and relat...

ungefär 13 timmar ago | 0

| accepted

Answered
Adding multiple rows of a cell array
Try this: D = load('NumericalFourierForce.mat'); Numerical_FourierForce = D.Numerical_FourierForce; Out = cellfun(@(x){sum...

ungefär 14 timmar ago | 0

| accepted

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

en dag ago | 0

| accepted

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

en dag ago | 0

| accepted

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

en dag ago | 0

| accepted

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

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

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

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

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

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

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

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

3 dagar 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','#',...

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

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

4 dagar 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); ...

4 dagar 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; ...

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

4 dagar ago | 0

| accepted

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

4 dagar 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?

5 dagar 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...

5 dagar 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...

5 dagar ago | 0

| accepted

Load more