matlab删除错误命令,MATLAB常见错误命令汇总

>> a=【0 1 2 3 4 5 6 7 8 9】

??? a=【0 1 2 3 4 5 6 7 8 9】

Error: The input character is not valid in MATLAB statements or expressions.

error ['er?]n. 错误,过失

input ['input]n. 输入

character ['k?rikt?]n. 个性,字符,人物

valid ['v?lid]a。有确实根据的,有效的,正当的

statement ['steitm?nt]n. 声明,陈述

expression [iks'pre??n]n. 表达,表示,表现,表情,措辞,词句

expressions n.表示式,公式

>> x=-5:5;y=-5:5;z=x^2+y^2;polt(x,y,z)

Error using ==> mpower

Matrix must be square.

matrix ['meitriks]n. 母体,子宫,细胞,脉石,字母n.矩阵

square [skw??]n. 正方形,街区,平方a. 正方形的,正直的,公正的v. 一致,符合,使...成方形>> x=-5:5;y=-5:5;z=x.^2+y.^2;polt(x,y,z)

Undefined function or method 'polt' for input arguments of type 'double'.

undefined ['?ndi'faind]未定义的

function ['f??k??n]n. 功能,函数,重大聚会vi. 运行,起作用

method ['meθ?d]n. 方法,办法

argument ['ɑ:gjum?nt]n. 辩论,争论,论据,理由

arguments n. 参数

type [taip]n. 类型,品种,样式,模范v. 打字n. 铅字,字体

double ['d?bl]n. 两倍a. 两倍的,双重的v. 加倍的,快步走,加倍努力

>> function output=mysum(n)

??? function output=mysum(n)

Error: Function definitions are not permitted at the prompt or inscripts.

definition [,d efi'ni??n]n. 定义,清晰度

permit [p?(:)'mit]n. 许可证,执照v. 允许,许可

prompt [pr?mpt]n. 提示a. 迅速的,敏捷的,立刻的vt. 激起,促进,推动

inscription [in'skrip??n]n. 题字,碑铭

>> e——sin函数

??? e——sin函数

Error: The input character is not valid in MATLAB statements or expressions.

在MA TLAB声明或表达式中,输入的这个字符时无效的。

Undefined function or method 'e' for input arguments of type 'char'.

输入的“char”类型的参数“e”没有定义功能、函数或方法。

Input argument "n" is undefined.

输入的参数“n”无定义。

Error: File: yx.m Line: 2 Column: 1

At least one END is missing: the statement may begin here.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值