编写matlab代码程序时候,可能会出现代码太长,一行写的过长会不适合阅读可以通过行连接符号(“…”)
Sum_error =abs(2*squeeze(X_predict(1,1,:))-squeeze(X_predict(1,2,:))-squeeze(X_predict(1,7,:)))+...
abs(2*squeeze(X_predict(2,1,:))-squeeze(X_predict(2,2,:))-squeeze(X_predict(2,7,:)))+...
abs(2*squeeze(X_predict(3,1,:))-squeeze(X_predict(3,2,:))-squeeze(X_predict(3,7,:)))+...
abs(2*squeeze(X_predict(4,1,:))-squeeze(X_predict(4,2,:))-squeeze(X_predict(4,7,:)))+...
abs(2*squeeze(X_predict(5,1,:))-squeeze(X_predict(5,2,:))-squeeze(X_predict(5,7,:)))