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

1 Ansicht (letzte 30 Tage)
Kim Lopez
Kim Lopez am 18 Okt. 2017
Beantwortet: KSSV am 18 Okt. 2017
Having this error. I just want to subtract the data in my cell.
l = Data(:,total+4);
b = Data(:,total+5);
disp(l-b);

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Modeling finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by