# Star Strider

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. Time Zone: UTC-7 (Standard); UTC-6 (Daylight Savings/Summer)

**Statistics**

RANK**3**

of 258 223

REPUTATION**56 756**

CONTRIBUTIONS

**0** Questions

**17 739** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**7 831**

RANK**2 645** of 17 799

REPUTATION**581**

AVERAGE RATING**4.70**

CONTRIBUTIONS**5** Files

DOWNLOADS **47**

ALL TIME DOWNLOADS**5440**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Convert from transfer function to time domain

Probably the easiest way is to just simulate it. R0=0.000605797; Qr=147964.8608; R1=0.000856205; C1=0.049823238; % X=[SOC...

environ une heure ago | 0

combining 2 ECG signal into 1

Unless the row vectors ‘xn’ and ‘xaf’ have the same number of elements, the vertical concatenation to produce ‘xc’ is going to f...

environ 4 heures ago | 0

Choosing the Axis for Interp2?

Use plot3 instread of plot, since the plot is in three dimensions — X=-1:0.1:1; Y=-1:0.1:1; Z=membrane(1,10,10); figure(1...

environ 18 heures ago | 0

| accepted

how to make a cross section of lines and connect cross sections?

I do not have your data, however consider something like this — It would appear that the ‘y’ value is fixed in any specific lo...

1 jour ago | 0

Proper Labeling of X & Y values Contour Plot

Use the tick label properties to change the tick labels. Any new tick values have to be in the ranges of the current tick value...

1 jour ago | 0

| accepted

how to make a boundary using percentile?

This uses the prctile function — x = rand(1,1000)*10+125; y = randn(1,1000)*50+250; xpctl = prctile(x,[2.5 97.5]) ypctl ...

1 jour ago | 0

| accepted

Is there a function to make a long list of a single value?

Try this — Fives = 5*ones(400,1) .

2 jours ago | 1

| accepted

Understanding this FFT Graph

‘My question is; what would the label be for the Y-axis and secondly, is the X axis just frequency in the time domain?’ The Y...

3 jours ago | 0

| accepted

FFT Analysis of Sine Sweep

Your posted code is likely as good as it is possible to get. I added a pspectrum call at the end — T=5; %size of window fs...

3 jours ago | 0

| accepted

Time response of modes to an impulse

If I understand correctly what you want, it is possible to return the state trajectories with lsim as described in Extract Simul...

3 jours ago | 0

Reading complicated CSV file

Try something like this — C1 = readcell('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1007390/random.csv'); ...

4 jours ago | 1

| accepted

How to solve a nonlinear system with 6 equations but with only 4 variables?

Use the mldivide, \ operator to do a least-squares determineation of the system. See the documentation for details. .

4 jours ago | 0

Problem with cycle within a cycle output

If I understand correctly what you want to do, in every ‘j’ iteration, ‘h’ needs to be reinitialised, so: h = 1; whil...

4 jours ago | 0

| accepted

Precise Prediction Model Development

What are you predicting? How does ‘y’ fit in with this? Is it a separate vector? With those concerns met, building the ...

4 jours ago | 0

| accepted

How to filter noise in EMG signal - Tibialis anterior muscles

First, before calculating the fft, subtract the mean of the signal to eliminate the D-C (0 Hz) spike so the other peaks are more...

4 jours ago | 0

How to match the rising starting point of the graph

This is my best effort. I could not get the other functions I tried (ischange, findchangepts, islocalmin, etc.) to work, so I w...

5 jours ago | 2

| accepted

I exported data from excel into a table, how do I sum the values of each column from that table excluding NaN's

Two options — T = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1005700/Inventory.xlsx') S1 = nan...

6 jours ago | 0

How to overcome the problem with the function diff used to approximate matrix derivative.

Use the gradient function instead of diff.

6 jours ago | 0

How to interpolate a column array based on another non-linearly spaced column array?

As a general rule, it is best to interpolate a longer vector to a shorter vector in order to avoid creating data that interpolat...

6 jours ago | 0

Incorrect use of '=' operator for an IF statement

I usually do something like this in setting an index range — L = numel(Componentry_New) for k = 1:Whatever Level_Either_...

6 jours ago | 0

Trying to learn how to add a threshold trigger and peak markers.

Try something like this — x = linspace(0,10,500); red_line = sin(2*pi*x)*1.5; trigger = find(diff(sign(red_line - 0.95)));...

7 jours ago | 0

| accepted

What does this Digital filter actually do? and what is it called?

It is a 2D FIR filter: I am not certain it has any other name. To see what it does, plot its results — H = [1 1 1 1 1;1 2...

7 jours ago | 0

| accepted

How to add date and time in a plot by command in matlab 2012?

I no longer have access to R2012a, so I cannot test this with it. The code you posted works correctly in R2022a, however R201...

7 jours ago | 0

| accepted

Three columns (x,y,z) in table, Loop through table for each X plot Y vs Z

Try this — CA = {'A' 1 3 'A' 2 4 'A' 3 10 'B' 1 4 'B' 2 4 'B' 4 6 'C' 0 1 'C' 1 4 ...

7 jours ago | 0

| accepted

How to implement a for loop on figure plotting?

Try something like this f = 1:500; Q = randn(115,500); idx = 1:100; % Choose Specific Columns fi...

7 jours ago | 0

I want to find the area of the graph

Try this — LD = load('x,y.mat'); x = LD.xy(1,:); y = LD.xy(2,:); yf = sgolayfilt(y, 3, 1001); ...

8 jours ago | 1

| accepted

Can "datetime" be responsible for the misalignment of data in a plot ?

The first cluster of data (at about 2.5 or about 18 Jun) appears to be perfectly aligned in both plots. The datetime plot goes...

8 jours ago | 1

| accepted

How can I add uncertainty to a data matrix?

The repmat funciton is likely not needed. Just do something like this: h = h + randn(size(h)); and so for the rest. See t...

8 jours ago | 0

| accepted

ERROR: Array indices must be positive integers or logical values. Can anyone please help, Thank You!

I suspect the problem is with this term — u(u*UmaxN_0+PsByN_0*u) and everywhere else something similar to that is used. The ...

8 jours ago | 0

| accepted

Why doesn't my state-space model iterate?

The iterations are defined inside the function. See the documentation section on Display to see the progress of the estimation....

8 jours ago | 0