Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: gkiom
  • Order by date
  1. gkiom

    compare matrix elements

    B(sum(perms(A)==B(:,ones(1,factorial(length(A))))')>0) At this point, the only thing i understand in the line above, is 'sum' (lol). It seems that i have to do a lot of reading! Oh, i can also understand 'length' :P (grateful)
  2. gkiom

    compare matrix elements

    Thank you both. I will check for "help intersect" on the command window first and try some of the "for" loops as well, just to get acquainted with them. Thank you both ppl.
  3. gkiom

    compare matrix elements

    Hi all. I'm new in matlab and i want to do smth like that: Having two matrixes(vectors is better), like A=[1;2;6;3;5;8] B=[4;6;9;7;4;5] I want to compare all elements of A to B, and if an element of A is same with one of B (not in same position necessarilly) to be written in another vector...
  4. gkiom

    compare matrix elements

    Hi all. I'm new in matlab and i want to do smth like that: Having two matrixes(vectors is better), like A=[1;2;6;3;5;8] B=[4;6;9;7;4;5] I want to compare all elements of A to B, and if an element of A is same with one of B (not in same position necessarilly) to be written in another vector...

Part and Inventory Search

Back
Top