matlab简单测试

这个MATLAB测试涵盖了基本的算术运算、变量赋值、三角函数、错误处理、帮助查询、数组创建、矩阵操作等内容。通过示例展示了如何进行乘除、加减、求余、对数、指数、取整、矩阵乘法等操作,并演示了如何使用输入、保存等功能。
摘要由CSDN通过智能技术生成
octave:1> 548*50/25+29
ans =  1125
octave:2> a=548*50/25+29
a =  1125
octave:3> 2*sin(pi/4)+3cos(pi/2)
parse error:

  syntax error

>>> 2*sin(pi/4)+3cos(pi/2)
                   ^

octave:3> 2*sin(pi/4)+3*cos(pi/2)
ans =  1.4142
octave:4> help

  For help with individual commands and functions type

    help NAME

  (replace NAME with the name of the command or function you would
  like to learn more about).

  For a more detailed introduction to GNU Octave, please consult the
  manual.  To read the manual from the prompt type

    doc

  GNU Octave is supported and developed by its user community.
  For more information visit http://www.octave.org.

octave:5> look image
error: 'look' undefined near line 1 column 1
octave:5> lookfor image
!!! OUT OF TIME !!!

octave:5> lookfor
error: 'str' undefined near line 51 column 16
error: called fr
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值