What is the @ operator in MATLAB?

前端 未结 3 1526
遇见更好的自我
遇见更好的自我 2020-11-28 13:32

I\'ve only used MATLAB 6.5 before. I got some programs that is using \'@\'. Can someone tell me what is it?

By the way, does MATLAB 6.5 support this operator?

3条回答
  •  悲&欢浪女
    2020-11-28 14:33

    It used to declare Anonymous Functions in Matlab.

    I think the terms is "Function Handle".

    Practically it covers the inability of Matlab to declare a function at any place in any M file.

    You may see it here: What is your favourite MATLAB/Octave programming trick?

    I found it to be useful in Image Processing along with the "blockproc" command.

提交回复
热议问题