Insufficient number of outputs from right hand side of equal sign to satisfy assignment.

1 次查看(过去 30 天)
Please help me. Why i am getting this error.
if(X(i,5)==1)
[BB,I]=X(:,:);
  4 个评论

请先登录,再进行评论。

回答(2 个)

Sayyed Ahmad
Sayyed Ahmad 2018-6-27
x={1, 2,3}
[a b c]=x{1:3}

KSSV
KSSV 2018-6-27
X = rand(10,5) ;
BB = A(:,1:3) ;
I = A(:,4:end) ;

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by