Function intersect - set operations, Other Engineering

Assignment Help:

Function intersect - set operations:

The function intersect returns, additionally to the vector having the values in the intersection of v1 and v2, an index vector into v1 and an index vector int v2 in such a way that outvec is similar as  v1(index1) and also v2(index2).

>> [outvec, index1, index2] = intersect(v1,v2)

outvec =

   3     5

index1 =

   2     4

index2 =

   2     3

By using such vectors to index into v1 and v2 will return the values from intersection. For illustration, such expression returns the second and fourth elements of v1:

>> v1(index1)

ans =

   3     5

This will return the second and third elements of v2:

>> v2(index2)

ans =

   3     5

 


Related Discussions:- Function intersect - set operations

What is basic function of subroutine, Question: a) Write the detailed ...

Question: a) Write the detailed operation/description of the following mnemonics: (i) MOVX @DPTR, A (ii) MOVC A, @A + PC (iii) PUSH add b) What is a subroutine and

Finance, Derive the functional relationship between the no-arbitrage values...

Derive the functional relationship between the no-arbitrage values of the two vertical spreads.

P d c, what are clippers

what are clippers

Aeroengines - compressible flow, All fluids are to some extent compressible...

All fluids are to some extent compressible but gases show significant changes in density if pressure and/or temperature is changed. Some gas flows can be treated as being incomp

Engineering seminar, Hey ,How are you? I need help in another class , its 1...

Hey ,How are you? I need help in another class , its 1 credit class ( Engineering seminar ), how to choose s.d in this class , , ,so we want describing our project which is ( radi

Degeneracy , If a single energy eigen value corresponds to more than one ei...

If a single energy eigen value corresponds to more than one eigen function then degeneracy is said to be exist and the number of wave function associated with a single value of ene

Financial managment, what is the consideration of time importance in financ...

what is the consideration of time importance in financial management? how can time time be adjust illustrate you?

Developing the optics and imaging components of a mi, I have senior design ...

I have senior design this semester and my professor give my this project. could you help me

Passive clearance control system - aircraft engine, Passive clearance contr...

Passive clearance control system : Compressor discharge air and HP compressor air provide cooling airflow to protect the turbine casing against rapid temperature changes. Th

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd