Community Profile

photo

Star Strider


Last seen: Today
13.822 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
Confusion with transfer functions
They are completely different functions. The tf function defines a transfer function in the Control System Toolbox. The tf...

circa 2 ore ago | 0

Answered
need to make a function to change a high value to the average in a matrice
The fillmissing function (R2016b and later releases) may be able to do what you want. First, set the values >300 to NaN (you do...

circa 2 ore ago | 1

| accepted

Answered
"The value on the right-hand side of the assignment has the wrong width." Error
I am not certain where the problem is in the two lines you posted. Try this: idx= strcmp(station001_eus{:,10}, ',,7'); sta...

circa 4 ore ago | 0

| accepted

Answered
Create month array?
Try this: t = datetime('01', 'InputFormat','MM', 'Format','MM') : calmonths(1) : datetime('12', 'InputFormat','MM'); .

circa 7 ore ago | 0

Answered
Eliminates a value less than 1 and replace with nan for all the row
What you want the result to be is not obvious. Try this: TT(ind,:)={NaN}; .

circa 20 ore ago | 1

| accepted

Answered
Dashed confidence intervals and xlabel
To plot as you want to plot, you need to create an ‘x’ vector to plot against. Since you are plotting against the row indices, ...

1 giorno ago | 0

| accepted

Answered
how can I set axis's tick or scale like photo.. help plz,,
Add these lines: grid set(gca, 'XScale','log', 'YScale','log', 'YLim',[0.01 100]) so the complete code is now: CD = @(Re) ...

1 giorno ago | 0

| accepted

Answered
Why I am unable to recreate curve fitting equation?
I have no idea what the problem is. The fminsearch function had no probllem with it. The Code — f = @(b,x) b(1).*exp(b(2)....

1 giorno ago | 1

Answered
QRS complex detection in ventricular tachycardia ECG
If this is a homework problem, you will not be able to use this code. If it is for research, you can likely adapt it to other p...

1 giorno ago | 0

Answered
finding troughs in signal
See my Answer in: How to find QRS complex for this Graph? for one approach to this problem. You will likely need to modify tha...

1 giorno ago | 0

Answered
Concatenating 2 vectors into 1 vector with the values adjacent to each other
Yes. Use datetime to create them. Example — CO2_Mtx = [2012 01 rand; 2012 2 rand; 1985 5 rand; 1985 6 rand]; ...

2 giorni ago | 2

| accepted

Answered
How to find QRS complex for this Graph?
This is not a trivial problem. This EKG displays the Wolf-Parkinson-White syndrome, so the normal Q-wave is not present. It ac...

2 giorni ago | 0

| accepted

Answered
Convert MOV to AVI file
The only option appears to be VideoWriter. Several Answers I looked through appear to indicate that it can do what you describe...

2 giorni ago | 0

Answered
Organising data for machine learning using buffer function
There may be more efficient ways to create specific features for classification. See: Introduction to Feature Selection for a n...

2 giorni ago | 0

Answered
Getting a constant instead of (2*exp(-3/2))/3 + 1/3 solving a differential equation
Use the vpa or double function, depending on the result you want.

2 giorni ago | 1

Answered
Place grid on top of patches
The gridlines can be put on top of the figure, and you can also vary the transparency of the grid lines. Example — x = 1:10;...

2 giorni ago | 0

Answered
How to plot two lines in a looped subplot in matlab?
Add an if block in the loop: lines = rand([30 5]); line2 = rand([30 1]); k = 5; for j = 1:k subplot(3, 2, j); plo...

2 giorni ago | 0

| accepted

Answered
iterative search through matrix in order to add a column
I have no clear idea what you want to do. Try this: First = [randi(50, 100, 1) rand(100,1)]; Second = [randi(50, 10, 1) ra...

3 giorni ago | 1

Answered
Shade area between a curve and a vertical line and the x axis
Add these lines: xa = linspace(0.14, 0.2, 25); % Define ‘x’ For ‘patch’ ya = normpdf(xa,.1,.02)...

3 giorni ago | 0

| accepted

Answered
help using fzero to find the intersection
At the intersections, the difference between the functions is 0, and since fzero is a root-finding algorithm, choose and appropr...

3 giorni ago | 0

Answered
Plotting a parametric curve in Matlab..(Dimension error)
Use element-wise operations (the ‘dot operator’): x=e*cos(theta)./sqrt(4/3+4/3*cos(theta).*sin(theta)); y=e*sin(theta)./sqrt(...

4 giorni ago | 0

| accepted

Answered
Calculate if statement based on date
Try this: T1 = readtable('Precip.Sample.xlsx'); TT1 = table2timetable(T1); TTRP = retime(TT1(:,1:4), 'daily', 'sum'); TTRL ...

4 giorni ago | 0

Answered
Sorting elements according to an array
I am not certain what you want. Try this: DATA = randi([1 100], 25, 1); % Create ...

4 giorni ago | 1

| accepted

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

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

5 giorni ago | 0

| accepted

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

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

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

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

6 giorni ago | 0

| accepted

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

6 giorni ago | 1

| accepted

Load more