Geometric transformations, Electrical Engineering

Geometric transformations

  Apply the following geometric transformation to a set of points.
Generate randomly coordinates for 1 point X=(x,y).
X=100*rand(2,1)
x=X(1,1)%to access x coordinate
y=X(2,1)%to access y coordinate

generate a point in homogeneous coordinates
Xh=100*rand(3,1)
Xh(3,1)=1
figure(1);
plot(Xh(1,1),Xh(2,1),'o')  %display it on a figure

rescale the axis of the figure
axis([-100 100 -100 100])

generate 2 points in homogeneous coordinates
Xh=100*rand(3,2)
Xh(3,:)=1

display them on the figure in blue 'ob' and rescale the axis.
plot(Xh(1,:),Xh(2,:),'ob')
axis([-100 100 -100 100])

generate a 3x3 identity matrix using eye function (help eye). Name it H.
Xt=H*Xh;
What does this operation do?

Modify the matrix H such that it translates the points by vector t=[-100, -100];
display them on the same figure in red 'or'
figure(1);
plot(Xt(1,:),Xt(2,:),'or')

clean the figure

clf

Generate 300 points in homogeneous coordinates and display them in green.

(i) transform the points by applying matrix H with appropriately modified parameters. Generate one matrix for each transformation.
        translation  tx=-100, ty=0
        rotation      ra=pi/2;
        scaling       s=2
        translation + rotation + scaling in one matrix

How do you modify the matrix?

Posted Date: 2/26/2013 12:27:01 AM | Location : United States







Related Discussions:- Geometric transformations, Assignment Help, Ask Question on Geometric transformations, Get Answer, Expert's Help, Geometric transformations Discussions

Write discussion on Geometric transformations
Your posts are moderated
Related Questions
Q. What is an oscillator? Discuss the advantages of Oscillators ? An oscillator is a system consisting of active and passive circuit elements to produce a sinusoidal or other r

IGBT ( Insulated Gate Bipolar Transistor ) IGBT  stands for  insulated gate bipolar transistor. It is having the advantages of both power MOSFET and BJT.  In IGBT  layer is P

Q. Explain about Adaptive Control System? Another type of control system that makes use of the computer is known as adaptive control, which is functionally represented in Figur

transformer voltage induced in armatur of ac commentator machin in case tha field flux in sinosoidal?..

The circuit below will be most efficiently analyzed by obtaining the Thevenin equivalent circuit for the circuit to the left of the points (a-b) on the schematic. The capacitor is

Q. Explain the frequency response curve of a  RC coupled amplifier The frequency response curve of a typical RC coupled Amplifier is shown below: In mid frequency range

Q. Sketch the idealized (asymptotic) Bode plot for the transfer function Find the angular frequency at which H(ω) is 0dB and the angular frequency at which θ(ω) = -60°.

Electrical network details: 1          single line diagrams with conductor sizes, transformer locations, consumer location, lengths, capacitors, and load, etc., 2

Linearize the swing equations around an equilibrium point. Compute the transfer function from the input U to the output !. For which equilibria is the linearizes system stabl

Switching characteristics When  a positive signal  is applied GTO starts  conducting before  initiation of  conduction anode  current  is zero  and anode to cathode voltage Va