Hello!
I need to check if a squared element exists in the vector as another element.
for example x=[2 3 4]
so the squared value of 2 would be 4 which is in the vector and would result in a returnation of y=true.
This vector is quite small and I need a solution to work for bigger vectors but you get the idea of what I need.
I would love to find some documentation on this if you have it available, been searching for hours without finding anything that I can make work. I tried using find() among other things but couldn't make it work.
Best Answer