Hi,
I have a nested struct user.data (attached) anda I want to find the unique values of the field touristicRoute (user.data.touristicRoute)
I have tried this code:
for m=1:size(Cluster_USERS,1) for i=1:size(userTouristicTraj(m).touristicData,2) if (user(m).data(i).touristicRoute~=0) uniqueValues=unique(user(m).data(i).touristicRoute) end endend
but it doesn't give me the right value, can you help me?
Best Answer