I've been looking for a MATLAB grasp/hand model that can be used for simulation of hand gestures. I found this SynGrasp, but can't seem to find the parameters for the joints' angles in any of the examples. Where can I find them? If not that, does anyone know a Simulink or Matlab hand gesture simulator?
Related
The description of the Simulink MATLAB package for Simscape Multibody says it can formulate the equations of motion for a mechanical system. I searched everywhere in the documentation and examples and I can't find a single example of how to do this, is there a specific block or does it actually mean the software calculates the equations as a black box and can't be extracted? Additionally, I'm also looking to calculate and simulate the natural frequencies of a planetary gearbox, can this packages also do this?
I'd appreciate any comments and suggestions, thank you!
https://uk.mathworks.com/help/physmod/sm/
"You can model multibody systems using blocks representing bodies, joints, constraints, force elements, and sensors. Simscape Multibody formulates and solves the equations of motion for the complete mechanical system. You can import complete CAD assemblies, including all masses, inertias, joints, constraints, and 3D geometry, into your model. An automatically generated 3D animation lets you visualize the system dynamics."
Simscape Multibody solves the equations of motions under the hood, it does not make them available to the user. It is in effect, a black box.
With regards to vibration analysis, this can be done in the Simscape Driveline package. Though the level of detail might not be high enough to do this for a single planetary gearbox.
There's a tool called simscape2casadi that, though in alpha stage, claims to be able to do what you want. A description can be found in this paper and the code can be found in this git repository. Please note that it requires Simulink Coder to generate C code from your model.
Phet has a really neat simulation here for gravitation orbits that you can play around with. Are there any other simulations out there that let you do the same, but also allow you to play around with the equations of motion? (ie. diff equations). I think it would make for great learning tool to see how gravity would function if instead of being a 1/r^2 force, it was 1/r or r or sqrt(r), etc...
Thanks.
Mathematical tools like matlab (alternatively scilab or octave) or mathematica (alternatively sage or wxmaxima) propose ODE solving stuff / integration tools, I guess you can have a look at them. You can use them to integrate your equations then plot them and deduce the different behaviours. This will always be "less graphical" though.
The MIT youtube channel has a course about Differential Equations, with some videos about matlab tools, you can have a look at them here
I calibrated a camera with checkerboard pattern using OpenCV and MATLAB. I got .489 and .187 for Mean Re-projection errors in OpenCV and MATLAB respectively. From the looks of it, MATLAB is more precise. But my adviser feels both MATLAB and OpenCV use the same BOUGET's algorithm and should report same error (or close). Is it so ? Can someone explain the difference b/w MATLAB and OpenCV camera calibration methods ?
Thanks!
Your adviser is correct in that both MATLAB and OpenCV use essentially the same calibration algorithm. However, MATLAB uses the Levenberg-Marquardt non-linear least squares algorithm for the optimization (see documentation), whereas OpenCV uses gradient descent. I would guess that this accounts for most of the difference in the reprojection errors.
Additionally, MATLAB and OpenCV use different algorithms for checkerboard detection.
I want to find Region of interest of a color image in MatLab.
Is it good to use openCV inside matlab to find ROI?
Please help me how to achieve this
Matlab and OpenCV are two completely different things. OpenCV is a vision library that you can use in C++ or Python, and you should see Matlab as a programming language, which uses its own libraries (toolboxes), among those you may be interested in the Image processing toolbox and the Computer vision system toolbox.
If you wish to manually mark a ROI in Matlab there are few ways to do it. The easiest, is to use
BW = roipoly.
See roipoly documentation
To the best of my knowledge, no similar generic function such as Matlab's roipoly exists in OpenCV.
I would like to learn how does the Wavelet transform works from a practical point of view. I have read the theory regarding it and I think that I have understood the main idea behind it, but I would like to have some practice with it.
Can you please recommend me some tutorial and some data which I can use for learning the Wavelet Transform by using Matlab environment?
I tried to search for audio signal or practical tutorial on which I can work on but I had no results.
The Mathworks site has some information on their wavelet toolbox and some simple examples of continuous 1D wavelet transforms and discrete 2D wavelet transforms.
Since you have studied and understood the theory behind wavelet transforms, the best way to learn is to go through the source code for various algorithms that have been used by others. For starters looking at the core of the various functions provided in the toolbox above (just enter type functionname at the command line in MATLAB. Unless if it's a built-in function, you'll see the file contents). By core of the function, I mean the main algorithm without all the various input checks that are common.
The Wavelab toolbox from Stanford university is also a good resource to learn from (and later use in your applications when you're comfortable with it).
Lastly, this is a resource I found by Googling and it looks like they have some examples that you can try out.