{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/A/AOdragon/20120207/20120207202157.png","categories":[],"title":"\u5fae\u5206\u65b9\u7a0b\u5f0f\u3067\u6570\u5b66\u30e2\u30c7\u30eb\u3092\u4f5c\u308d\u3046\u30002\u7ae0","width":"100%","url":"https://aodragon.hatenadiary.org/entry/20120207","height":"190","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Faodragon.hatenadiary.org%2Fentry%2F20120207\" title=\"\u5fae\u5206\u65b9\u7a0b\u5f0f\u3067\u6570\u5b66\u30e2\u30c7\u30eb\u3092\u4f5c\u308d\u3046\u30002\u7ae0 - \u9b5a\u6599\u7406\u597d\u304d\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_name":"AOdragon","version":"1.0","author_url":"https://blog.hatena.ne.jp/AOdragon/","description":"\uff12\u7ae0\u306e\u300c\u85ac\u306e\u5438\u53ce\u300d\u3068\u300c\u6c34\u306e\u904e\u71b1\u3068\u51b7\u5374\u300d\u306b\u3064\u3044\u3066matlab\u3067\u66f8\u3044\u3066\u307f\u307e\u3057\u305f\u3002 \u307e\u305a\u306f\u300c\u85ac\u306e\u5438\u53ce\u300d\u304b\u3089\u3067\u3059\u3002 function dYdt=medicine_model(t,Y) k=0.5 dYdt=[-k*Y]; %\u4e00\u5b9a\u306e\u6fc3\u5ea6\u5e45\u3092\u7dad\u6301\u3057\u7d9a\u3051\u308b\u5834\u5408 k=0.5; y0=100; T=0.5; Ys=y0/(1-exp(-k*T)); Ym=Ys*exp(-k*T); for i=[0:1:29]; [t,Y]=ode45(@medicine_model,[i*T (i+1)*T],Ys); hold on; plot(t,Y,'b'); title('\u85ac\u5264\u6295\u4e0e\u30e2\u30c7\u30eb'); xlabel('\u6642\u9593\uff08\u2026","provider_name":"Hatena Blog","blog_url":"https://aodragon.hatenadiary.org/","published":"2012-02-07 00:00:00","blog_title":"\u9b5a\u6599\u7406\u597d\u304d\u306e\u65e5\u8a18","provider_url":"https://hatena.blog"}