Community Profile

photo

Star Strider


Last seen: Today Aktiv seit 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)

Statistiken

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

Abzeichen anzeigen

Content Feed

Anzeigen nach

Beantwortet
lsqcurvefit() moved from Matlab to toolbox?
The lsqucurvefit function has always been in the Optimization Toolbox for as long as I’ve been using MATLAB. You may be referri...

etwa 5 Stunden vor | 0

Beantwortet
FFT from a excel file
EDIT — (1 Jun 2023 at 16:07) The array is table apparently created by readtable. Use cell array indexing (explained below) or ...

etwa 9 Stunden vor | 0

Beantwortet
Appy lsqcurvefit to multiple data sets with multiple parameters
If I understand the problem correctly, and all the data sets contain column vectors and are the same column size (they do not ha...

etwa 12 Stunden vor | 0

Beantwortet
Why does str2double command return NaN? What type of array should I convert into for running fitlm command??
Of course str2double returned NaN for all of them because none of them are strings or character vectors. I suspect there are ...

ein Tag vor | 0

| akzeptiert

Beantwortet
Why the nonlinear least square fitted curve is not a curve?
Just for fun, I added a periodic function and a slope to the model — Data=[0.928571429, 0; 0.012118074, 1.5; -0.45000118...

ein Tag vor | 0

Beantwortet
GLOBAL VARIABLE :HOW USE IT?
Please do not ever use global variables. Use the approach described in Passing Extra Parameters instead.

2 Tage vor | 2

Beantwortet
how to find average curve of n curves? n=3 in this case
This is a bit more involved than it first appears. Getting the data from the .fig file is straightforward, however it then ge...

2 Tage vor | 0

| akzeptiert

Beantwortet
How to let Matlab divide my data on time interval [0 400] into multiple time intervals in one plot [0 30] [30 60] etc.
If you have the Signal Processing Toolbox, use the buffer function and a loop — Fs = 259/50; Tlen = 380; t = linspace(0, Tle...

3 Tage vor | 0

Beantwortet
Error using extractAfter Numeric value exceeds the number of characters in element 1. What is wrong? How do I fix this?
You are making this much too difficult! If you want to remove specific variables, first use readmatrix (introduced in R2013b)...

3 Tage vor | 1

Beantwortet
Hi everyone...I am getting transient peak in the signal from 0 to 6000 hz in the sound pressure level plot. Can anyone suggest me how to remove it?
If you are referring to the series of ‘spikes’, the easiest way would be to use findpeaks to define the spikes and the frequenci...

4 Tage vor | 0

Beantwortet
What is diff. b/w fft and pspectrum command in Matlab?
If you only want to plot the magnitude spectrum, use the fft function. The differences between the various functions are sign...

4 Tage vor | 1

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

5 Tage vor | 0

| akzeptiert

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

5 Tage vor | 0

| akzeptiert

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

6 Tage vor | 1

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

6 Tage vor | 1

| akzeptiert

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

6 Tage vor | 0

| akzeptiert

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

6 Tage vor | 0

| akzeptiert

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

7 Tage vor | 0

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

7 Tage vor | 0

| akzeptiert

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

7 Tage vor | 0

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

10 Tage vor | 0

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

10 Tage vor | 2

| akzeptiert

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

10 Tage vor | 0

| akzeptiert

Beantwortet
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') ...

10 Tage vor | 0

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

11 Tage vor | 0

| akzeptiert

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

11 Tage vor | 0

| akzeptiert

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

13 Tage vor | 1

| akzeptiert

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

13 Tage vor | 0

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

13 Tage vor | 0

| akzeptiert

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

13 Tage vor | 0

Mehr laden