ScaleTime
- Downloads:
- Views:
- Rating:

ScaleTime - fast linear matrix interpolation
I have recorded timeseries of e.g. size [100'000 x 10] and cut out chunks of about 100 frames according to some events and normalize them to exactly 100 frames.
For this task, the direct approach with Matlab's INTERP1 works, but it is slow:
interp1(1:size(Y, 1), Y, Ti, '*linear')
Cutting Y to blocks of 1000 frames at first accelerates the computing, but encreases the complexity.
Therefore I've created the function ScaleTime for:
- linear interpolation
- equally spaced input data
- equally or non-equally spaced interpolation steps
- matrix input
- no handling of NaNs, no extrapolation.
To my surprise, ScaleTime is dramatically faster for the job mentioned above in comparison to INTERP1 (Matlab 7): M-verion: factor 170, MEX: factor 420! The usual speed gain for other input sizes is about 5 to 20 (see picture and table created by TestScaleTime).
The functions lininterp1f and qinterp1 from the FEX do not accept matrices and they are significantly slower than the MEX ScaleTime:
http://www.mathworks.com/matlabcentral/fileexchange/8627
http://www.mathworks.com/matlabcentral/fileexchange/10286
If you have installed these tools, their speed is compared in TestScaleTime.
Included: M-source, C-source.
Compilation: mex -O ScaleTime.c
Run TestScaleTime.m after compiling!
Please mail me if you need pre-compiled MEX files or in case of questions or problems.
Free download from Shareware Connection - ScaleTime - fast linear matrix interpolation
Version: 1.0 | Size: 10 KB | Platform: Matlab, Scripts
Released Date: 26-06-2013 | Rating: 0 | Title: ScaleTime
Author Url: http://www.mathworks.com
Program Info Url: http://www.mathworks.com
Download Url: http://www.mathworks.com/matlabcentral/fx_files/25463/1/ScaleTime.zip
DateStr2Num - DATESTR2NUM - Fast conversion of DATESTR to DATENUM
FilterM - FilterM, FiltFiltM: Fast digital filter
strncmpr - Compare last N chars of strings or cell strings
Patch FILTFILT - If applied to a matrix, the function FILTFILT (Signal Processing Toolbox) calls itself recursively for each column.
fSGolayFilt - fSGolayFilt is a fast polynomial smoothing filter for uniformly spaced signals
123WebMessenger
Voice Audio Processing
Fractal dimension
Yahoo Messenger
PlaySMS
PID Tuning Using Genetic Algorithm
Continuous Sound and Vibration Analysis
Shock Response Spectrum
Grey prediction algorithm for mobile user localization
GSM Traffic Channel Simulator
OFDM LSE Channel Estimation
Wiener filter for Noise Reduction and speech enhancement
Solutions for Digital and Analog Communication Systems, 7Ed by Leon Couch
Using S-Parameters in MATLAB & Simulink
Affiliate Programs
Animation
Auctions
Audio Systems
Banner Rotation
Blog
Bulletin Boards & Forums
Business & Enterprise
Buttons
Calendars & Events
Charts & Graphs
Chat
Classified Ad Managers
Communication
Linear Interpolation Software
Linear Interpolation Excel
Linear Interpolation Excel Vba
Linear Interpolation Add Excel
Linear Interpolation Vba Code
Full Speed - Full Speed allows yo to get faster internet performance from your current
typecast and typecastx C-mex functions - TYPECAST and TYPECASTX are mex functions intended to mimic the MATLAB intrinsic typecast function with extensions.
One Cat Picture Printer - Drag and Drop picture printing using a thumbnail index and simple layouts
signal envolop - This is just a file which uses the familiar functions which is available in matlab itself.
Easy Picture Email - Easy Picture Email creates and sends pictures in your email without attachments.
Shareware Connection periodically updates pricing and software information of 'ScaleTime' from company source 'Jan Simon' , so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using 'ScaleTime' crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of ScaleTime.
SeaMonkey, Portable Edition - Using the Internet has become a necessity for a majority of people, including those who do not use a PC regularly. To browse web, stream video or download online content, people often resort to using various third party apps. For example, using ...
Driver Fusion - To keep your laptop and desktop running smoothly and get the best performance out of it, it is important to pay attention to some aspects. It is quite important to ensure your PC device drivers are updated. Components like motherboards, GPU and ...
360 Internet Security - Using a computer without having capable Security software installed is equivalent to sleeping with your house’s main door wide open. Whether you use a PC at home or manage a network of computers at the workplace, PC security suite has ...
Device Doctor - Keeping the drivers of hardware components used in your PC is really important. Obsolete device drivers lead to a myriad of problems affecting PC performance. While advanced users may check for outdated drivers personally, this may not be an ...
Magican Monitor - Macs are famous for their superb stability and ease at multitasking. That explains why they enjoy a steady and growing user base, the steep price tag notwithstanding. However, prolonged usage can make even the most powerful iMac or Macbook ...
PhoXo - Even a few years back, it was mostly graphic design professionals or people involved in print media were seen using image editing applications. With digital camera prices nose-diving and mobile imaging reaching new heights, things have undergone ...
Bvckup - There is no denying the reality that computers have become a part and parcel of human existence. From education, work, entertainment and data storage, computers are required at every step of life. Safety of data is of paramount importance to PC ...
Quick Crypt - PC users have become more conscious and careful about privacy of their data these days, especially about the data they need to share with others. There are valid reasons for this trend. Instances of personal information theft and attacking are on ...
ArtSage - PC users often need to make use of third party applications for making slideshows. While Windows inbuilt utility for viewing images and running slideshows keeps getting better with time, for many users third party apps seem better option. If you ...
PhotoScape - Using photo editors is not limited to the circles of graphic designers and print media professionals anymore. Nearly every PC user has some or other image editing app installed in his or her PC. Given the rise of digital camera usage and smart ...