Azzera filtri
Azzera filtri

How to combine cells into a single cell?

1 visualizzazione (ultimi 30 giorni)
Sim
Sim il 21 Mag 2024
Commentato: Voss il 21 Mag 2024
How to pass from "a" to "b", here following?
a = [{'[1,2)'}, {'[2,6)'},{'[6,11)'}]; % input
b = {'[1,2)','[2,6)','[6,11)'}; % desired output
I tried cat, but, it does not work:
b = cat(1,a{:})
Error using cat
Dimensions of arrays being concatenated are not consistent.

Risposta accettata

Voss
Voss il 21 Mag 2024
  4 Commenti
Voss
Voss il 21 Mag 2024
You're welcome!

Accedi per commentare.

Più risposte (0)

Categorie

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

Community Treasure Hunt

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

Start Hunting!

Translated by