摘要: f = fullfile(folderName1, folderName2, ..., fileName) builds a full file specification f from the folders and file name specified. Input arguments folderName1, folderName2, etc. and fileName are each strings enclosed in single quotation marks. The output of fullfile is conceptually equivalent to f = 阅读全文
posted @ 2012-08-02 20:16 小鸡蛋的理想 阅读(1604) 评论(0) 推荐(0)
摘要: functions:Graphical input from mouse or cursorginput提供了一个十字光标使我们能更精确的选择我们所需要的位置,并返回坐标值。函数调用形式为:[x,y] = ginput(n)[x,y] = ginput[x,y,button] = ginput(...)对于[x,y] = ginput(n),能使你从当前的坐标系中读取n个点,并返回这n个点的x,y坐标,均为nX1的向量。可以按回车提前结束读数。[x,y] = ginput 可以无限的读取坐标直到按下回车键。[x,y,button] = ginput(...) 返回x和y的坐标,以及button 阅读全文
posted @ 2012-08-02 10:31 小鸡蛋的理想 阅读(18172) 评论(1) 推荐(1)