Saturday 30 April 2011

Program to draw a circle in MATLAB

Related posts:

Program to add two continuous signals in MATLAB

Program for convolution of continuous sequences in MATLAB


_____________________________________________________________________________________________________

Program to draw a circle in MATLAB:

r=2;
 t=0:pi/24:2*pi;
x=r*cos(t);
y=r*sin(t);
 plot(x,y,x,y,'*')
 grid on

Friday 29 April 2011

Program for addition of two continuous signals in MATLAB

Program for addition of two continuous signals in Matlab:

x=linspace(0,2*pi,100);

a=sin(x);

b=cos(x);

c=a+b;


y=plot(x,a,x,b,'*',x,c,'+')

Program for convolution of two continuous sequences in MATLAB

Here is the program for convolution of two continuous sequences in MATLAB:

x=[1 0 -1 1 1];
t1=length(x);
h=[1 1 1 1 1];
t2=length(h);
y=conv(x,h);
t=1:1:t1+t2-1;
plot(t,y)

Wednesday 27 April 2011

Multiple yahoo messenger simultaneously

You can login with multiple id's on the same yahoo messenger without any download or patch .
Follow these steps :

1. Go to Start ----> Run . Type regedit, then press enter .

2.Navigate to HKEY_CURRENT_USER --------> Software --->yahoo ----->pager---->Test

3.On the right page , right-click and choose new Dword value .

4.Rename it as Plural.

5.Double click and assign a decimal value of 1.

Its done successfully!!

now open as many  yahoo messenger and use them with multiple login..

Thursday 21 April 2011

Recognize your mail is a spam i.e. fake or not

Now a days due to the increasing passion towards the hacking and technology geeks the white hackers are in the lime light.

Spam has been a very common part now a days ,but the thing is how can we recognize that the mail we received is a fake one or not??but don wry there is an easy way in itself,just the thing is we know it:

1.For gmail users,open your inbox and then your mail you wanna check,then click on the drop down button present at reply option at top of the mail..there you will find a "show original" button click there..and then click on show header...a new window will get open and you will be able to see the original sender its i.p. and everything.

2.For yahoo users..at the end of the mail body you will see a button with name "Full Header"...just click there and you will get what you want.

SUBSCRIBE OUR EMAIL NEWSLETTER FOR MORE SUCH INFORMATION AND BE A TECHNOLOGY GEEK.

Thursday 7 April 2011

VHDL code for full adder

RELATED POSTS:

1.VHDL Code for 4 bit comparator

2.VHDL code for d flip flop

3.VHDL code for 2 to 4 binary decoder

______________________________________________________________________________

Here is the VHDL code for FULL ADDER:



 

 

 

 

 

 

LIBRARY ieee ;
USE ieee.std_logic_1164.all ;

ENTITY fulladd IS
PORT (    Cin, x, y        : IN     STD_LOGIC ;
s, Cout            : OUT     STD_LOGIC ) ;
END fulladd ;

ARCHITECTURE beh OF fulladd IS
BEGIN
s <= x XOR y XOR Cin ;
Cout <= (x AND y) OR (Cin AND x) OR (Cin AND y) ;
END beh ;

Subscribe us for more such details directly to your mail,and write here for any of your queries and suggestions.