Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.391.714 Times

Average Across Frequencies 1.0

  Date Added: April 30, 2013  |  Visits: 366

Average Across Frequencies

Report Broken Link
Printer Friendly Version


Product Homepage
Download (43 downloads)



This sounds at first like a trivial task, but in practice took something that works correctly and faster for larger datasets (i.e. without using a simple find or related statement each time within a for loop). Thus I am submitting this here in case it might the time of anyone else with similar needs who comes across this.Help comments for the function:%function [OutVals fout]=AvgAcrossFreqs(InVals,fraw,fstep,fk,f0cut,CalcType)%% Will Avg InVals across the freq vals give in fraw into the output% frequency bins separated by fstep with range given by fk, and initial bin% determined by f0cut.%% This could of course be applied generally to average any one value over% another, but was written with the intention of averaging coherence or% spectral power values across frequencies in a data format with multiple% repetitions (for example multiple subjects or experiment sessions).%% Inputs% InVals: The values to be averaged across. Could be a single% numeric array, of dimension NReps x nRawf, or could be% a 1D cell array of any number of such a numeric array.% fraw: A 1D vector of length nRawf (matching the 2nd% dimension of numeric arrays of InVals) indicating the% input freequency correspnding to each val of InVals.% Assuemd to be in Hz- though any freq unit could be used% if the other inputs are consistent with that unit.% fstep: The frequency resolution (in Hz) of the output that the% InVals are averaged into. Defaults to 1/8.% fk: A 1x2 or 2x1 vector indicating the output frequency% range to use. Defaults to [0 100].% f0cut: Indicates the upper cutoff frequency used for the% first bin. ... so the first output bin frequency will% avg InVals from fk(1) up to f0cut, and each output bin% will increase in fstep steps from there. Defaults to% fstep/2.% CalcType: Indicates how to do the averaging. This can be a% scalar, or if InVals is a cell array, a 1D vector with% each value corresponding to each cell in InVals. This% can also be a scalar if InVals is a cell array, in% which case the value will apply to all cells of InVals.% case:% 1 corresponds to a basic nanmean. (for coh mags, abs% vals should be done to the input BEFORE CALLING% this function.) (This is the Default)% 2: any function.% 3: sum function% 4: angle of the sum across frequencies% 5: angle of the sum across repetitions and% frequencies. Note that this affects the size of% OutVals, by forcing it to have 1 row/rep.%% Outputs% OutVals: A numeric array or CellArray corresponding to InVals.% Each numeric array will have dimensions nReps x nfout.% (Or possible 1 x nfout if CalcType is set to 5).% fout: The output frequencies, corresponding to the center% frequency of each frequency bin in OutVals.%% Matthew Nelson 2010% nelsonmj@caltech.edu http://www.its.caltech.edu/~nelsonmj/

Requirements: No special requirements
Platforms: Matlab
Keyword: Assuemd Consistent Correspnding Defaults Increase Inputs Resolution Steps
Users rating: 0/10

License: Shareware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


AVERAGE ACROSS FREQUENCIES RELATED
Development Tools  -  Increase Image Resolution 1.0
IIR Increases the resolution of an image by interpolationB= IIR(inputfile,f) returns the image stored in file 'inputfile' with resolution increased by factor f in both dimensions. 'filename' must be a valid graphic file (jpg, gif, tiff, etc.). It...
10 KB  
MP3 Tools  -  Topaz Enhance 2. 2. 2002
The After Effects/Premiere video enhancement plug-in Topaz Enhance features a series of advanced filters that dramatically increase the quality of processed videos. The breakthrough proprietary technology used in this software are not found...
2.68 MB  
Development Tools  -  Function 'readyforprint' 1.0
This script resizes and reformats images for inclusion in documents, presentations or web pages.This function modifies- paper size (size of output document when output using 'print')- font sites- colours of axes, legend boxes and colour bar boxes-...
10 KB  
Multimedia  -  tmark.m 1.0
TMARK Tickmark annotation class for 2-D plots. Usage: t = tmark([x,y],varargin) t = tmark(ginput(1),'color','r','label','Peak 1') Tmarks are user positioned annotation objects whos position's remain fixed in axes units when plot axes are...
10 KB  
Visual Basic Utilities  -  ClearImage Tools 5.5
Design specific, sophisticated batch operations, quality assurance measures, forms processing, logical operations, line modification and other customized manipulations. Create the precise set of operations and logic flows, to support your...
6.32 MB  
Games  -  Qonk 0.0.1
Qonk project is a game I wrote to learn some SDL basics. The game is a small build-and-conquer strategy game with very simple rules. A complete game only lasts for a few minutes and can be a fun break away from work or whatever youre doing. The...
53.25 KB  
Business  -  Convert JPG to PDF documents 2.8.0.4
Convert JPG to PDF documents Creator Create PDF from JPG is user friendly for conversion of images to PDF tool such as JPG JPEG .jpg .jpeg. JPG to PDF creator set password protection, merge multiple JPG images into one PDF file. Convert JPG to PDF...
600 KB  
Communication  -  Extended DFT 1.0
EDFT (Extended Discrete Fourier Transform) algorithm produces N-point DFT of sequence X where N is greater than the length of input data. Unlike the Fast Fourier Transform (FFT), where unknown readings outside of X are zero-padded, the EDFT...
235.52 KB  
Development Tools  -  CONFIGR (CONtour FIgure and GRound) 1.0
This software has been realized at the CNS Technology Lab at Boston University - http://techlab.bu.edu. The main author of this software is Chaitanya Sai ( http://techlab.bu.edu/members/sai/ ).CONFIGR (CONtour FIgure GRound) is a computational...
256 KB  
Development Tools  -  Calibration of Forward Price, Volatility, and Correlations across multiple assets 1.0
This paper outlines a methodology for calibrating the Schwartz-Smith two factor commodity pricing model across multiple commodities such that on the valuation date:1. The calibration produces simulations that are consistent with the current...
419.84 KB  
NEW DOWNLOADS IN SCRIPTS, DEVELOPMENT TOOLS
Scripts  -  Freelancer Script 5.05
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Post projects. Featured projects. Private projects. Sealed projects. Edit/delete projects. Select freelancers....
5.49 MB  
Scripts  -  B2B Script 4.20
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Sign-up Account (Registration of account). Lead generation tools (for the sellers). Email verification to...
5.49 MB  
Scripts  -  B2C Script 5.06
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). The script comes with totally editable site colors, icons and graphics Multilevel categories allows extensive browsing Admin can change Category ordering or...
5.49 MB  
Scripts  -  Social Networking Script 2.86
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Registration with name, email, password, date of birth etc. User can add multiple school, college, university with start...
5.49 MB  
Scripts  -  Business Networking Script 8.04
Main Features: 100% Secured. Email Support (3 Years). FREE Updates (3 Years). Ajax based interface. Profile creation. Different types of profile. Profile for jobseekers, employers and employed...
5.49 MB  
Development Tools  -  Aml2CHM 3.50
Those who use the popular Aml Pages text editor might be looking out for a way of generating help files from their text and notes. Aml2CHM is a plug-in that was developed to offer people a quick and efficient way of converting Aml Pages documents...
549.99 KB  
Development Tools  -  VMP Viewer 1.0
This is a very rudimentary tool to visualize the VMP files generated by BrainVoyager. Useful to share files with people who do not have BV.
10 KB  
Development Tools  -  Sending reports and timestamped file by emailing 1.0
main executing reference usage:[1] usage_send_mail.mIllustrates email sending with multiple separate files or single timestamped tar file. Attachment failure is properly handled, with continuation of report emailing without the attachment.[2]...
768 KB  
Development Tools  -  IrisMVC 2.0 rc1
IrisMVC is an OOP PHP framework that developers can use as a strong and secure foundation to build on various web applications following the Model-View-Controller (MVC) pattern. It provides the basic functionality developers need, without...
51.2 KB  
Development Tools  -  7-Zip for Script 4.42
7-Zip is a file archiver with a high compression ratio.Features:- High compression ratio in new 7z format with LZMA compression- Supported formats:- Packing / unpacking: 7z, ZIP, GZIP, BZIP2 and TAR- Unpacking only: RAR, CAB, ISO, ARJ, LZH, CHM,...
624.64 KB