photo

Moshe Flam


Aktiv seit 2017

Followers: 0   Following: 0

Statistik

  • Thankful Level 1
  • First Answer

Abzeichen anzeigen

Feeds

Anzeigen nach

Frage


replace only nonzeroes with per-column text and value
I have a vector: data = [11,111; 0,222; 33,0; 0,0; 55,555]; I want a string (or char) array like this: resul...

mehr als 6 Jahre vor | 1 Antwort | 0

1

Antwort

Frage


Logical indexing: Find row in table by text in column
a = {'hi', 'bye'; 'don', 'tcry' }; t = array2table(a); u = t(t.a1 == 'don', :); % error: Undefined operator '==' ...

mehr als 6 Jahre vor | 5 Antworten | 1

5

Antworten

Beantwortet
Check if matrix contains zero or not and ...
Here's the short answer: Explained further. C = M{:,find(sum(M == 0))}; % C are the zero cols indice Z = M(:,C) == ...

mehr als 6 Jahre vor | 0