Community Profile

photo

Star Strider


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

Statistics

All
  • Scavenger Finisher
  • Most Accepted 2022
  • Most Accepted 2021
  • Solver
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • Revival Level 3
  • First Submission
  • Grand Master
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 5

View badges

Content Feed

Answered
Process .dat file, plot, scale, and put back into similar format
It would help to have the file rather than an image. I would do something like this: fidi = fopen('Hled.dat','rt'); C = te...

ungefär 7 timmar ago | 0

Answered
How to shade the area between two lines (constructed by large number of data points)
It works the same way with data points as with functions — x = linspace(0, 10, 50).'; % Assume Column Vec...

ungefär 16 timmar ago | 0

| accepted

Answered
three order complex coefficient polynomial root matlab
There are at least two options — z = complex(randn(3,1), randn(3,1)) r = roots([28; z]) syms x p = 28*x.^3 + z(1,:)*x.^2...

en dag ago | 0

Answered
When I run my code, I keep getting this error: "Undefined function or variable 'y'."
Try something like this — close all;clc tspan = [0 1]; y0(1)=2; y0(2)=1; y0(3)=3; source = 0; tol = 1e-3;%Критерии допус...

en dag ago | 1

Answered
lowpass filter function doesn't filter out data
The ‘NoisySignal’ has broadband noise, so a frequency-selective filter can eliminate some of the noise, however not all of it. ...

en dag ago | 1

Answered
Plotting arrays with different sizes
Transpose ‘gamma’ to create a family of curves — gamma = [1, 1.2, 1.4, 1.6, 1.8, 2]; x = [0:0.01:2000]; b = 349.22567; y = ...

en dag ago | 0

| accepted

Answered
fitline not displaying correct x values datetime
You probably need to do centreing and scaling with your data, then use datetick to display the dates correctrly — dates = date...

en dag ago | 0

| accepted

Answered
MatLab Multiple graphs in one axis
The easiest option is to use the hold function. Put the different ‘x’ and ‘y’ vectors in one matrix, then plot them x = (9:0.2...

en dag ago | 0

Answered
2d line plot
The patch documentation section on Create Multicolored Line offers one option. The problem with the data is that the temperat...

en dag ago | 0

Answered
Detecting Certain Parts of a Specific Signal
Start with the findsignal function. It may be necessary to invert the tall peak to find the inverted version of it.

2 dagar ago | 0

Answered
Non-homogeneous frecuency in Matlab Mobile measurements
If you are referring to Android Sensors Data Acquisition , probably not. To create a regularly-sampled signal, it would be nece...

5 dagar ago | 0

Answered
Error bars centered at one bar in multi-bar plot
It would help to have your data matrices. Use XEndPoints and YEndPoints to specify the ends of the bars. y = rand(5,4); err...

5 dagar ago | 2

| accepted

Answered
fillmissing function with makima method
Thje 'makima' method is likely best for filling NaN gaps in varying data. Yours appear to be relatively constant, other than fo...

5 dagar ago | 0

| accepted

Answered
calculating the average of a column of a csv file with specified steps and saving it in a new csv file
This was a bit more involved than I thought it would be — T1 = readtable('Data_1min.csv', 'VariableNamingRule','preserve') ...

6 dagar ago | 0

Answered
3D plot in polar coordinates
This took a while to get working correctly, and takes about 500 seconds to run, so I will post the code here slthough not the pl...

6 dagar ago | 0

| accepted

Answered
Need help to removing motion artifact from ECG signal
Try something like this — LD = load('test10_00wm.mat') type('ECG.m') % I was hoping Tha...

7 dagar ago | 0

| accepted

Answered
reference a Mathworks Algorithm found in the forum
The URL of the particular post would be my choice. Right-click on the ‘chain’ (‘Link’ or ‘Hyperlink’) icon to copy it. For e...

8 dagar ago | 1

| accepted

Answered
Deriving acceleration from velocity equation
The gradient function could be helpful. EDIT — (20 May 2023 at 12:46) If this is symbolic, of course, just take the deriva...

8 dagar ago | 0

Answered
Can't figure out these two errors, if someone can help I'll appreciate it
The problem is that the error message does not say what the particular error is. Reproducing that line with various definitions...

8 dagar ago | 0

| accepted

Answered
Error using ellipord?
The code appears to work correctly when I run it (in R2023a), however I don’t have the signal so the load call throws an error. ...

9 dagar ago | 0

Answered
non-numerical answer for solving complex non-linear equation
You define all the variables numerically, however your code then declares them as symbolic. The easy solution is simply to pu...

9 dagar ago | 0

| accepted

Answered
How do I exclude certain columns from rmmissing rmoutliers?
I would treat those as two separate operations. First, remove the missing data on the entire matrix, not only selectyed colum...

9 dagar ago | 0

| accepted

Answered
Problem finding "valleys" in signal
I prefer using 'MinPeakProminence' instead of 'MinPeakHeight' since that is usually more robust. t = linspace(0, 10); y = 0....

10 dagar ago | 0

Answered
How to read this data with the headers text
If you have R2013b or later, use readtable. It behaviour has changed a bit over the years, however it should still work with ...

10 dagar ago | 0

| accepted

Answered
How can I create 3D seismic survey ?
I am not certain what your data are, however options could be plot3, ribbon, waterfall, and perhaps others including surf and me...

10 dagar ago | 0

Answered
Problem with direct calculation on table with std and "omitnan"
Prehaps varfun? Example — load patients T = table(Age,Height,Weight,Systolic,Diastolic) S = varfun(@(x)std(x,'omitnan'...

10 dagar ago | 0

| accepted

Answered
How to calculate mean of standard deviation (mean deviation) in a table
The 'mean_rate' variable does not exist in ‘T’. Giving groupsummary the correct variable names (or at least variable names th...

10 dagar ago | 0

Answered
How do i subtract or sum two 3D plot in matlab?
Providing they have the same dimensions, the ‘Z’ data are simply matrices, so they can be operated on as matrices. If they do n...

10 dagar ago | 0

Answered
Relation or Pattern between curves
The plot appears to be incomplete. What do the curves look like between 0 (or whatever the minimum independent value is) and ...

11 dagar ago | 1

| accepted

Answered
Automate the length of samples in the envelope function to get the optimal peak envelope from various signals
Consider first using either findpeaks or islocalmax with find, and then calculate the appropriate distances (using min, max, mea...

11 dagar ago | 1

| accepted

Load more