photo

Star Strider


Last seen: Today Active since 2012

Followers: 39   Following: 0

Message

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 2023
  • Most Accepted 2022
  • Solver
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • Most Accepted 2021
  • Revival Level 3
  • First Submission
  • Grand Master
  • 36 Month Streak
  • Thankful Level 4

View badges

Feeds

Answered
Hi, How can I create an FIR from difference of two impulse responses?
I slightly changed your original code here, in order to define my questions about it. It is possible to use the firls functio...

14 hours ago | 0

Answered
[ideas wanted]: How to find "peaks" of sloping signal?
The online ability to run scripts seems to be broken. I used MATLAB Online to devise this — % LD = load('data.mat') file = ...

4 days ago | 1

| accepted

Answered
Computing error and plotting its graph
The reason the code fails is that: abs(x1-xx) is a (1 x 51) vector (because ‘x1’ is also a (1 x 51) vector), and it’s not pos...

5 days ago | 1

Answered
Calculating the aortic flow downstream valve using Womersley and 3-element Windkessel model calculations from my FSI results - Why unusual sine waves at the end of flow curve?
I’m not familiar with your abbreviations. FSI = ? STJ = ? Beyond that, your code runs without error. Please explain what...

6 days ago | 0

Answered
generate white noise signal with certain bandwidth?
The filtered signal iis no longer a white-noise signal, although the original signal is. Try this — Fs = 1000; ...

6 days ago | 0

Answered
Powerline interference in ECG
Try this — Fs = 256; % Signal Sampling Frequency Fn = Fs/2; ...

7 days ago | 0

Answered
How can I solve this confidence level error?
You are plotting it incorrectly. Use this: loglog(f_pressure, Pxxc_pressure, 'r', 'LineWidth', 1.5); instead of: loglog(...

7 days ago | 0

| accepted

Answered
Detecting storms from wave height data
I am not certain what you want. Try this — load ('H.mat'); %3 hour data whos('-file','H.mat') threshold=1 % t = linspace...

9 days ago | 0

| accepted

Answered
Płot sample of signal
The number of samples you need to plot is equal to the sampling frequeency multiplied by the number of seconds. Fs = 1000; t...

10 days ago | 0

Answered
How to solve this equations using matlab code,I use solve but I have obtained a wrong and strange solution, and I don't know why.
It would help to have your code. See if using the vpa function will produce a moree understandable reesult, specifically: ...

10 days ago | 0

| accepted

Answered
Process Reaction Curve: Ziegler-Nichols rules
I’m not certain that I understand what you’re asking. See if the System Identification Toolbox procest function will do what ...

10 days ago | 0

Answered
Would you please help me to install and use FFmpeg?
Use your favourite search engine and the search string: ffmpeg windows I found several sites that apparently show how to do tha...

11 days ago | 1

| accepted

Answered
Set decimal place for uitable
It may be necessary to create a string variablee or character array to get what you want, because MATLAB will use full precision...

11 days ago | 0

| accepted

Answered
Reading data in MATLAB
Try this — % T = readtable('data_Labor1_CH1_AnAusSpannung.txt','VariableNamingRule','preserve') T = readtable('data_Labor1_CH...

11 days ago | 0

Answered
Can someone help to teach how i want to upload this file into matlab and try preprocessing ?
See the documentation section on Import or Export a Sequence of Files. More specifically, I would do something like this: f...

13 days ago | 0

Answered
Filtering nose and removing spikes at local areas
The findpeaks function may be an option, however it defines a peak as having a lower values on each side of it, so it will not p...

13 days ago | 0

Answered
Can't access data using " .DateTime " string
Perhaps this — imshow(imread('peppers.png')) metadata = imfinfo('peppers.png') DateTime = datetime(metadata.FileModDate) ....

13 days ago | 0

| accepted

Answered
Format scientific decimal place bar plot
I wrote some utility functions for just this purpose for my own use a few years ago. Try this — load('data_c.mat'); x = un...

13 days ago | 0

| accepted

Answered
Trying to Filer Baseline Signal Noise - Getting Additional Peaks at High Frequencies
The problem may be your filter design. If you have R2018a or later and the Signal Processing Toolbox, use the highpass functi...

13 days ago | 0

Answered
Constructing a string with several index requirements
I’m not certain what you need, however this is one option — r2 = [0 30 60 90 120 150 180 210]; command=['S...

15 days ago | 0

| accepted

Answered
Scatter Plot following a colormap regulation
The DisplayName name-value pair will use that information for the legend entry for each plotted pont. If you want the station n...

15 days ago | 0

| accepted

Answered
Plot files with legend names indicated from a value from each file
All the files have the same format, so this is straightforward — mats = dir('*.mat'); numprof = numel(mats); couleur = jet...

15 days ago | 0

Answered
Integration symbiolic form in matlab gives error
If you have R2012a or later, use the integral2 function instead — Part_1=@(r,theta) 1+(2.*(1+r.*cos(theta))).^2; W_i=@(r,thet...

16 days ago | 0

Answered
Assistance Needed with FIR Comb Peak and Notch Filter Design in MATLAB
The peak filter was a bit challenging, however I got it to work reasonably well. The comb filter may not exactly meet your de...

18 days ago | 1

| accepted

Answered
curve fitting using lsqcurvefit on kinetic data for parameter estimation
The model itself is a bit misleading. A better option might be: That produces an equivalent fit with paramete...

18 days ago | 0

| accepted

Answered
Detect main part of a signal
I usually use the envelope function, usually using the 'peak' option, and then test for the first instance of those (ususlly the...

19 days ago | 0

| accepted

Answered
FFT result dependent on number of interpolation points
The interpft function is intended to interpolate the Fourier transform, and it does a reasonably good approximation. I checked ...

22 days ago | 0

| accepted

Answered
Convert string into datetime
It would help to have the file. Try this — Date_Time_rural = ["2023-10-31 00:00:00"; "2023-11-01 00:00:00"; "2023-11-02 00...

22 days ago | 0

Answered
Fourier Series Representation of Periodic Functions
I would write the piecewise call differently — syms t omega a_k = piecewise(0 <= t < 0.4, 1, 0.4 <= t < 0.5, -1) figure ...

23 days ago | 0

Answered
I am taking two excel files with similar x value data and want to plot the y values of one of the plots with different colors based on if the second file reads 0 or 1.
This is something of a challenge. In order to be able to use both records, it is necessary to intterpolatee the shorter record ...

24 days ago | 0

Load more