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

1 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by