Deleting values from a cell array

조회 수: 3 (최근 30일)
Pat
Pat 2012년 9월 3일
I have values as
fnl =
{1127x4 cell}
{1126x4 cell}
{1125x5 cell}
in this i want to delete the final column
please help

채택된 답변

Andrei Bobrov
Andrei Bobrov 2012년 9월 3일
out = cellfun(@(x)x(:,1:end-1),fnl,'un',0);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by