Matlab Delete Row or Col 刪除矩陣的行或列

 

Matlab中,我们有时候要删除矩阵中的某行某列,可以采用下列方法进行删除:

 

a = [
1 2 3
4 5 6
7 8 9];

a(2,:) = []; % Delete row 2
a(:,2) = []; % Delete col 2

 

Database error: [Table 'ac_search_cache' is marked as crashed and should be repaired]

SELECT * FROM ac_search_cache WHERE hash = 'f4af77d45a8f067cd695edb7a8ba155a158e67dc' LIMIT 1;