![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/3814697_1522098435966_DEF.jpg)
David J. Mack
UniversityHospital Zurich
Followers: 0 Following: 0
Feeds
제출됨
detectEcgWithAngle(ecg, fSInHz, varargin): Heartbeat detection using sample-to-sample angle
Implementation of the R-peak detector using the angle between successive samples.
대략 7년 전 | 다운로드 수: 2 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/63184/versions/6/screenshot.png)
답변 있음
how to compute running correlation coefficient
And again... Have a look at <https://ch.mathworks.com/matlabcentral/fileexchange/65342 MOVCORR> Greetings, David
how to compute running correlation coefficient
And again... Have a look at <https://ch.mathworks.com/matlabcentral/fileexchange/65342 MOVCORR> Greetings, David
대략 7년 전 | 1
답변 있음
How to compute sliding or running window correlation coefficient?
If someone encounters this problem, I have written a function in analogy to the MOVSUM function, which compute the moving Pearso...
How to compute sliding or running window correlation coefficient?
If someone encounters this problem, I have written a function in analogy to the MOVSUM function, which compute the moving Pearso...
대략 7년 전 | 0
답변 있음
Rolling correlation / moving correlation
Hey Mate, I have written a function in analogy to the MOVSUM function, which does exactly that: <https://ch.mathworks.com/...
Rolling correlation / moving correlation
Hey Mate, I have written a function in analogy to the MOVSUM function, which does exactly that: <https://ch.mathworks.com/...
대략 7년 전 | 0
제출됨
movcorr(x, y, k, varargin): Compute windowed correlation coefficient
Compute a moving correlation for two vectors x & y in analogy to the MOV* functions.
대략 7년 전 | 다운로드 수: 19 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/65342/versions/8/screenshot.png)
답변 있음
How to find next number divisible by n
How about b = n * ceil(a / n) Greetings, David
How to find next number divisible by n
How about b = n * ceil(a / n) Greetings, David
대략 7년 전 | 0
답변 있음
Find RR Interval in seconds
The obvious solution would be: rrInSec = rrInSamples / samplingRateInHz
Find RR Interval in seconds
The obvious solution would be: rrInSec = rrInSamples / samplingRateInHz
대략 7년 전 | 1
| 수락됨
답변 있음
Change legend width after reisze of legend line length
Hey Simon, this is an issue which pops up regularly, since the customization options of legends are currentyl (when I last ch...
Change legend width after reisze of legend line length
Hey Simon, this is an issue which pops up regularly, since the customization options of legends are currentyl (when I last ch...
7년 초과 전 | 0
답변 있음
How to delete a plot in UIAxes?
You could store the handle to the fitted line in the UserData of the figure and then retrieve it every time the button is hit an...
How to delete a plot in UIAxes?
You could store the handle to the fitted line in the UserData of the figure and then retrieve it every time the button is hit an...
7년 초과 전 | 1
| 수락됨
답변 있음
Grouping multivariant data for Andrewsplot
Hey! So |andrewsplot| states that "The rows of X correspond to observations, the columns to variables". It seems that you hav...
Grouping multivariant data for Andrewsplot
Hey! So |andrewsplot| states that "The rows of X correspond to observations, the columns to variables". It seems that you hav...
7년 초과 전 | 0
| 수락됨
답변 있음
How changing the loglog scale x and y axis?
Have you tried to use <https://ch.mathworks.com/help/matlab/ref/semilogy.html semilogy> instead of |loglog|, e.g.: semilogy...
How changing the loglog scale x and y axis?
Have you tried to use <https://ch.mathworks.com/help/matlab/ref/semilogy.html semilogy> instead of |loglog|, e.g.: semilogy...
7년 초과 전 | 1
제출됨
table2char(data,varargin)
Converts a table or dataset to a formatted character matrix.
7년 초과 전 | 다운로드 수: 3 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/58951/versions/12/screenshot.jpg)
제출됨
printFigs2Files(varargin)
Print figures to files in several formats for publication.
7년 초과 전 | 다운로드 수: 1 |
제출됨
onoffids2logical(onOffIds, varargin)
Convert start and end ids of events to logical indicator array.
거의 8년 전 | 다운로드 수: 1 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/58984/versions/4/screenshot.png)
답변 있음
Increase nonzero values without deleting zeros
Hey monmatlab, simply use logical indexing: Y = X; isNonzero = X~=0; Y(isNonzero) = 10*Y(isNonzero); or the more ...
Increase nonzero values without deleting zeros
Hey monmatlab, simply use logical indexing: Y = X; isNonzero = X~=0; Y(isNonzero) = 10*Y(isNonzero); or the more ...
거의 8년 전 | 1
| 수락됨
답변 있음
A very quick question
Hey Radoslav, In general, to convert a logical array to ids use |<http://www.mathworks.com/help/matlab/ref/find.html find>|. ...
A very quick question
Hey Radoslav, In general, to convert a logical array to ids use |<http://www.mathworks.com/help/matlab/ref/find.html find>|. ...
거의 8년 전 | 0
답변 있음
How to create a new matrix adding vectors of different size based on time
Hey Robert! First, a conceptual question: Can you make sure you have the same sampling interval & phase across all your signa...
How to create a new matrix adding vectors of different size based on time
Hey Robert! First, a conceptual question: Can you make sure you have the same sampling interval & phase across all your signa...
거의 8년 전 | 1
| 수락됨
답변 있음
Plotting a lattice with color coded nodes
Hey Bill! % Generate the random values on the 50x50, 2-dimensional lattice directly % using X = randi(imax,sz1,...,szN)...
Plotting a lattice with color coded nodes
Hey Bill! % Generate the random values on the 50x50, 2-dimensional lattice directly % using X = randi(imax,sz1,...,szN)...
거의 8년 전 | 0
| 수락됨
답변 있음
How can I adjust the labels on contour lines in a 'meshc' 3D-plot?
Hey Ibrahim, have a look at <https://ch.mathworks.com/help/matlab/ref/contour-properties.html |Contour Properties|> - the |La...
How can I adjust the labels on contour lines in a 'meshc' 3D-plot?
Hey Ibrahim, have a look at <https://ch.mathworks.com/help/matlab/ref/contour-properties.html |Contour Properties|> - the |La...
거의 8년 전 | 0
| 수락됨
답변 있음
how to reduce dimensionality of features by usin pca?
To get a simply answer (whitout really adressing the problem), have a look as <https://ch.mathworks.com/help/stats/pcares.html |...
how to reduce dimensionality of features by usin pca?
To get a simply answer (whitout really adressing the problem), have a look as <https://ch.mathworks.com/help/stats/pcares.html |...
거의 8년 전 | 0
답변 있음
Replication factors must be a row vector of integers or integer scalars.
nFilters/16 is probably not an integer. Depending on your needs, try round(nFilters/16) instead or use a number of filters which...
Replication factors must be a row vector of integers or integer scalars.
nFilters/16 is probably not an integer. Depending on your needs, try round(nFilters/16) instead or use a number of filters which...
거의 8년 전 | 1
답변 있음
TEXTSCAN is my personal nemesis: Quotes strings with commas
Thanks Stephen for staying with me (you where right in the first place; reading the doc carefully helps)! I finally found my ...
TEXTSCAN is my personal nemesis: Quotes strings with commas
Thanks Stephen for staying with me (you where right in the first place; reading the doc carefully helps)! I finally found my ...
대략 8년 전 | 0
질문
TEXTSCAN is my personal nemesis: Quotes strings with commas
Dear all, I thought I acquired some Matlab knowledge over the years. But |textscan| really makes me feel dumb. I can not fi...
대략 8년 전 | 답변 수: 3 | 0
3
답변답변 있음
Replace elements in a SxS matrix with zero, in each column but in different rows
Hey Miroslav, have you looked at the |<http://www.mathworks.com/help/matlab/ref/sub2ind.html sub2ind>| function? Should be so...
Replace elements in a SxS matrix with zero, in each column but in different rows
Hey Miroslav, have you looked at the |<http://www.mathworks.com/help/matlab/ref/sub2ind.html sub2ind>| function? Should be so...
대략 8년 전 | 1
답변 있음
What does "something = cell (size(session,1),1" mean/look like?
Hey Marie, the above creates a column cell with n elements, where n are the number of rows of session. Cheers, David
What does "something = cell (size(session,1),1" mean/look like?
Hey Marie, the above creates a column cell with n elements, where n are the number of rows of session. Cheers, David
대략 8년 전 | 1
제출됨
simulateSaccades - A simple and easy-to-use saccade model
Simulates saccades which follow an empirical measured main sequence
대략 8년 전 | 다운로드 수: 1 |
![Thumbnail](/matlabcentral/mlc-downloads/downloads/submissions/60450/versions/2/screenshot.png)
답변 있음
Import and find a specific number from a text file
Try use regexp: file='c:\Users\David J. Mack\Desktop\test.txt'; numFormat1 = {'[ ]{1,7}(\-?\d+\.\d{3})'}; %e.g. %12.3f ...
Import and find a specific number from a text file
Try use regexp: file='c:\Users\David J. Mack\Desktop\test.txt'; numFormat1 = {'[ ]{1,7}(\-?\d+\.\d{3})'}; %e.g. %12.3f ...
대략 8년 전 | 0
답변 있음
how to plot auto correlation and cross correlation function in a single figure?
The negative autocorrelation is the same as the positive as you use the same signal for the correlation. So if you want to pret...
how to plot auto correlation and cross correlation function in a single figure?
The negative autocorrelation is the same as the positive as you use the same signal for the correlation. So if you want to pret...
대략 8년 전 | 0
답변 있음
3D plot of an equation with 3 variables
Hey Amruth, have a look at |<https://www.mathworks.com/help/matlab/ref/surf.html surf>|. Use the surf(x,y,z,c) syntax. Gre...
3D plot of an equation with 3 variables
Hey Amruth, have a look at |<https://www.mathworks.com/help/matlab/ref/surf.html surf>|. Use the surf(x,y,z,c) syntax. Gre...
대략 8년 전 | 0