Matlab: Solving Boundary Value Problems
Loading...
18,791
Uploader Comments (jakeblanchard)
see all
All Comments (28)
-
@jakeblanchard thank you, I will try to manage it!
-
Thanks for the very useful video. I can't understand how can I find the guess of my bvp.. could you help me?
-
It could be you need a better initial guess. It also might be a problem with the equations themselves. I'd have to see the code to be sure. You can send me the code if you want me to look at it. Send to blanchard "at" engr.wisc.edu
Loading...
Hi Mr.Jakeblanchard,
I have a query to ask in matlab which i hope you can help with. I have some 50 images which i want to stack along the Z direction at a fixed interval between the images/slices i.e. images are parallel to X-Y plane. After stacking I want to develop a 3D image by using some kind of interpolation between the slices. Is this possible to do in matlab??. If possible can you shed some light on what lines should I proceed??
Thankyou for your time!!!
MsChano87 1 month ago
@MsChano87
I have no idea if this is possible. Sorry.
jakeblanchard 1 month ago
Thanks for the very useful video. I can't understand how can I find the guess of my bvp.. could you help me? and how did you choose yours?
fgiuglia 8 months ago
@fgiuglia
I try not to solve a problem numerically until I have a pretty good idea what the answer should look like. The best approach is to work out some kind of approximate analytical solution. Then this can be used as an initial guess for the numerical solution.
jakeblanchard 8 months ago
@jakeblanchard
Thank you very much. Sorry if I am not smart, but what is the link with the constants in the initial guess and your solution?
fgiuglia 8 months ago
@fgiuglia
I knew the analytical solution for my problem, so it was pretty easy to formulate a rough guess. Also, this is a linear equation so the guess is relatively unimportant. Guesses are much more important for nonlinear equations.
I'll repeat, if you are going to solve a problem numerically, you should already know what the solution looks like. Use approximations to allow for analytical solutions of a simplified problem. Then you can use this approximation for the guess.
jakeblanchard 8 months ago
@jakeblanchard
One more suggestion. The first time you use a tool like bvp4c, test it on a problem for which you know the exact solution. Then you can be sure you're using the tool correctly. Then you can move on to solve harder problems for which you don't have an analytical solution.
jakeblanchard 8 months ago