Info
This question is closed. Reopen it to edit or answer.
need help with arrays
2 views (last 30 days)
Show older comments
Suppose I have two arrays or two constants with many values in each. Let them be A and B. Length of A is longer than length of B. If A is a continuous sequence of numbers(from 1 to a value) and all values that B contains do exist in A, want a for loop running through values of A, and everytime a value is come across that exists in B an action takes place, and when it doesnt exist another action takes place. Kindly help me out. Thank you.
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!