Community Profile

photo

Star Strider


Last seen: Today 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
  • Most Accepted 2021
  • Revival Level 3
  • Personal Best Downloads Level 2
  • 5-Star Galaxy Level 3
  • First Submission
  • Grand Master
  • 36 Month Streak
  • Thankful Level 4
  • Knowledgeable Level 5
  • First Answer
  • Scavenger Finisher
  • Solver

バッジを表示

Content Feed

表示方法

回答済み
How to find the steadiest plateau of a signal
One option is to use movstd and movmean. To calculate the number of samples in the window (that the functions require) is str...

約1時間 前 | 0

回答済み
How to retrieve the fit and confidence bounds values, plotted in the graph upon using fitlm function?
That is one of the 'line' objects, however getting the information from it is not straightforward. Itis easier to just use the ...

約2時間 前 | 0

回答済み
Legend command not working when plotting figure
I am surprised that the legend call did not throw an error. It did when I tried to run the code: ElectronEnergy = (1:100:1000...

約24時間 前 | 0

| 採用済み

回答済み
How to mark labels on sampling points
I have no idea what you want to plot. Try this — T1 = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_f...

2日 前 | 0

回答済み
How can I resample data with multiple time column?
One approach — M = [ 19 1 1 0 0 0 1009.4 28.9 71.0 0.0 0.0 0.0 0.0 19 1 1 0 0 30 1009.4 28.8...

2日 前 | 0

| 採用済み

回答済み
How to find x value for a known y in array plot?
Possibly: idx = find(diff(sign(y - 0.8*max(y)))); xvals = x(idx) That should find the closest indices to all of them.

3日 前 | 0

回答済み
how to connect the upper points of a sine curve by making them a curve?
Use the envelope function (R2015b and later) in the Signal Processint Toolbox. Perhaps: envup = envelope(y); The function ...

3日 前 | 1

| 採用済み

回答済み
Not getting curve in my graph
‘Any ideas?’ Yes. Subscript ‘theta’ and all the argument vectors using the loop index ‘i’ rather than ‘n’. n=100; s=ze...

4日 前 | 1

| 採用済み

回答済み
how to get decimal answers?
If you are using the Symbolic Math Toolbox, use the double function if the expressions do not contain symbolic variables. If th...

4日 前 | 1

回答済み
Plotting 5 different filled markers on one graph
If you don’t need lines connecting the points, use the scatter function. It has a 'filled' option to automatically fill the mar...

4日 前 | 0

| 採用済み

回答済み
How to read a .dat file containing an ECG signal?
PhysioBank used to be much friendlier than it now is. I have no idea what records you’re interested in, however the easiest w...

5日 前 | 0

回答済み
Write multiple variables from a function
sw_sats is a 7071x200 array co2_sat is 7071x200 array k_brine is a 1x1500 array Kb is a 1x1500 array That means that ‘Sw’ ...

5日 前 | 0

| 採用済み

回答済み
Change value based on the values of another column
Another approach — v = [-0.00554 -0.00503 -0.00406 -0.00406 -0.00316 -0.00274 -0.00274 0 0 0 0 0 0 0.00233 0.004...

5日 前 | 0

| 採用済み

回答済み
problem in creating plot from for loop
The value of ‘t’ is the last value in the loop, and the intermdiate values of ‘vs’ are not saved, so the result is only one valu...

5日 前 | 1

回答済み
Heat map from csv data
It looks like a surf plot viewed from the top. Try this — T1 = readtable('https://www.mathworks.com/matlabcentral/answers/u...

6日 前 | 1

| 採用済み

回答済み
Shade area between two lines on a plot - max., and min., values
It would help to have the data. This is straightforward using the patch function — x = linspace(0, 110).'; ...

6日 前 | 1

| 採用済み

回答済み
Convert a time string to double
I am not certain what you are doing, however the isbetween function (that does not require conversion out of datetime) may be wh...

6日 前 | 0

回答済み
fprintf use with error
It looks as though you want to print a percent (%) sign. Try this — fileID = 1; ...

6日 前 | 1

| 採用済み

回答済み
How can I apply filer for three signal using matlab
If they all have the same sampling frequency and are the same lengths and the same filtering requirements, concatenate them as c...

6日 前 | 0

回答済み
How to display interval data on x axis in histogram plot (eg. 10-20, 20-30,...) ?
Try this — x_ax_data = ["10-20", "30-40", "50-60", "70-80", "90-100"]; % Create String Vector y_ax_data = [0, 0, 200, 550...

7日 前 | 1

回答済み
I have problem in solving ode45
The principal problem appears to be having 2 differential equations and 1 initial condition. Try this — w=2*pi; zeta=0.25;...

7日 前 | 0

| 採用済み

回答済み
How to build up linear functions in MATLAB and plot the?
The lilnes are easy enough to plot — xm = [0 0.04999; 0.05 0.24999; 0.25 0.6]; ym = [0 0.25; 0.3 0.55; 0.6 1]; for k = 1:s...

7日 前 | 1

回答済み
Get the filename of a loaded file
Save the fille name as a string or character array first, then refer to it as any other variable — filename = '\Data_record_fi...

7日 前 | 1

| 採用済み

回答済み
How to plot this function
Force the NaN value at (0,0) to be 0 — [X,Y] = ndgrid(linspace(-5,5,50)); Z = (X.^3.*Y - X.*Y.^3)./(X.^2+Y.^2); Z(isnan(Z)) ...

8日 前 | 0

| 採用済み

回答済み
How to read excel data include specific word? cell?
Try this — T1 = readtable('https://www.mathworks.com/matlabcentral/answers/uploaded_files/1085430/kpmarch.xlsx') Lv = ismem...

8日 前 | 0

| 採用済み

回答済み
Basic 2D-contour plot
One optiono is to use the first column and first row as the appropriate coordinate vectors, and then the rest of the matrix as t...

9日 前 | 1

回答済み
Filtering Data which not function of time
The data being filtered do not have to be functions of time. They can be functions of anything, so long as the sampling interva...

9日 前 | 0

回答済み
Operator '.^' is not supported for operands of type 'cell'
The original problem was caused by using curly brackets {} around the 4: A=(-(vss.*c.^2)./(ks.^2))+((Vs.*K.*gamma.^2.*ct.^2)./...

10日 前 | 0

| 採用済み

回答済み
how to fit an exponential curve to my signal in a plot?
It would help to have the signal. There appears to be high-frequency noise, so the first step would be to calculate the one-si...

10日 前 | 1

回答済み
plotting X and Y coordinates over time
The data were not supplied, however it quite probably works correctly. You are asking it to do a linear interpolation, probably...

10日 前 | 0

もっと読み込む