Azzera filtri
Azzera filtri

could anyone help me to arrange the number in set brackets {}

1 visualizzazione (ultimi 30 giorni)
i am having a matrix a=[1 2;
1 3;
2 4;
3 4]
I want to arrange the numbers present in matrix as set brackets.
{1 2}
{1 3}
{2 4}
{3 4}
Could anyone please help me on this.

Risposte (1)

madhan ravi
madhan ravi il 12 Set 2019
num2cell(a,2)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by