No BSD License  

Highlights from
strfind.m

Be the first to rate this file! 3 Downloads (last 30 days) File Size: 844 Bytes File ID: #9008

strfind.m

by Tom Coulter

 

11 Nov 2005 (Updated 14 Nov 2005)

Cell array implementation of STRFIND

| Watch this File

File Information
Description

K = STRFIND(STRS,STR) looks through the rows of the cell array of strings STRS to find strings that contain the string STR, returning the matching row indices.

Functions very much like STRMATCH with a cell array input, except STRMATCH is limited to whenever the cell array string begins with STR.

Unlike STRMATCH, it does not work with a char array input. I think this is a limitation of the Matlab function STRFIND.

MATLAB release MATLAB 6.1 (R12.1)
Other requirements File needs to be located in the STRFUN\@CELL directory within Matlab.
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
14 Nov 2005 Duane Hanselman

This is a builtin function in MATLAB 7.1 (R14sp3)

14 Nov 2005 Michael Robbins

Let's not write off all those who cannot afford to upgrade!

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
strings Tom Coulter 22 Oct 2008 08:06:05
cell array Cristina McIntire 10 Dec 2008 16:55:50
strfind Cristina McIntire 10 Dec 2008 16:55:50
strmatch Cristina McIntire 10 Dec 2008 16:55:50

Contact us at files@mathworks.com