手机版

matlab函数英文说明(2)

时间:2025-07-14   来源:未知    
字号:

specified by str.

function - Declare function name, inputs, and outputs

This MATLAB function declares a function named myfun that accepts inputs

x1,...,xM and returns outputs y1,...,yN.

disp - Display text or array

This MATLAB function displays the contents of X without printing the variable

name.

num2str - Convert number to string

This 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 each

nonzero element in array X.

mesh - Mesh plot

This MATLAB function draws a wireframe mesh with color determined by Z, so color

is proportional to surface height.

polar - Polar coordinate plot

This MATLAB function creates a polar coordinate plot of the angle theta versus

the radius rho.

round - Round to nearest decimal or integer

This 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 in

array X.

input - Request user input

This MATLAB function requests user input by displaying the prompt string on the

screen.

isprime - Determine which array elements are prime

This MATLAB function returns a logical array the same size as X.

abs - Absolute value and complex magnitude

This MATLAB function returns the absolute value of each element in array X.

tan - Tangent of argument in radians

This MATLAB function returns the tangent of each element of X.

axis - Axis scaling and appearance

This MATLAB function sets the limits for the x- and y-axis of the current axes. eye - Identity matrix

This MATLAB function returns the scalar, 1.

varargin - Variable-length input argument list

This MATLAB function is an input variable in a function definition statement

…… 此处隐藏:173字,全部文档内容请下载后查看。喜欢就下载吧 ……
matlab函数英文说明(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
上一篇:学生点名册
×
二维码
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)