看板 MATLAB 關於我們 聯絡資訊
小弟剛用matlab不久 y(0)=1,y'(0)=0 y=(c1+c2t)exp(-Wnt),Wn為已知 這樣可以求出c1,c2嗎 要用哪種指令呢跪求大大指引QQ -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 210.241.56.108 ※ 文章網址: https://www.ptt.cc/bbs/MATLAB/M.1430275052.A.90D.html
celestialgod: symbolic toolbox有工具可以做 04/29 12:09
celestialgod: syms c1 c2; y = @(wn, t) your function; 04/29 12:10
celestialgod: solve(diff(y(wn, 0))==0, y(wn, 0) == 1) 04/29 12:11
sherees: help ode45 05/10 13:41