Comparing column vector of different length
Show older comments
Good afternoon, Please, how do I compare the values of 3 by 1 column vector with the values of 4 by 1 column vector one after the other and then take decision in matlab
2 Comments
Abimbola Ayeni
on 8 Nov 2018
madhan ravi
on 8 Nov 2018
give an example and your desired output
Answers (1)
Jan
on 8 Nov 2018
0 votes
This seems to be a job for ismember, setdiff, union or intersect depending on what "compare" means. If this does not help, please post an example of what you want to achieve.
Categories
Find more on Resizing and Reshaping Matrices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!