matlab函数英文说明.docx_第1页
matlab函数英文说明.docx_第2页
matlab函数英文说明.docx_第3页
matlab函数英文说明.docx_第4页
全文预览已结束

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

sin - Sine of argument in radiansThis MATLAB function returns the sine of the elements of X.rand - Uniformly distributed pseudorandom numbers This MATLAB function returns a pseudorandom scalar drawn from the standard uniform distribution on the open interval (0,1).global - Declare variables as globalThis MATLAB function declares variables var1 .sqrt - Square rootThis MATLAB function returns the square root of each element of the array X.title - Add title to current axes This MATLAB function adds the title consisting of a string, str, at the top andin the center of the current axes.meshgrid - Rectangular grid in 2-D and 3-D space This MATLAB function replicates the grid vectors xgv and ygv to produce a fullgrid.inv - Matrix inverseThis MATLAB function returns the inverse of the square matrix X.inf - Infinity This MATLAB function returns the IEEE arithmetic representation for positiveinfinity.fix - Round toward zero This MATLAB function rounds the elements of A toward zero, resulting in an arrayof integers.ones - Create array of all onesThis MATLAB function returns the scalar 1.linspace - Generate linearly spaced vector This MATLAB function returns a row vector with 100 linearly spaced points in theinterval x1,x2.sort - Sort array elements This MATLAB function sorts the elements of A in ascending order along the firstarray dimension whose size does not equal 1.grid - Grid lines for 2-D and 3-D plotsThis MATLAB function adds major grid lines to the current axes.plot - 2-D line plot This MATLAB function creates a 2-D line plot of the data in Y versus the corresponding values in X.If X and Y are both vectors, then they must have equal length.surf - 3-D shaded surface plot This MATLAB function creates a three-dimensional shaded surface from the zcomponents in matrix Z, using x = 1:n and y = 1:m, where m,n = size(Z).ylabel - Label y-axisThis MATLAB function labels the y-axis of the current axes with the string, str.xlabel - Label x-axis This MATLAB function labels the x-axis of the current axes with the text specified by str.function - Declare function name, inputs, and outputs This MATLAB function declares a function named myfun that accepts inputsx1,.,xM and returns outputs y1,.,yN.disp - Display text or array This MATLAB function displays the contents of X without printing the variablename.num2str - Convert number to stringThis MATLAB function converts array A into a string representation str.continue - Pass control to next iteration of for or while loop This MATLAB function temporarily interrupts the execution of a program loop,skipping any remaining statements in the body of the loop for the current pass.xlswrite - Write Microsoft Excel spreadsheet file This MATLAB function writes array A to the first worksheet in Excel file,filename, starting at cell A1.find - Find indices and values of nonzero elements This MATLAB function returns a vector containing the linear indices of eachnonzero element in array X.mesh - Mesh plot This MATLAB function draws a wireframe mesh with color determined by Z, so coloris proportional to surface height.polar - Polar coordinate plot This MATLAB function creates a polar coordinate plot of the angle theta versusthe radius rho.round - Round to nearest decimal or integerThis MATLAB function rounds each element of X to the nearest integer.log - Natural logarithm This MATLAB function returns the natural logarithm ln(x) of each element inarray X.input - Request user input This MATLAB function requests user input by displaying the prompt string on thescreen.isprime - Determine which array elements are primeThis MATLAB function returns a logical array the same size as X.abs - Absolute value and complex magnitudeThis MATLAB function returns the absolute value of each element in array X.tan - Tangent of argument in radiansThis MATLAB function returns the tangent of each element of X.axis - Axis scaling and appearanceThis MATLAB function sets the limits for the x- and y-axis of the current axes.eye - Identity matrixThis MATLAB function returns the scalar, 1.varargin - Variable-length input argument list This MATLAB function is an input variable in a function definition statementthat allows the function to accept any number of input arguments.nargin - Number of function input arguments This MATLAB function returns the number of input arguments passed in the call to the currently executing function.diag - Create diagonal matrix or get diagonal elements of matrix This MATLAB function returns a square diagonal matrix with the elements ofvector v on the main diagonal.menu - Generate menu of choices for user input This MATLAB function displays the menu whose title is in the string variablemtitle and whose choices are string variables opt1, opt2, and so on.save - Save workspace variables to file This MATLAB function saves all variables from the current workspace in a MATLABformatted binary file (MAT-file) called filename.addpath - Add folders to search pathThis MATLAB function adds the specified folders to the top of the search path.fprintf - Write data to text file This MATLAB function applies the formatSpec to all elements of arrays A1,.An in column order, and writes the data to a text file.sprintf - Format data into string This MATLAB function formats the data in arrays A1,.,An according toformatSpec in column order, and returns the results to string str.figure - Create figure windowThis MATLAB function creates a new figure window using default property values.sign - Signum function This MATLAB function returns an array Y the same size as X, where each elementof Y is:var - VarianceThis MATLAB function returns the variance of X for vectors.rem - Remainder after divisionThis MATLAB function returns the remainder after division of X by Y.sound - Convert matrix of signal data to sound This MATLAB function sends audio signal y to the speaker at the default samplerate of 8192 hertz.exit - Terminate MATLAB program (same as quit) This MATLAB function terminates the current session of MATLAB after runningfinish.m, if the file finish.m exists.tic - Start stopwatch timerThis MATLAB function starts a stopwatch timer to measure performance.toc - Read elapsed time from stopwatch This MATLAB function reads the elapsed time from the stopwatch timer started bythe tic function.floor - Round toward negative infinity This MATLAB function rounds each element of X to the nearest integer less thanor equal to that element.magic - Magic square This MATLAB function returns an n-by-n matrix constructed from the integers 1through n2 with equal row and column sums.ginput - Graphical input from mouse or cursor This MATLAB function enables you to identify n points from the current axes andreturns their x- and y-coordinates in the x and y column vectors.uiimport - Import data interactively This MATLAB function opens a dialog to interactively load data from a file orthe clipboard.dot - Dot productThis MATLAB function returns the scalar dot product of A and B.cross - Cross productThis MATLAB function returns the cross product of A and B.text - Create text object in current axes This MATLAB function adds the string in quotes to the location specified by thepoint (x,y) x and y must be numbers of class double.nan - Not-a-Number This MATLAB function returns the IEEE arithmetic representation for Not-a-Number(NaN).subplot - Create axes in tiled positions This MATLAB function divides the current figure into an m-by-n grid and createsan axes for a subplot in the position specified by p.legend - Add legend to graph This MATLAB function creates a legend in the current axes using the specifiedstrings to label each set of data.clock - Current date and time as date vector This MATLAB f

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论