Intergation problem
古いコメントを表示
I am trying to solve the intergal of e^(-1/x)and plot it.
The entire function is as shown below,
Thanks in Anticipation
Shashi
回答 (1 件)
Andrei Bobrov
2011 年 10 月 8 日
C = 1;
a = 0;
b = 1;
quad(@(x)exp(-C./x),a,b)
about plot
fun = @(x)arrayfun(@(x)quad(@(x)exp(-C./x),0,x),x);
plot(0:.1:20,fun(0:.1:20))
2 件のコメント
Shashishekar
2011 年 10 月 8 日
Andrei Bobrov
2011 年 10 月 8 日
funcos = @(x)arrayfun(@(x)quad(@(x)sin(x+pi),pi/2,x),x);
カテゴリ
ヘルプ センター および File Exchange で Image Arithmetic についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!