photo

Moshe Flam


Attivo dal 2017

Followers: 0   Following: 0

Statistica

  • Thankful Level 1
  • First Answer

Visualizza badge

Feeds

Visto da

Domanda


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...

oltre 6 anni fa | 1 risposta | 0

1

risposta

Domanda


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 '==' ...

oltre 6 anni fa | 5 risposte | 1

5

risposte

Risposto
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) == ...

oltre 6 anni fa | 0