实验一 Matlab使用方法和程序设计一、 实验目的1、掌握Matlab软件使用的基本方法;2、熟悉Matlab的数据表示、基本运算和程序控制语句3、熟悉Matlab绘图命令及基本绘图控制4、熟悉Matlab程序设计的基本方法二、 实验内容:1、帮助命令使用help命令,查找 sqrt(开方)函数的使用方法;解:sqrtSquare rootSyntax B = sqrt(X)DescriptionB = sqrt(X) returns the square root of each element of the array X. For the elements of X that are negative or complex, sqrt(X) produces complex results.RemarksSee for the matrix square root.Examplessqrt(-2:2)ans = 0 + 1.4142i 0 + 1.0000i