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 [,defi'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.
alzheimer在MATLAB声明或表达式中,输入的这个字符时无效的。
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.
最后的END被漏掉了:该声明可能重此处开始。
file [fail] n. 档案,公文箱,锉刀v. 列队行进,归档,申请 [计算机] 文件
line [lain] n. 行,线,航线v. 排成一行,顺...排列,划线于
column ['kɔləm]n. 柱,圆柱;柱形物,专栏 [计算机] 列
missing ['misiŋ]a. 缺掉的,失踪的
May [mei, me]n. 五月 aux.可能,可以,祝愿
begin [bi'gin]开始
Unexpected MATLAB expression.
unexpected ['ʌniks'pektid] a. 想不到的,意外的
expression [iks'preʃən] n. 表达,表示,表现,表情,措辞,词句
??? Error using ==> plot
Error in color/linetype argument
Error in ==> axis at 94
                LocSetLimits(ax(j),cur_arg);
Error in ==> hepingtitle at 2
axis([0,6,3,-1.1,1.1]);
??? Error using ==> text
Value must be a string
Error in ==> hepingtitle at 10
text(pi/5,cos(pi/5),'(\pi/5,cos(\pi/5)','fontname',16);
??? Error using ==> axis>LocSetLimits at 234
Vector must have 4, 6, or 8 elements.
Error in ==> hepingsubplot at 4
subplot(2,2,[3 4]),axis(plot(x,tan(x))),title('tan')
??? Error using ==> axis>LocSetLimits at 234
Vector must have 4, 6, or 8 elements.
>> edit hepingfplot
??? Error: File: hepingfplot.m Line: 1 Column: 31
Unbalanced or unexpected parenthesis or bracket.
Warning: An error occurred while reading the desktop configuration file.
Using the default configuration.
>> [q,r]=deconv(p1,p2)
??? Error using ==> deconv at 21
First coefficient of A must be non-zero.
> In example1 at 2
??? Undefined function or method 'ln' for input arguments of type 'double'.
Error in ==> example1 at 2
z=((x+y)*ln(1+y/x))/((1-x-y).^(1/2));
Warning: Matrix is singular to working precision.
> In example1 at 2
??? Error using ==> surf at 70
X, Y, Z, and C cannot be complex.
Error in ==> example1 at 3
洛阳师范学院学报surf(x,y,z)
??? Undefined function or variable 'xy'.
Error in ==> example2 at 2
z=sin(xy)/(x*y);
??? Undefined function or variable 'xy'.
Error in ==> example2 at 2
z=sin(xy)/(x*y);
Warning: Matrix is singular to working precision.
> In example2 at 2
Warning: Matrix is close to singular or badly scaled.
新雅迪传媒
        Results may be inaccurate. RCOND = 5.551115e-017.
> In example2 at 2
>>
>> notebook setup
Welcome to the utility for setting up the MATLAB Notebook for interfacing MATLAB to Microsoft Word
utility [ju:'tiliti] n. 公共设施,效用,公用程序,实用品,实用
setting ['setiŋ] n. 安装,放置,周围,环境
notebook ['nəʊtbʊk] n. 笔记本
interfacing ['intəfeisiŋ] 界面连接, 接口连接, 连接衬布, 衬头
Setup complete
连接完成
Warning: MATLAB is now an automation server
警告:MATLAB现在不能自动服务。
warning ['wɔ:niŋ]n. 警告,预告,通知vbl. 警告,注意,通知
Error in ==> hepingmovie at 4
在“hepingmovie”文件的第四行有错误。
    y=1-1./sprt(1-k^2)*exp(-k*x).*sin(sprt(1-k^2)*x+a*cos(k));
>> int(x^x,a,b)
军事学院Warning: Explicit integral could not be found .
explicit [iks'plisit]a. 明确的,详述的,明晰的,外在的
integral ['intigrəl]a. 构成整体所必需的,完整的n. [数学] 积分, 完整, 部分
found [faund] v. office小建立,创立, 创办vbl. (find的过去分词)
明确的积分表达式不能建立。

本文发布于:2024-09-22 09:30:12,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/438007.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:连接   函数   警告   不能
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议