Info
此问题已关闭。 请重新打开它进行编辑或回答。
Error using horzcat Dimensions of matrices being concatenated are not consistent.
1 次查看(过去 30 天)
显示 更早的评论
Error using horzcat
Dimensions of matrices being concatenated are not consistent.
Error in q1_fpi_150115 (line 71)
disp([' iteration = ' num2str(count) ' xf=' num2str(xf) ' yi=' num2str(yf) ' ex=' num2str(ex) ' ey=' num2str(ey) ])
The code is :
xf= (-(a1*xi.^2 + b1*yi.^2 + 2*f1*y +c1 )/(2*h1+ 2*g1)) ;
yf= (-(a2*xf.^2 + b2*yi.^2 + 2*g2*xf +c2 )/(2*h2+ 2*g2)) ;
disp([' iteration = ' num2str(count) ' xf=' num2str(xf) ' yi=' num2str(yf) ' ex=' num2str(ex) ' ey=' num2str(ey) ])
0 个评论
回答(1 个)
Walter Roberson
2017-6-9
One of the variables count or xf or yf or ex or ey has multiple rows. You did not post enough information for us to determine which one.
1 个评论
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!