2013年11月8日 星期五

[Steel]各種鋼結構介紹

http://www.enggpedia.com/civil-engineering-encyclopedia/articles/1688-types-of-steel-structures

[Paris Expo]1989機械館

http://vrc-cbe-uw.blogspot.tw/2008/06/galerie-des-machines-paris-1889-iron-or.html

Galerie des machines, Paris 1889: Iron or steel?

The problem of the Galerie des machines at the 1889 Paris International Exposition: iron or steel?

image from Engineering, The Paris Exhibition, May 3, 1889 (Vol. XLVII)

The Galerie des machines was the largest single-span structure in the world when it was built for the World’s Fair on the Champ de Mars in Paris in 1889. Designed by Ferdinand Dutert, a Beaux-Arts trained architect, and the engineer Victor Contamin, the building was so vast (spanning 364 ft) it made some visitors to the exhibition hall uneasy. The Galerie was entered through a Grand Vestibule, a domed structure also designed by Dutert.

The building was described in a contemporary journal during its construction in May of 1888:

Of the Machinery Hall three principals only are in place, but these are sufficient to give a good idea of what the building will be when completed, and of the vastness of its proportions. No such building has ever yet been attempted, and the beauty and simplicity of its design are as striking as its immense width and height. (1)

The Galerie was reused in the exhibition of 1900 (with its interior altered by a huge internal rotunda called the Salle des Fetes), and was destroyed in 1909-10. Its companion in the 1889 Exposition, the Eiffel Tower, fared better, and remains on the Paris skyline today.


 
Construction details, from Engineering, The Paris Exhibition, May 3, 1889 (Vol. XLVII)
Controversy: iron or steel?
The Galerie des machines was designed to be constructed in steel. The use of steel for construction of bridges and other large-scale spans began after Henry Bessemer patented a new means of manufacturing steel in 1855. The process made the mass-production of steel possible, and it evolved and improved through the nineteenth century, though steel remained a more expensive product than iron until the close of the century.

Iron was the metal used in large-scale construction before the development of the Bessemer process. The Eiffel Tower, for example, is constructed of iron. More specifically, it is constructed of “wrought iron,” rather than “cast iron.” (Cast iron, developed in the 15th century, is too brittle to be used in large scale construction.) A puddling iron process was developed in the late eighteenth century (one of several attempts to remove charcoal from wrought iron); bars of iron could be created from balls of puddle iron passed though a rolling mill.

Architectural and engineering history books and articles give conflicting information about the construction material used for the Galerie des machines. Marvin Trachtenberg and Isabelle Hyman, for example, in their survey book Architecture: from Prehistory to Post-Modernism (1986) specifically mention the use of steel as reason for the disconcerting thinness of the beams in the Galerie. (2) The 1987 edition of Sir Banister Fletcher’s History of Architecture also describes it as steel. (3)

Stuart Durant in his monograph Palais des machines: Ferdinand Dutert (1994) consistently describes the structure as steel. He suggests that the trusses of the Galerie were hinged to compensate for expansion and contraction of the steel during temperature changes. (4) An essay by Angus Low, an engineer, is included in Durant’s monograph; “A Structural Appraisal” claims that the 111 meter span “was made possible by the use of steel, a new material at that time.” (5) Durant’s monograph mentions no controversy about the material used in the building.

However, Kenneth Frampton in his 1983 Modern Architecture: 1851-1945, describes the Galerie des machines as “ glass covering a clean space held in place by 10-foot-deep, wrought-iron lattice arches; steel at that date being extremely expensive.” (6) Leonardo Benevolo describes the Galerie’s columns as being built in iron and sheet-metal in his History of Modern Architecture, Volume I(1977).

The Oxford University Press’ Oxford Art Online also describes the Galerie des machines as iron in its article about Ferdinand Dutert. The bibliography for the article cites only contemporary sources (from 1889 and 1891). Barry Bergdoll in European Architecture 1750-1890 credits the Galerie as “the broadest span yet achieved in iron construction.” (7)

Wolfgang Friebe describes the structure as iron in his 1985Buildings of the World Exhibitions. He quotes from Jurgen Joedicke’s Geschichte der modernen Architektur (1958) that the Galerie was the “climax of all endeavors in the field of iron construction in the nineteenth century.” (8) Friebe also cites Christian Schadlich’s 1967 work Das Eisen in der Architektur des 19. Jahrhunderts and his description of the building as iron. (9)

Claude Mignot describes the Galerie as “iron-and-steel architecture” (10) in his 1984 book Architecture of the Nineteenth Century in Europe, a tactful but uncommitted stance on the materials controversy that surrounds the lost building.

Volume 10 of Studies in the History of Civil Engineering: Structural Iron and Steel 1850-1900 includes a chapter by John W. Stamper, “The Galerie des Machines of the 1889 Paris world’s fair.” In it, Stamper claims that

The principal material of the building’s structure was to have been steel, but the decision was made at the last minute to use iron instead. There is considerable confusion about this on the part of architectural historians, most of whom assume it was built of steel since that is what is mentioned by contemporary journalists before the opening of the fair. William Watson, an American engineer who wrote a thorough report on the fair after it closed (11) states that the idea of using steel was abandoned “on the two-fold ground of expense and the necessity of hastening the execution of work.” The price of iron was about two-thirds that of steel in 1889. (12)




Construction details: two methods of erecting the roof by the two construction companies, from Engineering, The Paris Exhibition, May 3, 1889 (Vol. XLVII)
The language problem

In French, the word for iron is “fer” and the word for steel is “acier.” Steelwork is “partie metallique.” Ironwork is “ferronnerie.” “Siderurgique” is used both for “iron and steel industry” and for “steel industry.” This ambiguity of terms may have contributed to the confusion over the years about the material used in constructing the Galerie des machines.



Erection of the great truss girders. Method used by Cail & Co. (one of two methods used to erect the trusses). View of the girders and the erecting scaffolding. from Paris Universal Exposition: Civil Engineering, Public Works, and Architecture, 1892

The original sources
The May 3, 1889 issue of Engineering (“An Illustrated Weekly Journal”) was devoted entirely to the Paris Exhibition. Published in London, the periodical gives great detail about the finances, planning, and construction of the buildings and exhibits; it refers entirely to “iron” and “ironwork” when discussing the Galerie des machines, the Fine Arts and Liberal Arts Building, the Eiffel Tower, and other exhibit halls. The cost of the “ironwork” in the Galerie is reported as 215,932 pounds. (13)

In 1989, a centennial exhibition celebrating the 1889 Exposition was held in the Musee d’Orsay in Paris. It was organized by the French Reunion des musees nationaux with the participation of the National Archives. The catalog of the exhibition 1889: La Tour Eiffel et l’exposition universelle includes a chapter on the Galerie des machines, written by Marie-Laure Crosnier-Leconte, based on documents from the national archives and on contemporary publications.

Crosnier-Leconte includes quotations from the original documentation of the preparations for the 1889 Exposition. Jean-Charles Adolphe Alphand (1817-1891), Director of Public Works of Paris, oversaw the Paris expositions of 1867, 1878, and 1889, and his correspondence is frequently quoted in the chapter.

The cost of materials in constructing the exposition buildings was of great concern to Alphand. (14) He judged that the cost of using steel in the construction of the Galerie would be seven times more expensive than iron, (15) and he resolved in April of 1887 that the steel would be replaced with iron in the construction. (16) Extensive new tests and calculations were necessary for the change in material. (17)

William Watson’s publication of 1892, Paris Universal Exposition: Civil Engineering, Public Works, and Architecture, assigns a cost of 5,398,307.25 francs (18) to the ironwork of the Galerie. “Chapter XLVI: The Machinery Hall” in this publication includes many references to the use of iron in the building, quoting extensively from journals of 1889, including the May 3, 1889 issue ofEngineering and “Galignani’s Messenger, July 1889.” (19)

Watson quotes extensively from the latter publication, which notes

Had steel been used, the framework would have been much lighter than it is, but the idea of resorting to it was abandoned on the two-fold ground of expense and the necessity of hastening the execution of the work. Those who believed that iron was ill adapted to the requirements of art as applied to industry have been agreeably surprised by the happy results achieved by M. Dutert. (20)

In the acknowledgements at the end of chapter on the Machinery Hall, William Watson cites “M. Contamin, chief engineer of the building, for valuable assistance and information.” (21) He continues:

The original plans and descriptions of Machinery Hall were published by M. Grosclaude, M. Contamin’s assistant, but were considerably modified (iron substituted for steel) before the structure was erected. M. Grosclaude was kind enough to correct his plans and descriptions published in Le Genie Civil and also furnish me with new drawings of the main girder and its details.(22)



Erection of the great truss girders. Method used by Cail & Co. (one of two methods used to erect the trusses). One of the upper platforms of the rolling scaffolding. from Paris Universal Exposition: Civil Engineering, Public Works, and Architecture, 1892
Conclusion

John Stamper’s comment in Studies in the History of Civil Engineering: Structural Iron and Steel 1850-1900 is correct that there has been “considerable confusion” (23) about the structural material used in the famous Galerie de machines at the 1889 Paris Exposition.

Contributing to this confusion are the conflicting accounts of journalists before the construction of the building, during its planning stage, when Dutert envisioned a steel structure, and the very language used to describe the metals used in construction. (24) Adolphe Alphand’s correspondence in his role as Director of Works of the exhibition can be considered part of the definitive answer to the question, however.

Contemporary sources concur that the Galerie, like the Eiffel Tower, was constructed of iron. William Watson’s consultations with Victor Contamin himself for his extensive description of the Galerie are conclusive evidence of the material of the structure as well.

If the Galerie had indeed been constructed with steel, the contemporary sources would undoubtedly have celebrated the novelty of the material, and contrasted it with the iron Eiffel Tower (which was excoriated in the contemporary press by many architects, artists, and historians of the time). (25)

The two 1889 exposition buildings, Galerie des machines -- spanning the broadest interior space of its time -- and the Tower -- the tallest structure of its time -- can indeed be considered the “climax of all endeavors in the field of iron construction in the nineteenth century.” (26)


Interior of the Galerie des machines, from Paris Universal Exposition: Civil Engineering, Public Works, and Architecture, 1892

2013年10月29日 星期二

[Matlab]檔案處理

http://tw.myblog.yahoo.com/jw!laMc_3KQEk.bNqgMewVZeSI-/article?mid=34

http://www.ymlib.net/article/sort010/info-341.html

檔案的存取及處理

本分享主要是給新使用者容易上手
因此寫的有點簡單
希望大家見諒

fopen開啟檔案
[fid,message]=fopen(‘檔案名稱’,’參數’)
fid  為檔案識別碼,當使用fopen 開啟檔案成功時,就會送回正整數的fid碼,如3,反之若開啟失敗時則fid會送回 –1的值給,message為開啟檔案若錯誤時則傳回錯誤訊息
參數(Permission):
‘r’   只能讀,若檔案不存在時會發生錯誤
‘r+’ 能讀能寫,若檔案不存在時會發生錯誤
‘w’  只能寫,若檔案不存在時會建立一新的檔案,若檔案存在則會將內容覆蓋過 去
‘w+’ 能 讀能寫,若檔案不存在時會建立一新的檔案,若檔案存在則會將內容覆蓋過去
‘a’  只能附加(append)使用讀的方式,若檔案不存在時會建立一新的檔案,若檔案存在則會將內 容加於檔案後方
‘a+’  只能附加(append)使用讀或寫的方式,若檔案不存在時會建立一新的檔案,若檔案存在則會 將內容加於檔案後方

fclose關閉檔案
status=fclose(fid)
fclose(‘all’)
當執行fclose 成功就會送回一個0值給status。

檔案存取fscanf,fprintf,fread,fwrite
若檔案內容可以分為二進位或ASCII
若為ASCII碼時,檔案存取的方法為:
(1) fscanf,fprintf
fscanf讀取檔案
Variable=fscanf(fid,’資料格式’,讀取資料的大小)
格式
%g  表示為浮點數值
%d  表示為十進位數值
%s  表示為字串

A = fscanf(fid,’%5d’)   %讀檔案格式為十進位整數
A = fscanf(fid,’%5d’,100)   %只讀100筆

fscanf寫入檔案
fprintf(fid,’資料格式’,資料矩陣或變數);

x = 0:.1:1; y = [x; exp(x)];
fid = fopen(‘exp.txt’,'w’);
fprintf(fid,’%6.2f  %12.8f\n’,y);
fclose(fid);

(2) Variable=load(‘檔案名稱’)

當然必須先使用save將檔案儲存
如倒案為bb變數為aa

save bb.txt aa -ascii

(存為.txt主要是為了可以看到資料內容)
再由load bb即可

若檔案內容是二進位檔時,檔案存取的方法為:
fread讀取檔案
fread(FID,讀取的資料大小,’資料精度’)
資料精度
char     函符號的字元 (8位元)
uchar    不含正負符號的字元 (8位元)
short     短整數 (16位元,範圍在-215~215-1)
int       整數 (32位元)
long     長整數 (32位元,範圍在-231~231-1)
ushort   不含正負符號的短整數
uint     不含正負符號的短整數
ulong    不含正負符號的短整數
float     單精準浮點小數 (32位元)
double   雙精準浮點小數 (64位元)

a=fread(fid)﹔  此時a為一串二進位碼
b=char(a’)﹔  將二進位碼變成橫向的字串
c=str2num(b); 字串變數字

fwrite寫入檔案
fwrite (fid,寫入資料,’資料精度’)

fid = fopen(‘magic5.bin’,'wb’)
fwrite(fid,magic(5),’integer*4′)

EXAMPLE:
fid=fopen(‘exp.txt’,’wt’);
fprintf(fid,’%d %2.1f %4.2f’,10,20,3.2,14.58);
fclose(fid);

x=load(‘exp.txt’);

————————————————————————————————————–

matlab中fwrite函数的具体使用方法实例如下:

fwrite函数按照指定的数据精度将矩阵中的元素写入到文件中。其调用格式为:
COUNT=fwrite(fid,A,precision)
说明:其中COUNT返回所写的数据元素个数(可缺省),fid为文件句柄,A用来存放写入文件的数据,precision代表数据精度,常用的数据精度 有:char、uchar、int、long、float、double等。缺省数据精度为uchar,即无符号字符格式。
例6.8 将一个二进制矩阵存入磁盘文件中。
>> a=[1 2 3 4 5 6 7 8 9];
>> fid=fopen(‘d:\test.bin’,'wb’)

%以二进制数据写入方式打开文件
fid =
3           %其值大于0,表示打开成功
>> fwrite(fid,a,’double’)
ans =
9           %表示写入了9个数据
>> fclose(fid)
ans =
0           %表示关闭成功

About these ads

2013年10月28日 星期一

[Greek Alphabets]希臘字母讀音表

 希臘字母讀音表(Greek Alphabets)
大寫小寫讀音
Aaalpha(阿爾法)
Bbbeta(貝塔)
Gggamma(伽馬)
Dddelta(德耳塔)
Eeepsilon(艾普西隆)
Zzzeta(截塔)
Hheta(艾塔)
Qqtheta(西塔)
Iiiota(約塔)
Kkkappa(卡帕)
Lllambda(拉姆達)
Mmmu(米尤)
Nnnu(紐)
Xxxi(克西)
Ooomicron(奧麥克容)
Pppi(派)
Rrrho(柔)
Sssigma(西格馬)
Tttau(陶)
Uuupsilon(宇普西隆)
Fjfphi(斐)
Ccchi(開,西)
Yypsi(普西)
Wwomega(奧米伽)

[Matlab]指令

http://www.wretch.cc/blog/tiger121/11009685


1 常用指令(General Purpose Commands)
1.1 通用資訊查詢(General information)
demo 演示程式
help 線上幫助指令
helpbrowser 超文本文檔幫助資訊
helpdesk 超文本文檔幫助資訊
helpwin 打開線上幫助窗
info MATLAB 和MathWorks 公司的資訊
subscribe MATLAB 用戶註冊
ver MATLAB 和TOOLBOX 的版本資訊
version MATLAB 版本
whatsnew 顯示版本新特徵
1.2 工作空間管理(Managing the workspace)
clear 從記憶體中清除變數和函數
exit 關閉MATLAB
load 從磁片中調入資料變數
pack 合併工作記憶體中的碎塊
quit 退出MATLAB
save 把記憶體變數存入磁片
who 列出工作記憶體中的變數名
whos 列出工作記憶體中的變數細節
workspace 工作記憶體流覽器
1.3 管理指令和函數(Managing commands and functions)
edit 矩陣編輯器
edit 打開M 文件
inmem 查看記憶體中的P 碼檔
mex 創建MEX 文件
open 打開文件
pcode 生成P 碼檔
type 顯示檔內容
what 列出當前目錄上的M、MAT、MEX 文件
which 確定指定函數和檔的位置
1.4 搜索路徑的管理(Managing the seach patli)
addpath 添加搜索路徑
rmpath 從搜索路徑中刪除目錄
path 控制MATLAB 的搜索路徑
pathtool 修改搜索路徑
1.5 指令窗控制(Controlling the command window)
beep 產生beep 聲
echo 顯示命令檔指令的切換開關
diary 儲存MATLAB 指令窗操作內容
format 設置資料輸出格式
more 命令視窗分頁輸出的控制開關
1.6 作業系統指令(Operating system commands)
cd 改變當前工作目錄
computer 電腦類型
copyfile 檔拷貝
delete 刪除檔
dir 列出的文件
dos 執行dos 指令並返還結果
getenv 給出環境值
ispc MATLAB 為PC(Windows)版本則為真
isunix MATLAB 為Unix 版本則為真
mkdir 創建目錄
pwd 改變當前工作目錄
unix 執行unix 指令並返還結果
vms 執行vms dcl 指令並返還結果
web 打開web 流覽器
! 執行外部應用程式


2 運算符和特殊算符(Operators and special characters)
2.1 算術運算符(Arithmetic operators)
+ 加
- 減
* 矩陣乘
.* 陣列乘
^ 矩陣乘方
.^ 陣列乘方
\ 反斜杠或左除
/ 斜杠或右除
./或.\ 陣列除
張量積
[注]本表第三欄括弧中的字元供線上救助時help 指令引述用
2.2 關係運算符(Relational operators)
= = 等號
~= 不等號
< 小於
> 大於
<= 小於或等於
>= 大於或等於
2.3 邏輯操作(Logical operators)
& 邏輯與
| 邏輯或
~ 邏輯非
xor 異或
any 有非零元則為真
all 所有元素均非零則為真
2.4 特殊算符(Special characters)
: 冒號
( ) 圓括號
[ ] 方括號
{ } 花括弧
@ 創建函數控制碼
. 小數點
. 構架域的關節點
.. 父目錄
? 續行號
, 逗號
; 分號
% 注釋號
! 調用作業系統命令
= 賦值符號
ˊ 引號
ˊ 複數轉置號
.ˊ 轉置號
[,] 水準串接
[;] 垂直串接
( ),{ },. 下標賦值
( ),{ },. 下標標識
subsindex 下標標識


3 編程語言結構(Programming language constructs)
3.1 控制語句(Control flow)
break 終止最內迴圈
case 同switch 一起使用
catch 同try 一起使用
continue 將控制轉交給外層的for 或while 迴圈
else 同if 一起使用
elseif 同if 一起使用
end 結束for,while,if 語句
for 按規定次數重複執行語句
if 條件執行語句
otherwise 可同switch 一起使用
return 返回
switch 多個條件分支
try try-cathch 結構
while 不確定次數重複執行語句
3.2 計算運行(Evaluation and execution)
assignin 跨空間賦值
builtin 執行內建的函數
eval 字串巨集指令
evalc 執行MATLAB 字串
evalin 跨空間計算串運算式的值
feval 函數巨集指令
run 執行腳本檔
3.3 腳本檔、函數及變數(Scripts,function,and variables)
exist 檢查變數或函數是否被定義
function 函數檔頭
global 定義總體變數
isglobal 若是總體變數則為真
iskeyword 若是關鍵字則為真
mfilename 正在執行的M 檔的名字
persistent 定義永久變數
script MATLAB 命令文件
3.4 宗量處理(Augument handling)
inputname 實際調用變數名
nargchk 輸入變數個數檢查
nargin 函數輸入宗量的個數
nargout 函數輸出宗量的個數
nargoutchk 輸出變數個數檢查
varagin 輸入宗量
varagout 輸出宗量
3.5 資訊顯示(Message display)
disp 顯示矩陣和文字內容
display 顯示矩陣和文字內容的重載函數
error 顯示錯誤資訊
fprintf 把格式化資料寫到檔或螢幕
lasterr 最後一個錯誤資訊
lastwarn 最後一個警告資訊
sprintf 按格式把數位轉換為串
warning 顯示警告資訊
3.6 互動式輸入(Interactive input)
input 提示鍵盤輸入
keyboard 啟動鍵盤做為命令檔
pause 暫停
uicontrol 創建用戶介面控制
uimenu 創建用戶介面功能表


4 基本矩陣函數和操作(Elementary matrices and matrix manipulation)
4.1 基本矩陣(Elementary matrices)
eye 單位陣
linspace 線性等分向量
logspace 對數等分向量
meshgrid 用於三維曲面的分格線座標
ones 全1 矩陣
rand 均勻分佈隨機陣
randn 正態分佈隨機陣
repmat 鋪放模組陣列
zeros 全零矩陣
: 矩陣的援引和重排
4.2 矩陣基本資訊(Basic array information)
disp 顯示矩陣和文字內容
isempty 若是空矩陣則為真
isequal 若對應元素相等則為1
islogical 尤其是邏輯數則為真
isnumeric 若是數值則為真
length 確定向量的長度
logical 將數值轉化為邏輯值
ndims 陣列A 的維數
size 確定矩陣的維數
4.3 矩陣操作(Matrix manipulateion)
blkdiag 塊對角陣串接
diag 創建對角陣,抽取對角向量
end 陣列的長度,即最大下標
find 找出非零元素1 的下標
fliplr 矩陣的左右翻轉
flipud 矩陣的上下翻轉
flipdim 交換對稱位置上的元素
ind2sub 據單下標換算出全下標
reshape 矩陣變維
rot90 矩陣逆時針90°旋轉
sub2idn 據全下標換算出單下標
tril 抽取下三角陣
triu 抽取上三角陣
4.4 特殊變數和常數(Special variables and constants)
ans 最新運算式的運算結果
eps 浮點相對誤差
i,j 虛數單位
inf 或Inf 無窮大
isfinite 若是有限數則為真
isinf 若是無窮大則為真
isnan 若為非數則為真
NaN 或nan 非數
pi 3.1415926535897?.
realmax 最大浮點數
realmin 最小正浮點數
why 一般問題的簡明答案
4.5 特殊矩陣(Specialized matrices)
compan 伴隨矩陣
gallery 一些小測試矩陣
hadamard Hadamard 矩陣
hankel Hankel 矩陣
hilb Hilbert 矩陣
invhilb 逆Hilbert 矩陣
magic 魔方陣
pascal Pascal 矩陣
rosser 典型對稱特徵值實驗問題
toeplitz Toeplitz 矩陣
vander Vandermonde 矩陣
wilkinson Wilkinson’s 對稱特徵值實驗矩陣


5 基本數學函數(Elementary math functions)
5.1 三角函數(Trigonometric)
acos 反余弦
acosh 反雙曲余弦
acot 反餘切
acoth 反雙曲餘切
acsc 反余割
acsch 反雙曲余割
asec 反正割
asech 反雙曲正割
asin 反正弦
asinh 反雙曲正弦
atan 反正切
atanh 反雙曲正切
atan2 四象限反正切
cos 余弦
cosh 雙曲余弦
cot 餘切
coth 雙曲餘切
csc 余割
csch 雙曲余割
sec 正割
sech 雙曲正割
sin 正弦
sinh 雙曲正弦
tan 正切
tanh 雙曲正切
5.2 指數函數(Exponential)
exp 指數
log 自然對數
log10 常用對數
log2 以2 為底的對數
nestpow2 最近鄰的2 的冪
pow2 2 的冪
sqrt 平方根
5.3 複數函數(Complex)
abs 絕對值
angle 相角
complex 將實部和虛部構成複數
conj 複數共軛
cplxpair 複數陣成共軛對形式排列
imag 複數虛部
isreal 若是實數矩陣則為真
real 複數實部
unwrap 相位角360°線調整
5.4 圓整和求餘函數(Rounding and remainder)
ceil 朝正無窮大方向取整
fix 朝零方向取整
floor 朝負無窮大方向取整
mod 模數求餘
rem 求餘數
round 四捨五入取整
sign 符號函數

6 特殊函數(Specialized math functions)
cart2pol 直角坐標變為柱(或極)座標
cart2sph 直角坐標變為球座標
cross 向量叉積
dot 向量內積
isprime 若是質數則為真
pol2cart 柱(或極)座標變為直角坐標
sph2cart 球座標變為直角坐標


7 矩陣函數和數值線性代數(Matrix functions-numerical linear algebra)
7.1 矩陣分析(Matrix analysis)
det 行列式的值
norm 矩陣或向量範數
normest 估計2 範數
null 零空間
orth 值空間
rank 秩
rref 轉換為行階梯形
trace 跡
subspace 子空間的角度
7.2 線性方程(Linear equations)
chol Cholesky 分解
cholinc 不完全Cholesky 分解
cond 矩陣條件數
condest 估計1-範數條件數
inv 矩陣的逆
lu LU 分解
luinc 不完全LU 分解
lscov 已知協方差的最小二乘積
nnls 非負二乘解
pinv 偽逆
qr QR 分解
rcond LINPACK 逆條件數
\、/ 解線性方程
7.3 特性值與奇異值(Eigenvalues and singular values)
condeig 矩陣各特徵值的條件數
eig 矩陣特徵值和特徵向量
eigs 多個特徵值
gsvd 歸一化奇異值分解
hess Hessenberg 矩陣
poly 特徵多項式
polyeig 多項式特徵值問題
qz 廣義特徵值
schur Schur 分解
svd 奇異值分解
svds 多個奇異值
7.4 矩陣函數(Matrix functions)
expm 矩陣指數
expm1 矩陣指數的Pade 逼近
expm2 用泰勒級數求矩陣指數
expm3 通過特徵值和特徵向量求矩陣指數
funm 計算一般矩陣函數
logm 矩陣對數
sqrtm 矩陣平方根
7.5 因式分解(Factorization utility)
cdf2rdf 複數對角型轉換到實塊對角型
balance 改善特徵值精度的平衡刻度
rsf2csf 實塊對角型轉換到複數對角型

8 資料分析和傅裏葉變換(Date analysis and Fourier transforms)
8.1 基本運算(Basic operations)
cumprod 元素累計積
cumsum 元素累計和
cumtrapz 累計積分
hist 統計頻數直方圖
histc 直方圖統計
max 最大值
mean 平均值
median 中值
min 最小值
prod 元素積
sort 由小到大排序
sortrows 由小到大按行排序
std 標準差
sum 元素和
trapz 梯形數值積分
var 求方差
8.2 有限差分(Finite differentces)
del2 五點離散Laplacian
diff 差分和近似微分
gradient 梯度
8.3 相關(Correlation)
corrcoef 相關係數
cov 協方差矩陣
subspace 子空間之間的角度
8.4 濾波和卷積(Filtering and convoluteion)
conv 卷積和多項式相乘
conv2 二維卷積
convn N 維卷積
detrend 去除線性分量
deconv 解卷和多項式相除
filter 一維數字濾波器
fliter2 二維數字濾波器
8.5 傅裏葉變換(Fourier transforms)
fft 快速離散傅裏葉變換
fft2 二維離散傅裏葉變換
fftn N 維離散傅裏葉變換
fftshift 重排fft 和fft2 的輸出
ifft 離散傅裏葉反變換
ifft2 二維離散傅城葉反變換
ifftn N 維離散傅裏葉反變換
ifftshift 反fftshift

9 音頻支援(Audio support)
9.1 音頻硬體驅動(Audio hardware drivers)
sound 播放向量
soundsc 自動標刻並播放
waveplay 利用系統音頻輸出設配播放
waverecor 利用系統音頻輸入設配錄音
9.2 音頻檔輸入輸出(Audio file import and export)
auread 讀取音頻檔(.au)
auwrite 創建音頻檔(.au)
wavread 讀取音頻檔(.wav)
wavwrite 創建音頻檔(.wav)
9.3 工具(Utilities)
lin2mu 將線性信號轉換為μ 一律編碼的信號
mu2lin 將μ 一律編碼信號轉換為線性信號

10 插補多項式函數(Interpolation and polynomials)
10.1 數據插補(Data Interpolation)
griddata 分格點數據
griddata3 三維分格點數據
griddatan 多維分格點數據
interpft 利用FFT 方法一維插補
interp1 一維插補
interp1q 快速一維插補
interp2 二維插補
interp3 三維插補
intern N 維插補
pchip hermite 插補
10.2 樣條插補(Spline Interpolation)
ppval 計算分段多項式
spline 三次樣條插補
10.3 多項式(Polynomials)
conv 多項式相乘
deconv 多項式相除
poly 由根創建多項式
polyder 多項式微分
polyfit 多項式擬合
polyint 積分多項式分析
polyval 求多項式的值
polyvalm 求矩陣多項式的值
residue 求部分分式表達
roots 求多項式的根

11 數值泛函函數和ODE 解算器(Function functions and ODE solvers)
11.1 優化和尋根(Optimization and root finding)
fminbnd 非線性函數在某區間中極小值
fminsearch 單純形法求多元函數極值點指令
fzero 單變數函數的零點
11.2 優化選項處理(Optimization Option handling)
optimget 從OPTIONS 構架中取得優化參數
optimset 創建或修改OPTIONS 構架
11.3 數值積分(Numerical intergration)
dblquad 二重(閉型)數值積分指令
quad 低階法數值積分
quadl 高階法數值積分
11.4 繪圖(Plotting)
ezcontour 畫等位線
ezcontourf 畫填色等位線
ezmesh 繪製網格圖
ezmeshc 繪製含等高線的網格圖
ezplot 繪製曲線
ezplot3 繪製3 維曲線
ezpolar 採用極座標繪圖
ezsurf 畫曲面圖
ezsurfc 畫帶等位線的曲面圖
fplot 畫函數曲線圖
11.5 內聯函數物件(Inline function object)
argnames 給出函數的輸入宗量
char 創建字元傳輸組或者將其他類型變數轉化為
字串陣列
formula 函數公式
inline 創建內聯函數
11.6 差微分函數解算器(Differential equation solvers)
ode113 變階法解方程
ode15s 變階法解剛性方程
ode23 低階法解微分方程
ode23s 低階法解剛性微分方程
ode23t 解適度剛性微分方程
odet23tb 低階法解剛性微分方程
ode45 高階法解微分方程

12 二維圖形函數(Two dimensional graphs)
12.1 基本平面圖形(Elementary X-Y graphs)
loglog 雙對數刻度曲線
plot 直角坐標下線性刻度曲線
plotyy 雙縱坐標圖
polar 極座標曲線圖
semilogx X 軸半對數刻度曲線
semilogy Y 軸半對數刻度曲線
12.2 軸控制(Axis control)
axes 創建軸
axis 軸的刻度和表現
box 座標形式在封閉式和開啟詞式之間切換
grid 畫座標格線
hold 圖形的保持
subplot 創建子圖
zoom 二維圖形的變焦放大
12.3 圖形注釋(Graph annotation)
gtext 用滑鼠在圖上標注文字
legend 圖例說明
plotedit 圖形編輯工具
text 在圖上標注文字
texlabel 將字串轉換為Tex 格式
title 圖形標題
xlabel X 軸名標注
ylabel Y 軸名標注
12.4 硬拷貝(Hardcopy and printing)
orient 設置送紙方向
print 列印圖形或把圖存入檔
printopt 印表機設置

13 三維圖形函數(Three dimensional graphs)
13.1 基本三維圖形(Elementary 3-D plots)
fill3 三維曲面多邊形填色
mesh 三維網線圖
plot3 三維直角坐標曲線圖
surf 三維表面圖
13.2 色彩控制(Color control)
alpha 透明色控制
brighten 控制色彩的明暗
caxis (偽)顏色軸刻度
colordef 用色風格
colormap 設置色圖
graymon 設置缺省圖形視窗為單色顯示幕
hidden 消隱
shading 圖形渲染模式
whitebg 設置圖形視窗為白底
13.3 光照模式(Lighting)
diffuse 漫反射表面係數
light 燈光控制
lighting 設置照明模式
material 使用預定義反射模式
specular 漫反射
surfnorm 表面圖的法線
surfl 帶光照的三維表面圖
13.4 色圖(Color maps)
autumn 紅、黃濃淡色
bone 藍色調灰度圖
colorcube 三濃淡多彩交錯色
cool 青和品紅濃淡色圖
copper 線性變化純銅色調圖
flag 紅-白-藍黑交錯色圖
gray 線性灰度
hot 黑-紅-黃-白交錯色圖
hsv 飽和色彩圖
jet 變異HSV 色圖
lines 採用plot 繪線色
pink 淡粉紅色圖
prism 光譜色圖
spring 青、黃濃淡色
summer 綠、黃濃淡色
vga 16 色
white 全白色
winter 藍、綠濃淡色
13.5 軸的控制(Axis control)
axes 創建軸
axis 軸的刻度和表現
box 座標形式在封閉式和開啟式之間切換
daspect 軸的DataAspectRatio 屬性
grid 畫座標格線
hold 圖形的保持
pbaspect 畫座標框的PlotBoxAspectRatio 屬性
subplot 創建子圖
xlim X 軸範圍
ylim Y 軸範圍
zlim Z 軸範圍
zoom 二維圖形的變焦放大
13.6 視角控制(Viewpoint control)
rotate3d 旋動三維圖形
view 設定3-D 圖形觀測點
viewmtx 觀測點轉換矩陣
13.7 圖形注釋(Graph annotation)
colorbar 顯示色條
gtext 用滑鼠在圖上標注文字
plotedit 圖形編輯工具
text 在圖上標注文字
title 圖形標題
xlabel X 軸名標注
ylabel Y 軸名標注
zlabel Z 軸名標注
13.8 硬拷貝(Hardcopy and printing)
orient 設置送紙方向
print 列印圖形或把圖存入檔
printopt 印表機設置
verml 將圖形保存為VRML2.0 檔

14 特殊圖形(Specialized graphs)
14.1 特殊平面圖形(Specialized 2-D graphs)
area 面域圖
bar 直方圖
barh 水準直方圖
comet 彗星狀軌跡圖
compass 從原點出發的複數向量圖
errorbar 誤差棒棒圖
ezplot 畫二維曲線
ezpolar 畫極座標曲線
feather 從X 軸出發的複數向量圖
fill 多邊填色圖
fplot 函數曲線圖
hist 統計頻數直方圖
pareto Pareto 圖
pie 餅形統計圖
plotmatrix 散點圖陣列
scatter 散點圖
stairs 階梯形曲線圖
stem 火柴杆圖
14.2 等高線及二維半圖形(Contour and 2-1/2D graphs)
clabel 給等高線加標注
contour 等高線圖
contourf 等高線圖
contour3 三維等高線
ezcontour 畫等位線
ezcontourf 畫填色等位線
pcolor 用顏色反映資料的偽色圖
voronoi Voronoi 圖
14.3 特殊三維圖形(Specialized 3-D graphs)
bar3 三維直方圖
bar3h 三維水準直方圖
comet3 三維彗星動態軌跡線圖
ezgraph3 通用指令
ezmesh 畫網線圖
ezmeshc 畫等位線的網線圖
ezplot3 畫三維曲線
ezsurf 畫曲面圖
ezsurfc 畫帶等位線的曲面圖
meshc 帶等高線的三維網線圖
meshz 帶零基準面的三維網線圖
pie3 立體圓形圖
ribbon 以三維形式繪製二維曲線
scatter3 三維散點圖
stem3 三維離散杆圖
surfc 帶等高線的三維表面圖
trimesh 三角剖分網線圖
trisurf 三角剖分曲面圖
waterfall 瀑布水線圖
14.4 內剖及向量視圖(Volume and vector visualization)
coneplot 錐體圖
contourslice 切片等位線圖
quiver 向量場圖
quiver3 三維方向箭頭圖
slice 切片圖
14.5 圖像顯示及檔處理(Image display and file I/O)
brighten 控制色彩的明暗
colorbar 色彩條狀圖
colormap 設置色圖
contrast 提高圖像對比度的灰色圖
gray 線性灰度
image 顯示圖像
imagesc 顯示亮度圖像
imfinfo 獲取圖像檔的特徵資料
imread 從檔讀取圖像的資料陣(和伴隨色圖))
imwrite 把強度圖像或真彩圖像寫入檔
14.6 影片和動畫(Movies and animation)
capture 當前圖的屏捕捉
frame2im 將影片動畫轉換為編址圖像
getframe 獲得影片動畫圖像的幀
im2frame 將編址圖像轉換為影片動畫
movie 播放影片動畫
moviein 影片動畫記憶體初始化
rotate 旋轉指令
14.7 顏色相關函數(Color related function)
spinmap 顏色週期性變化操縱
14.8 三維模型函數(Solid modeling)
cylinder 圓柱面
patch 創建塊
sphere 球面
Surf2patch 將曲面資料轉換為塊資料


15 控制碼圖形(Handle Graphics)
15.1 圖形窗的產生和控制(Figure window creation and control)
clf 清除當前圖
close 關閉圖形
figure 打開或創建圖形視窗
gcf 獲得當前圖的柄
openfig 打開圖形
refresh 刷新圖形
shg 顯示圖形窗
15.2 軸的產生和控制(Axis creation and control)
axes 在任意位置創建軸
axis 軸的控制
box 座標形式在封閉式和開啟式之間切換
caxis 控制色軸的刻度
cla 清除當前軸
gca 獲得當前軸的柄
hold 圖形的保持
ishold 若圖形處保持狀態則為真
subplot 創建子圖
15.3 控制碼圖形物件(Handle Graphics objects)
axex 在任意位置創建軸
figure 創建圖形視窗
image 創建圖像
light 創建光
line 創建線
patch 創建塊
rectangle 創建方
surface 創建面
text 創建圖形中文本
uicontextmenu 創建現場功能表物件
uicontrol 用戶使用介面控制
uimenu 用戶使用功能表控制
15.4 控制碼圖形處理(Handle Graphics operations)
copyobj 拷貝圖形物件及其子物件
delete 刪除物件及檔
drawnow 螢幕刷新
findobj 用規定的特性找尋對象
gcbf “正執行回調操作”的圖形的柄
gcbo “正執行回調操作”的控制項圖柄指令
gco 獲得當前對象的柄
get 獲得物件特性
getappdat 獲得應用程式定義資料
isappdata 檢驗是否應用程式定義資料
reset 重設物件特性
rmappdata 刪除應用程式定義資料
set 建立物件特性
setappdata 建立應用程式定義資料
15.5 工具函數(Utilities)
closereq 關閉圖形窗請求函數
ishandle 若是圖柄代號側為真
newplot 下一個新圖


16 圖形用戶介面工具(Graphical user interface tools)
align 對齊用戶控制項和軸
cbedit 編輯回調函數
ginput 從滑鼠得到圖形點座標
guide 設計GUI
menu 創建菜單
menuedit 功能表編輯
propedit 屬性編輯
uicontrol 創建用戶介面控制
uimenu 創建用戶介面功能表


17 字串(Character string)
17.1 通用字串函數(General)
blanks 空白字元號
cellstr 通過字串陣列構建字串的元胞陣列
char 創建字元傳輸組或者將其他類型變數轉化為
字串陣列
deblank 刪除最後的空格
double 把字串變成ASCII 碼值
eval 執行串形式的MATLAB 運算式
17.2 字串查詢(String tests)
iscellstr 若是字串組成的元胞陣列則為真
ischar 若是字串則為真
isletter 串中是字母則為真
isspace 串中是空格則為真
isstr 若是字串則為真
17.3 字串操作(String operations)
base2dec X-進制串轉換為十進位整數
bin2dec 二進位串轉換為十進位整數
dec2base 十進位整數轉換為X 進制串
dec2bin 十進位整數轉換為二進位串
dec2hex 十進位整數轉換為16 進制串
findstr 在一個串中尋找一個子串
hex2dec 16-進制串轉換為十進位整數
hex2num 16-進制串轉換為浮點數
int2str 將整數轉換為字串
lower 把字串變成小寫
mat2str 將陣列轉換為字串
num2str 把數值轉換為字串
strcat 把多個串連接成長串
strcmp 比較字串
strcmpi 比較字串(忽略大小寫)
strings MATLAB 中的字串
strjust 字串的對齊方式
strmatch 逐行搜索串
strnomp 比較字串的前N 個字元
strncmpi 比較字串的前N 個字元(忽略大小寫)
strrep 用另一個串代替一個串中的子串
strtok 刪除串中的指定子串
strvcat 創建字串陣列
str2mat 將字串轉換為含有空格的陣列
str2num 將字串轉換為數值
upper 把字串變成大寫


18 檔輸入/輸出(File input/output)
clc 清除指令視窗
disp 顯示矩陣和文字內容
fprintf 把格式化資料寫到檔或螢幕
home 游標返回行首
input 提示鍵盤輸入
load 從磁片中調入資料變數
pause 暫停
sprintf 寫格式資料到串
sscanf 在格式控制下讀串


19 時間和日期(Time and dates)
clock 時鐘
cputme MATLAB 佔用CPU 時間
date 日期
etime 用CLOCK 計算的時間
now 當前時鐘和日期
pause 暫停
tic 碼錶啟動
toc 碼錶終止和顯示


20 資料類型(Data types and structures)
20.1 資料類型(Data types)
cell 創建元胞變數
char 創建字元傳輸組或者將其他類型變數轉化為
字串陣列
double 轉化為16 位相對精度的浮點數值物件
function handle 函數控制碼
inline 創建內聯函數
JavaArray 構建Java 陣列
JavaMethod 調用某個Java 方法
JavaObject 調用Java 物件的構造函數
single 轉變為單精確度數值
sparse 創建稀疏矩陣
struct 創建構架變數
uint8(unit16、unit32) 轉換為8(16、32)位元無符號整型數
int8(nit16、nit32) 轉換為8(16、32)位元符號整型數
20.2 多維陣列函數(Multi-dimensional array functions)
cat 把若干陣列串接成高維陣列
ndims 陣列A 的維數
ndgrid 為N-D 函數和插補創建陣列
ipermute 廣義反轉置
permute 廣義非共軛轉置
shiftdim 維數轉換
squeeze 使陣列降維
20.3 元胞陣列函數(Cell array functions)
cell 創建元胞變數
celldisp 顯示元胞陣列內容
cellfun 元胞陣列函數
cellplot 圖示元胞陣列的內容
cell2struct 把元胞陣列轉換為構架陣列
deal 把輸入分配給輸出
is cell 若是元胞則為真
num2 cell 把數值陣列轉換為元胞陣列
struct2 cell 把構架陣列轉換為元胞陣列
20.4 構架函數(Structure functions)
fieldnames 獲取構架的功能變數名稱
getfield 獲取域的內容
isfield 若為給定構架的功能變數名稱則為真
isstruct 若是構架則為真
rmfield 刪除構架的域
setfield 指定構架域的內容
struct 創建構架變數
20.5 函數控制碼函數(Function handle functions)
@ 創建函數控制碼
functions 列舉函數控制碼對應的函數
func2str 將函數控制碼陣列轉換為字串
str2func 將字串轉換為函數控制碼
20.6 面向物件編程(Object oriented programming functions)
dlass 查明變數的類型
isa 若是指定的資料類型則為真
inferiorto 級別較低
isjava 若是java 對象則為真
isobject 若是對象則為真
methods 顯示類的方法名
substruct 創建構架總量
superiorto 級別較高


21 示例(E xamples and demonstrations)
demo 演示程式
flow 無限大水體中水下射流速度資料
intro 幻燈演示指令
peaks 產生peaks 圖形資料


22 符號工具包(Symbolic Math Toolbox)
22.1 微積分(Calculus)
diff 求導數
limit 求極限
int 計算積分
jacobian Jacobian 矩陣
symsum 符號序列的求和
trylor Trylor 級數
22.2 線性代數(Linear Algebra)
det 行列式的值
diag 創建對角陣,抽取對角向量
eig 矩陣特徵值和特徵向量
expm 矩陣指數
inv 矩陣的逆
jordan Jordan 分解
null 零空間
poly 特徵多項式
rank 秩
rref 轉換為行階梯形
svd 奇異值分解
tril 抽取下三角陣
triu 抽取上三角陣
22.3 化簡(Simplification)
collect 合併同類項
expand 對指定項展開
factor 進行因式或因數分解
horner 轉換成嵌套形式
numden 提取公因式
simple 運用各種指令化簡符號運算式
simplify 恒等式簡化
subexpr 運用符號變數置換子運算式
subs 通用置換指令
22.4 方程求解(Solution of Equation)
compose 求復函數
dsolve 求解符號常微分方程
finverse 求反函數
fminunc 擬牛頓法求多元函數極值點
fsolve 解非線性方程組
lsqnonlin 解非線性最小二乘問題
solve 求解方程組
22.5 變數精度(Variable Precision Arithmetic)
digits 設置今後數值計算以n 位相對精度進行
vpa 給出數值型符號結果
22.6 積分變換(Integral Transforms)
fourier Fourier 變換
ifourier Fourier 反變換
ilaplace Ilaplace 反變換
iztrans Z 反變換
laplace Ilaplace 變換
ztrans Z 變換
22.7 轉換(Conversions)
char 把符號物件轉化為字串陣列
double 把符號常數轉化為16 位相對精度的浮點數值
對象
poly2sym 將多項式轉換為符號多項式
sym2poly 將符號多項式轉換為係數向量
22.8 基本操作(Basic Operation)
ccode 符號運算式的C 碼運算式
findsym 確認運算式中符號“變數”