Finding a list of numbers in a list

I am confused on how I could find a list of numbers in another list of numbers. I think I explain it better in the link. Lists Help | Desmos

Is this what you are looking for?
https://www.desmos.com/calculator/ccucrvap3d

In the graph there is a function that finds the indices of all the occurrences of the elements of M in the list L.

1 Like

I think maybe he wants to filter a list based on some function, like floor. Not sure how to do this. Can you not just do floor([1.1,2.1,3.1])?

What I was trying to say was how could I remove one list from another list.

I was also trying to translate a list into a list of colors (kind of like this), but I think I could figure it out myself.

Thank you for your help!

https://www.desmos.com/calculator/her8vr6qle

r_removeFromL(L, M) removes all elements of M from L

1 Like

to convert a list of of numbers into a list of colors you can just use those numbers as indices of your list of colors … (if they are in right range …) :
https://www.desmos.com/calculator/zzdzaxjkct

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.