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

查看:173
本文介绍了什么是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天全站免登陆