Quantcast
Channel: Mein MATLAB Forum - goMatlab.de
Viewing all articles
Browse latest Browse all 28441

Löschen von Spalten in Cell Array

$
0
0
emptyIndex = cellfun(@isempty,y_werte); %# Find indices of empty cells y_werte(emptyIndex) = {0}; %# Fill empty cells with 0 mylogicalarray = cell2mat(y_werte); %# Convert the cell array so hab ichs gemacht.... vielleicht findet aber jemand ne schönere Lösung! LG Basti

Viewing all articles
Browse latest Browse all 28441

Latest Images

Trending Articles