strncmpr 1.0 |
Date Added: August 21, 2013 | Visits: 266 |
|
||||||||
Compare last N chars of strings or cell stringsInput and output equal Matlab's STRNCMP/STRNCMPI, but the strings are compared from right to left.T = strncmpr(S1, S2, N) or T = strncmpir(S1, S2, N)INPUT: S1, S2: Strings or cell strings. N: Number of characters to compare.OUTPUT: T: Logical array, TRUE if the last N characters are equal, FALSE otherwise. For STRNCMPIR the case is ignored.Comparing just two strings in the backward direction can be done in Matlab with a fair efficiency. But for cell strings, this C-Mex is much faster than equivalent Matlab methods: e.g. 3% processing time for comparing a string with a {1 x 100} cell, 1% for {1 x 1000}. I apply it to identify the extensions of file names stored in cell strings.Call the unit-test function Teststrncmpr to check validity and speed.Tested: Matlab 6.5, 7.7, 7.8, WinXP, compatibility to Linux and OS-X assumed.Compiler: LCC2.4/3.8, BCC5.5, OpenWatcom 1.8, MSVC 2008.It is assumed that wchar_t has the same size as mxChar.Pre-compiled Mex: http://www.n-simon.de/mexI'd appreciate suggestions for improvements and bug reports sent through email - thanks
|
License: Shareware | Size: 10 KB |
Home & Leisure
-
MB I-Ching Compatibility 1.0
MB I-Ching Compatibility Software is just the right tool for you if you want to check compatibility between partners according to the I Ching principles. This wonderful tool applies the I Ching compatibility principles and does a I-Ching... |
1.51 MB | |
Word Processing
-
TypingMaster's Bubbles 1.7
Check your typing speed with this online game! Type the letter to burst the bubble and score. |
||
Development Tools
-
DGradient 1.0
Gradient along a specified dimensionY = DGradient(X, Dim, Spacing, Method)INPUT: X: Real DOUBLE array, any number of dimensions. Spacing: Scalar or vector of the length SIZE(X, Dim). Dim: Dimension to operate on. Optional, default: 1st... |
10 KB | |
Development Tools
-
Apply a function to a specific field of a structure 1.0
This function searches in the fields of a structure, and applies a given function to all occurrences of a specific field. dlTe September 30th, 2009, By Reza Farrahi Moghaddam, Synchromedia Lab, ETS, Montreal, Canada USAGE: temp_structure =... |
30.72 KB | |
Modules
-
Better Plugin Compatibility Control 1.0
The version compatibility information is added to the installed plugins listing page.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Requirements: - WordPress 2.5... |
||
Development Tools
-
Linear equation system 'Ax=r' by Gauss elimination method 1.0
This Matlab program Solve N-equation with Gauss elimination method and check results with Matlab Function. |
10 KB | |
Development Tools
-
DateConvert 1.0
DateConvert: Simple but fast date conversionDateConvert converts the DATESTR(0) format to a date vector or serial date number and backwards.Matlab's DATENUM, DATEVEC and DATESTR accept a variety of inputs, but in consequence they are slow. If the... |
10 KB | |
Audio Editors
-
Wondershare PowerSuite Golden 2012 7.0.1
Rescue crashed PC or hard drive Boot up computer with bootable CD/USB System recovery from crashes as bluescreen, blackscreen. Fix booting problem, random crash and missing files crash such as 'ntldr is missing', 'bootmgr is missing',... |
352 MB | |
Development Tools
-
makebottle.m 1.0
This function constructs a bottleneck (or autoassociative) neural network. It is used for dimensionality reduction or nonlinear principle components analysis. This function was tested under MATLAB 5.3, and requires the Neural Network toolbox. |
10 KB | |
Communication
-
Example: Creating TimeSeries and TsArray Inputs for Simulink Bus Signal Input Data 1.0
This entry provides functions and examples allowing you to create Simulink.TsArray and Simulink.TimeSeries objects from a script or the MATLAB command line. A Simulink.TsArray object can be used as input data for a bus signal input in... |
40.96 KB |
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 |