Re: scaling fxn unique to dataset



In article <g7309t$ach$1@xxxxxxxxxxxxxxxxxx>,
Daniel Boone <goosahol@xxxxxxxxx> wrote:
a user enters a number of words he tries to remember from a
wordlist. all entries are saved as "data". i want to
compare the unique(data) to wordlist to return the number
of uniquely matched words. my problem is that Uniques=any
(strcmp(unique(data),data)) isn't an aligned matrix, and
i'm having some trouble making them scale. any suggestions
would be greatly appreciated.

If data and wordlist are cell strings, then

udata = unique(data);
upos = strmatch( char(udata), char(wordlist), 'exact');
NUniqueWords = length(upos);
--
"The slogans of an inadequate criticism peddle ideas to fashion"
-- Walter Benjamin
.



Relevant Pages

  • Priority Queue implemented as LinkedList api class java
    ... LinkedList class found in the api. ... iterator to step through all entries in the PQ and return the one with the ... I am thinking store the first entry in a temp variable and compare the rest ... When the minimum key is ...
    (comp.lang.java.help)
  • Re: user-level security
    ... >To use their login and compare it to table entries, ... >CurrentUser() function. ...
    (microsoft.public.access.security)
  • RE: Excel 2003 - Numbers vs text
    ... All entries with just numbers should be text and all entries that contain ... alpha characters will still be text. ... I have two tables each with account numbers. ... I have tried just about everything to get a good compare to no ...
    (microsoft.public.excel)
  • Re: user-level security
    ... To use their login and compare it to table entries, ... CurrentUser() function. ...
    (microsoft.public.access.security)