Top 5% contributor
1 month ago
Does this work?
syms t at bt ct
f = at*bt*ct*t;
syms a(t) b(t) c(t)
dfda = subs(diff(f,at),[at,bt,ct],[a(t),b(t),c...
Answered 2 years ago
I really don't like this solution at all but does this work for you?:
syms x1 x2 x3 x4 x5
X = [x1 x2 x3 x4 x5].';
Most likely you will need to introduce an auxiliary variable, v and equation du/dt = v since pdepe does not handle d2u/dt2 terms...
Answered 3 years ago
Q,G,H,R are alternative ways to specify boundary conditions for assempde() (static & linear case). Typically you would use them ...
Learn how you and your students can benefit from incorporating MATLAB in your physics curriculum
3 years ago
For your point 3), in addition to Bill Greene's suggestions, it will be useful to look at the answer to
Answered 4 years ago
I apologize - I had posted an answer before but that was very wrong so I deleted it :) I am not seeing any easy wa...
Don't know if you're still looking to solve this problem.
The link below shows a static plate example of converting a 4th...
Given a list of results from trades made:
[1 3 -4 2 -1 2 3]
We can add them up to see this series of trades made a profit ...
2 years ago
You have a phenomenon that produces strictly positive or negative results.
delta = [1 -3 4 2 -1 6 -2 -7];
Given two lists of numbers, determine the weighted average.
[1 2 3] and [10 15 20]
should result in
Regardless of input, output the string 'yes'.
Try out this test problem first.
Given the variable x as your input, multiply it by two and put the result in y.
(- z^3 + y)^(1/2)
-(- z^3 + y)^(1/2)
If you still have the issue, could you just try matlabFunction(H, your variables) and see if the anonymous function is computed ...
This file exchange entry may be of use:
couple of ways -
* <http://www.mathworks.com/help/matlab/ref/pdepe.html pdepe> for 1-D in space equations or if the symmetry...
It would be helpful to get details on the PDE formulation that shows how the domain evolves. I assume domain refers t...
2376416766.651975*exp(-130.000766*t) + 23583233.34802504
Is this the sort of thing ...
You can try <http://www.mathworks.com/help/symbolic/vpasolve.html?searchHighlight=vpasolve vpasolve>, Symbolic Math Toolbox's nu...
Assuming that your heat transfer model is LTI, I would recommend extracting system matrices from your PDE model and co...
This is with regards to the second part of your question: This problem should be solvable via pdepe. I could not infer the form ...
If I understood correctly, the geometry does not change and only the pde coefficients change. If this is the case, I would recom...
ux, uy should be the way to specify the first derivatives. Could you post your PDE and the error that you are seeing?
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a location from the following list:
See all countries