How to solve this equation for Laplace transform with matlab?
조회 수: 2 (최근 30일)
이전 댓글 표시
댓글 수: 10
Walter Roberson
2020년 2월 28일
Your zeta is a symbolic expression in k and y according to symvar(), but it also contains k2 inside fourier() calls.
Perhaps you should do
kvals = 0:100;
yvals = linspace(-200,200,101);
[K,Y] = meshgrid(kvals, yvals);
Zsym = subs(zeta, {k, y}, {K, Y});
Z = double(Zsym);
surf(K,Y,Z)
However in practice this does not work: after the substitution, double() is not able to resolve some of the values to numeric. I discovered that some of them can be converted to a better form by using simplify(Zsym), but that is slow.
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!