You will need to use matlab. Make a plot of your hand. Start with figure(’positi
ID: 3723711 • Letter: Y
Question
You will need to use matlab. Make a plot of your hand. Start with figure(’position’,get(0,’screensize’)) axes(’position’,[0 0 1 1]) [x,y] = ginput; Place your hand on the computer screen. Use the mouse to select a few dozen points outlining your hand. Terminate the ginput with a carriage return. You might find it easier to trace your hand on a piece of paper and then put the paper on the computer screen. You should be able to see the ginput cursor through the paper. (Save these data. We will refer to them in other exercises later in this book.) Now think of x and y as two functions of an independent variable that goes from one to the number of points you collected. You can interpolate both functions on a finer grid and plot the result with n = length(x); s = (1:n)’; t = (1:.05:n)’; u = splinetx(s,x,t); v = splinetx(s,y,t); clf reset plot(x,y,’.’,u,v,’-’); Do the same thing with pchiptx. Which do you prefer? Figure 3.11 is the plot of my hand. Can you tell if it was done with splinetx or pchiptx?
Figure 3.11. A handExplanation / Answer
=> This is not same but this code is almost same this recognize the hand gesture this also indicate the Hand.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.