Azzera filtri
Azzera filtri

removing a column from an array of char and cell type?

1 visualizzazione (ultimi 30 giorni)
suppose i have a char matrix 'c' of size (256*8) all are 8 bit binary vaues. i want to remove the first column of the array and store the remaining (256*7) size matrix in another char matrix 'c1'. and how to do same thing for cell array Thank you for your help in advance.
  1 Commento
Jan
Jan il 16 Nov 2016
These are the basics of Matlab and explained exhaustively in the Getting Started chapters of the documentation. Please read this, because it is more efficient than asking the forum for all details of Matlab. Thanks.

Accedi per commentare.

Risposta accettata

the cyclist
the cyclist il 13 Nov 2016
Same, regardless of type:
c1 = c(:,2:end)

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by