Community Profile

Contact

Top 5% contributor

Example A=[1 2;1 3;1 4;1 5;2 4] Ans should be [3 5]

2 Answers

0

Asked 3 months ago

I have a cell matrix A={[1 2 3] [2 8] [9 2 5]}; I want unique value or union of A. The solution should be like this = [...

Asked 4 months ago

A1=[1 4]; A2=[1 3 4]; A3=[1 2 3 4]; A4=[1 2 6 3 4]; I want common pairs from all row (vectors) except first row. It ...

Answered 4 months ago

I have: A1=[3 4] A2=[3 1 4] A3=[3 2 1 4] want to convert as: (3,4) (3,1)(1,4) (3,2)(2,1)(1,4) Now I...

means this problem is not possible? pls give me any other suggestion for this program

Answered 3 years ago

A=[1 6]; B=[2 3 4]; C=[8 9]; i want: comb=1 2 8, 1 2 9, 1 3 8, 1 3 9, ........., 6 4 8,6 4 9 i m ...

Asked 3 years ago

clear all clc; A=[1 2 39]; B=[1 2 3 25 30]; C=[4 5 6 8]; D=[5 6 7 11 31]; E=[8 9 39]; F=[10 11 13 32]; G=[6 10 11 12]; ...

A=[1 2;5 2] B=[2 1;4 5] I want this as Ans: C=[1 2 0 0 5 2 0 0 0 0 2 1 0 0 4 5] Actualy I want to store...

1 Answers

I have, A={A1,A2,A3,A4,A5}, where A1=[1 4]; A2=[]; A3=[1 2 3 4]; A4=[1 2 6 3 4]; A5=[]; How can i find out onl...

A1=[1 4]; A2=[1 3 4]; A3=[1 2 3 4]; A4=[1 2 6 3 4]; I want common pairs from all row (vectors) *except first row...

i have a matrix,and i want remove that row in which numbers repeated A= [3 5 5 6 9 1 7 5 7 2 4 6]; Ans...

My program error is MaxTime exceeded ..... How can i increses MAx Time limit

ld=[1 2 2; 1 3 2; 1 4 3; 2 3 3; 3 4 2; 4 5 4; 4 6 4; 5 6 3]; first two column represen...

ld=[1 2 2; 1 3 2; 1 4 3; 2 3 3; 3 4 2; 4 5 4; 4 6 4; 5 6 3]; first two col...

I have a matrix A=[1 2;3 4]; i wan to single row with all elements of A like like this B=[1 2 3 4] Please help me

Asked 2 years ago

ld=[1 2 2; 1 3 2; 1 4 3; 2 3 3; 3 4 2; 4 5 4; 4 6 4; 5 6 3]; first two column represent edge (node connectivity) of graph and...

0 Answers

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a location from the following list:

See all countries