Rank: 941 based on 119 downloads (last 30 days) and 5 files submitted
photo

Scott McKinney

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by Scott View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
18 Jan 2011 Screenshot Fast root-mean-square (RMS) power Instantaneous root-mean-square (RMS) power via convolution Author: Scott McKinney signal processing, rms power, standard deviation, variance, signal envelope, instantaneous amplitu... 25 1
  • 4.5
4.5 | 2 ratings
18 Oct 2010 Screenshot hilbert2 Extract instantaneous envelope and frequency from a bandlimited signal via Hilbert transform. Author: Scott McKinney signal processing, hilbert transform, analytic signal, envelope, instantaneous envelop..., instantaneous frequen... 33 0
17 Oct 2010 Screenshot mapcolors Create a custom RGB colormap by interpolating between two pre-defined extremes. Author: Scott McKinney graphics, visualization, colormap, rgb, plotting, 3d 8 0
17 Oct 2010 Screenshot derivative Compute derivative while preserving dimensions Author: Scott McKinney signal processing, mathematics, derivative, finite difference, calculus 45 3
  • 4.0
4.0 | 4 ratings
30 Sep 2010 z2p Converts z-statistic to p-value by integrating the standard normal pdf Author: Scott McKinney statistics, normal distribution, hypothesis testing, z statistic, p value 8 0
Comments and Ratings by Scott
Updated File Comments Rating
06 Oct 2010 marginhist.m 2D scatterplot w/marginal histograms. Author: Peter Perkins

This function is quite good. However, for aesthetics, it would be nice to have that supporting line on the x-axis histogram as well as on the y-axis histogram.

This can be achieved by replacing
subplot(2,2,4); bar(cx,-nx,1); h2 = gca; axis([xlim -max(nx)*1.01 0]); axis('off');

with

subplot(2,2,4); bar(cx,-nx,1); line(xlims,[0 0],'Color','k'); h2 = gca; axis([xlim -max(nx)*1.01 0.01]); axis('off');

Comments and Ratings on Scott's Files View all
Updated File Comment by Comments Rating
15 Nov 2013 Fast root-mean-square (RMS) power Instantaneous root-mean-square (RMS) power via convolution Author: Scott McKinney Ozdagli, Ali

A faster way would be:
window=rectwin(window)/length(window).

In the end, rms = sqrt(rms/sum(window)) can be rewritten as rms = sqrt(rms).

15 Nov 2013 Fast root-mean-square (RMS) power Instantaneous root-mean-square (RMS) power via convolution Author: Scott McKinney Ozdagli, Ali

06 Nov 2013 Fast root-mean-square (RMS) power Instantaneous root-mean-square (RMS) power via convolution Author: Scott McKinney Meirelles, Saulo

21 Aug 2013 derivative Compute derivative while preserving dimensions Author: Scott McKinney Baughman, Eowyn

Doesn't work with multidimensional arrays; spits out error "dim must be 1 or 2!".

30 Jul 2012 derivative Compute derivative while preserving dimensions Author: Scott McKinney Jordan, Nick

Contact us