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

1 Ansicht (letzte 30 Tage)
jaah navi
jaah navi am 12 Sep. 2019
Beantwortet: madhan ravi am 12 Sep. 2019
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.

Antworten (1)

madhan ravi
madhan ravi am 12 Sep. 2019
num2cell(a,2)

Kategorien

Mehr zu Data Types finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by