Community Profile

# Star Strider

Last seen: Today Con actividad desde 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. Time Zone: UTC-7 (Standard); UTC-6 (Daylight Savings/Summer)

All

Ver insignias

#### Content Feed

Ver por

Respondida
How to partition a matrix by sorting a column?
One approach — A= [ 73.90 123.17 1.00; 73.79 121.83 0.00; 70.64 74.46 1.00; 69.74 86.40 0.00];...

alrededor de 7 horas hace | 0

Respondida
How can I add query points between two adjacent points of sampled data and perform interpolation?
Here is one approach — A = linspace(-21.0598, -18.777, 11).'; % Create Data B = linspace(-19.194...

alrededor de 13 horas hace | 0

Respondida
How to fix the error
The error message is clear. Put the function at the end of the file and the code works — % Set random seed value rng(123)...

alrededor de 14 horas hace | 0

Respondida
Plotting spectrograph from spectrum analyzer data
Yiour data needed a bit of tweaking. Tehe times in the ‘TimeData’ matrix are contiguous, so they can be converted into a vector...

alrededor de 16 horas hace | 1

Respondida
Biphasic Pulse signal with FFT
The problem was that ‘wholeSignal’ had 60 more elements than ‘t’ so I artificially shortened it: wholeSignal = wholeSignal(1:n...

2 días hace | 0

Respondida
How to count how often a variable returns to zero and then increases from zero
One method to find the first instance of a zero value is to use the strfind function. You can use it again to determine the ind...

3 días hace | 0

Respondida
How do I compute averages for NOAA SST data?
The easiest way to do this is to use the accumarray function — T1 = readtable('ersst5.nino.mt...-20.ascii.csv', 'VariableNami...

3 días hace | 0

Respondida
How can i calculate the area under two curves that intersect?
Integrate them using trapz then do what you want with the results (keep them as they are, add them, add their absolute values, ...

4 días hace | 1

Respondida
The legend option called interpreter latex does not display the latex symbols correctly
You need to put dollar signs ($) around the string you send to the LaTeX interpreter — plot(1:10,1:10,'DisplayName','$\eta_i\$'...

4 días hace | 1

Respondida
Transfer function extraction from frequency response
You will need to use the System Identification Toolbox for this. Then: ResponseData = mag.*exp(1j*phase); data = idfrd(Res...

4 días hace | 0

Respondida
how to use the hanning window to smooth the photon signal
That appears to be some sort of spectrum. I am not certain what you want to do with it, however windowing it is not likely to p...

5 días hace | 0

Respondida
how to plot table to line graph with dots ?
There are easier ways to import the table using detectImportOptions, however since it exists as posted, try this — x = str2dou...

5 días hace | 1

Respondida
Plotting several plots of respective ranges from an excel file into one single plot
Perhaps this — opts = detectImportOptions('tempDataTrollhFlygpl.xlsx', 'VariableNamingRule','preserve', 'HeaderLines',9); opt...

5 días hace | 1

Respondida
scatteredInterpolant using a matrix, F = scatteredInterpolant(x,y,v) form
‘Input data point values have invalid dimension. The data must be specified in column-vector format.’ This holds when you ini...

5 días hace | 0

Respondida
Find Coefficients of an equation
Using two independent variables is relatively straightforward. You need to concatenate them, then refer to them individually i...

6 días hace | 0

Respondida
Can someone help me solve this different equation on matlab?
Perhaps this — % 1/r * d/dr(r*dS/dr) + c1 - c2 syms r S(r) c1 c2 S0 DS0 Eqn = 1/r * diff(r*diff(S),r) + c1 - c2 S = dsolv...

6 días hace | 0

Respondida
How can i 3d plot this table in matlab?
Try this — A1 = readmatrix('cc.csv'); x = A1(1,2:end); y = A1(2:end,1); z = A1(2:end,2:end); figure surf(x,y,z, 'EdgeCo...

6 días hace | 0

Respondida
Why can't I run my code? (tfest function)
Run this from a script or your Command Window: which tfest -all It should give you this identical result. If it shows anyt...

6 días hace | 0

Respondida
To find angular frequency and wave vector for time series data
From what I’ve been able to discover, the ‘minimum vairance method’ is a heirarchical clustering approach. MATLAB has a few way...

7 días hace | 0

Respondida
Dealing data with text and numerical in .txt file
I am not certain what you intend by ‘visualize’. Perhaps this — T1 = readtable('M I T 2024 02 17.txt', 'Delimiter',{',',':'...

7 días hace | 0

Respondida
Compare rows from different columns
One approach — A = randi(50,10,2) Col_2_Larger = A(:,2) > A(:,1) ColNr = find(Col_2_Larger); fprintf('Col 2 larger in row...

7 días hace | 0

Respondida
How can I ensure that the initial solution (x0) for fsolve does not result in Inf or NaN values?
The approach I use (if possible) is to plot the function first. Most of the time, it is possible to plot it in one or two dimen...

7 días hace | 0

Respondida
How to plot the error of two numerical methods on the same graph?
I cannot run your code because I do not have arguments for the functions. (I tweaked them to make them a bit more efficient.) ...

8 días hace | 1

Respondida
How to add ytick as we want in Matlab?
Perhaps setting the 'YScale' to 'log' will do what you want — mean = [10^-3, 10^-4, 10^-5, 10^-6, 10^-7, 10^-8]; variance =...

8 días hace | 0

Respondida
integral with using parameters optimization
I’m running your code offline, and it’s taking forever (278.146278 seconds). What ‘variables’ are you referring to? Are they...

8 días hace | 0

Respondida
Extracting 2 columns from a excel file and send them to an own matrix file
Perhaps something like this — opts = detectImportOptions('tempDataTrollhFlygpl.xlsx', 'NumHeaderLines', 9, 'VariableNamingRul...

8 días hace | 1

Respondida
Rotating text to 90 degrees
I’ve never used PsychToolbox, however that would be relatively straightforward in MATLAB graphics — alphabetT = 'T'; figure...

8 días hace | 0

Respondida
How can I load .trf data files into MATLAB?
There appear to be several different definitions of that extension in an onlilne search. I suggest using the type function fi...

8 días hace | 0

Respondida
fplot and quiver return "Error using box"
See if you have something else in your MATLAB search path named ‘box’. which box -all That is the only thing I can think of...

9 días hace | 0