i want to calculate this integration in mathematica , but i have faced this problem i have attached. Thanks for your assistance.
The problem is clearly the (du)^2 term as the following shows:
But if this is really what you mean, you can do:
Related
I've been attempting to check my work with Mathematica, and it's giving me the incorrect answer for a reasonably simple derivative. It also gave me the wrong solution for a different problem. I've included a screenshot of the work by hand and a screenshot of the incorrect answer.
What could be causing this error?
The Image shows a picture of the incorrect answer for a derivative
This is the solution worked out by hand.
When I type a function into wolfram mathematica (such as EulerEquations[]) it doesn't output a solution, just outputs the same thing I typed in as input.
Does anyone know how to fix this?
EulerEquations[f,y[x],x] will return the Euler-Lagrange differential equation obeyed from y[x]. You'll probably recall these are associated with a variational problem for the functional f. Try entering Dsolve[%,y[x],x] to get the solution, if that's what you're after.
Also, you may need to load the package Needs["VariationalMethods`"], especially if you're working directly in Mathematica and not on Alpha.
I have a simple linear programming problem. After solving it, I get the correct result. I want to speed it up using hot-start feature of MOSEK, but I don't know how to set some parameters like "res.sol.bas.sku", "res.sol.bas.skn", .... I only know an initial solution, i.e, "res.sol.bas.xx", where the value of the variables are stored for a near to optimal solution. Is it possible for me to accelerate the engine using Hot start feature in this way!
Regards
You seem to using MATLAB. Did you read
http://docs.mosek.com/6.0/toolbox/node009.html#238393032
Does it solve the issue?
I have an application that will hold a set of images in a SQLDatabase and then the user will take a photo and I want to be able to match it with an image in the database.
I have no idea where to start, can anyone help? point me in the right direction?
Thanks
Start by checking out OpenCV.
The problem you are trying to solve is not exactly trivial though. It is an area of ongoing research and none of the algorithms are perfect (in fact they're all far from perfect, IMO).
Good luck!
Start with OpenCV and understand that this is a non-trivial task.
http://opencv.willowgarage.com/wiki/
Good luck.
Is there any specific algorithm for handwriting recognition?
The algorithm should recognize the hand written letter.
Any one could help would be greatly appreciated in advance.
Thank you
You can use a genetic algorithm:
http://www.foibg.com/ibs_isc/ibs-02/IBS-02-p03.pdf
You can use Greedy Point Match:
http://www.cs.berkeley.edu/~fateman/msw/GreedyPointMatchWriteup.pdf
I would suggest reading this paper:
On-Line and Off-Line Handwriting Recognition: A Comprehensive Survey
OCR might be a good starting point.
There's the dollar family of recognizers which you can use to recognize single or multistroke gestures (and potentially map that to your alphabet) The lastest member of this family is the $P Recognizer. Here's a starting point: http://depts.washington.edu/aimgroup/proj/dollar/pdollar.html
Google has released an open source OCR engines Tesseract OCR, and It has an Python binding.
Hope this helps.
This one seems to win all the major competitions lately: https://github.com/alexgraves/RNNLIB/wiki