...在某些MATLAB代码中是什么意思? [英] What is the meaning of ... in some MATLAB codes?

查看:140
本文介绍了...在某些MATLAB代码中是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在某些MATLAB代码中...是什么意思? 例如;考虑以下代码(摘录于此处

What is the meaning of ... in some MATLAB codes? e.g; consider the following code (copied from here

[tform, inlierBoxPoints, inlierScenePoints] = ...
    estimateGeometricTransform(matchedBoxPoints, matchedScenePoints, 'affine');
Display the matching point pairs with the outliers removed

figure;
showMatchedFeatures(boxImage, sceneImage, inlierBoxPoints, ...
    inlierScenePoints, 'montage');
title('Matched Points (Inliers Only)');

    boxPolygon = [1, 1;...                         
            size(boxImage, 2), 1;...                 
            size(boxImage, 2), size(boxImage, 1);... 
            1, size(boxImage, 1);...                 
            1, 1];        

如果我不使用...,会发生什么?我已经在不使用这些...的情况下运行了我的程序,我发现没有区别!

What does happen if I do not use ...? I have run my program without using these ... and I see no difference!

推荐答案

省略号(...)用于指示表达式将在下一行继续.当表达式很长时,文本编辑器将无法一次显示整行.我们使用省略号,以便可以一次显示所有内容(无需向右滚动)

Ellipsis (...) is used to indicate that an expression is to be continued in the next line. When an expression is very long, the text editor is not able to display the whole line at once. We use ellipsis so that everything in can be displayed at once (without the need to scroll to the right)

这篇关于...在某些MATLAB代码中是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆