下列方程式如何畫出,請指教

17 views
Skip to first unread message

Will

unread,
Nov 23, 2009, 2:51:34 AM11/23/09
to 中文 Scilab 教育論壇
下列方程式如何畫出,請指教

S = (1-C)*G*exp(-G) - exp(-G) + exp((C-1)*G)

Will

unread,
Nov 23, 2009, 2:22:38 AM11/23/09
to 中文 Scilab 教育論壇

Yung-Jang Lee

unread,
Nov 23, 2009, 6:51:36 AM11/23/09
to ade-s...@googlegroups.com
這樣可以繪出 :
---------------------
G=0:0.1:10; // 設定 G 數值範圍
C= 0.3; // 假設 C = 0.3;
S = (1-C)*G.*exp(-G) - exp(-G) + exp((C-1)*G) ;//注意有一個乘號為 .*
plot2d(G,S); // 繪圖
xtitle('C= '+string(C),'G','S'); // 標示
----------------------

我將這例放在
http://ade.hane.tw/wiki/index.php/Scilab_Tutorial    Scilab 繪圖範例
中, 你可參考.


2009/11/23 Will <u841...@gmail.com>

Will

unread,
Nov 23, 2009, 7:09:42 AM11/23/09
to ade-s...@googlegroups.com
謝謝!!
Reply all
Reply to author
Forward
0 new messages