help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: list of different strings in array


From: Andrew Janke
Subject: Re: list of different strings in array
Date: Fri, 8 Feb 2019 17:21:59 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Thunderbird/60.5.0



On 2/8/19 4:55 PM, turbofib wrote:
hi,
d=["rev","ber",ber","ber","rev","poi"]

ans= [rev ber poi]

i want to list different word

it's possible to avoid loop? thank



[unique_strings, ix, jx] = unique (d);

Cheers,
Andrew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]