[Top][All Lists]

[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:51:56 -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 5:32 PM, turbofib wrote:
hi, thank for answer

unique_strings =  67f
ix =

     8    9   11   13

jx =

    4   4   1   1   4   4   1   1   2   3   3   4   4

but i receive number but not string :(

Are you sure your input is a cellstr?


Using square brackets like that will actually produce just one big long string. You probably want to use curly brackets to produce a cellstr (cell array of strings) like this:


Check the type of d with "class (d)" and "iscellstr (d)".


reply via email to

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