Feeds
질문
integration of a piecewise function
Can anyone help me understand why integral(@(mu) (1.0+0.0*mu).*(mu>0)+(1-exp(1.0./mu)).*(mu<0),0,1) gives a "NaN", wh...
대략 7년 전 | 답변 수: 1 | 0
1
답변질문
When you are at a break-point, is there an equivalent of "up" and "down" in gdb so you can navigate through call stack and access variable values out of current scope.
When you are at a breakpoint, is there a MATLAB equivalence of "up" and "down" in gdb so you can navigate through call stack and...
7년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
How to make MATLAB code execute faster
This page might be useful. <https://www.mathworks.com/help/matlab/matlab_prog/techniques-for-improving-performance.html>
How to make MATLAB code execute faster
This page might be useful. <https://www.mathworks.com/help/matlab/matlab_prog/techniques-for-improving-performance.html>
7년 초과 전 | 3
답변 있음
Nested Numerical Integral in Matlab
Seems to me that this is what you are looking for. I assumed a random expression for f function since you did not specify it. ...
Nested Numerical Integral in Matlab
Seems to me that this is what you are looking for. I assumed a random expression for f function since you did not specify it. ...
7년 초과 전 | 3
질문
Derived Function Handle does not support integration operation, frustrating!
Try this piece of code, which works fine. a=1;b=2; % A two-variate function f2= @(x,y) x+y; derivedF2=@(x) integral(@...
7년 초과 전 | 답변 수: 2 | 0
2
답변질문
the function 'solve' doesn't give all the solutions.
% this does not give all the solutions syms u; solve(1-0.99-(u+1)*exp(-u)); double(ans) see the short 3-line code th...
대략 11년 전 | 답변 수: 1 | 0