Deleting values from a cell array

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일

0 개 추천

out = cellfun(@(x)x(:,1:end-1),fnl,'un',0);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating and Concatenating Matrices에 대해 자세히 알아보기

태그

질문:

Pat
2012년 9월 3일

Community Treasure Hunt

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

Start Hunting!

Translated by