MATLAB 中的@ 运算符是什么? [英] What is the @ operator in MATLAB?

查看:42
本文介绍了MATLAB 中的@ 运算符是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以前只使用过 MATLAB 6.5.我有一些使用@"的程序.谁能告诉我这是什么?

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

顺便问一下,MATLAB 6.5 支持这个运算符吗?

By the way, does MATLAB 6.5 support this operator?

推荐答案

@ 运算符创建一个函数句柄,它允许您像变量一样轻松地创建和传递函数调用.它有许多不错的功能,但遗憾的是,您无法使用这些功能.这是因为正如您所怀疑的,它直到第 7 版才被引入 matlab,紧随您的发布之后.

The @ operator creates a function handle, something that allows you to easily create and pass around a function call like a variable. It has many nice features, none of which are available to you unfortunately. This is because as you suspect, it was not introduced into matlab until version 7, the release immediately after yours.

这篇关于MATLAB 中的@ 运算符是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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