Undefined operator '-' for input arguments of type 'cell'.

Having this error. I just want to subtract the data in my cell.
l = Data(:,total+4);
b = Data(:,total+5);
disp(l-b);

 채택된 답변

KSSV
KSSV 2017년 10월 18일
l = Data{:,total+4};
b = Data{:,total+5};
disp(l-b);
YOu have to access cell's by {}.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Cell Arrays에 대해 자세히 알아보기

태그

질문:

2017년 10월 18일

답변:

2017년 10월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by