爱气象,爱气象家园! 

气象家园

 找回密码
 立即注册

QQ登录

只需一步,快速开始

新浪微博登陆

只需一步, 快速开始

分享 matlab中读取格点数据函数arcgridread
kongfeng0824 2013-9-17 15:11
Syntax = arcgridread(filename) Description = arcgridread(filename) readsa grid from a file in Arc ASCII Grid format. Z isa 2-D array containing the data values. R is areferencing matrix (see makrefmat). NaN isassigned to elements of V corresponding to nulldata values in the grid file ...
个人分类: Matlab Study|666 次阅读|0 个评论
分享 matlab中的数字的排列组合perms
kongfeng0824 2013-9-16 19:59
Syntax P = perms(v) Description P = perms(v), where v isa row vector of length n, creates a matrix whoserows consist of all possible permutations of the n elementsof v. Matrix P contains n! rowsand n columns. Examples The command perms( ) returns all thepermutatio ...
个人分类: Matlab Study|717 次阅读|0 个评论
分享 matlab中的前后差函数diff
kongfeng0824 2013-9-16 19:48
Syntax Y = diff(X) Y = diff(X,n) Y = diff(X,n,dim)
个人分类: Matlab Study|148 次阅读|0 个评论
分享 matlab中的累和函数cumsum
kongfeng0824 2013-9-16 19:14
Syntax B = cumsum(A) B = cumsum(A,dim) Examples cumsum(1:5) ans = A = ; cumsum(A,1) ans = 1 2 3 5 7& ...
个人分类: Matlab Study|531 次阅读|0 个评论
分享 matlab中的累积函数cumprod
kongfeng0824 2013-9-16 19:13
Syntax B = cumprod(A) B = cumprod(A,dim) Examplescumprod(1:5) ans = 1 2 6 24 120 A = ; cumprod(A,1) ans = 1 2 3 4 10 18 cumprod(A,2) ans = 1 2 6 4 20 120
个人分类: Matlab Study|198 次阅读|0 个评论
分享 matlab中的连乘函数factorial和prod
kongfeng0824 2013-9-16 19:10
Syntax factorial(N) factorial(6) ans = 720 Syntax B = prod(A) B = prod(A,dim) B = prod(A,'double') B = prod(A,'native')
个人分类: Matlab Study|262 次阅读|0 个评论
分享 matlab中的常数的因子分解函数factor
kongfeng0824 2013-9-16 19:07
Syntax f = factor(n) Description f = factor(n) returns arow vector containing the prime factors of n. Examples f = factor(123) f = 3 41
个人分类: Matlab Study|686 次阅读|0 个评论
分享 matlab中求取指定区间的多项式根fzero
kongfeng0824 2013-9-16 18:40
Syntax x = fzero(fun,x0) x = fzero(fun,x0,options) = fzero(...) = fzero(...) = fzero(...)
个人分类: Matlab Study|430 次阅读|0 个评论
分享 matlab中的多项式求根函数roots
kongfeng0824 2013-9-16 18:37
Syntax r = roots(c) Examples The polynomial s 3 –6 s 2 – 72 s –27 is represented in MATLAB software as p = The roots of this polynomial are returned in a column vector by r = roots(p) r = 12.1229 -5.7345 -0.3884
个人分类: Matlab Study|1475 次阅读|0 个评论
分享 matlab中的最小二乘曲线拟合函数lsline
kongfeng0824 2013-9-16 18:33
Syntax lsline h = lsline
个人分类: Matlab Study|422 次阅读|0 个评论

Copyright ©2011-2014 bbs.06climate.com All Rights Reserved.  Powered by Discuz! (京ICP-10201084)

本站信息均由会员发表,不代表气象家园立场,禁止在本站发表与国家法律相抵触言论

返回顶部