Saturday, 1 December 2012

How to install and configure SQL Server 2008 R2

Watch this video to configure SQL Server 2008 R2 :


Tuesday, 27 November 2012

Saturday, 24 November 2012

standard cell design with solution of common errors in Tanner EDA

Watch this video and you will be able to create basic standard cell designing in Tanner EDA with solvation of possible errors.


Friday, 2 November 2012

Thursday, 25 October 2012

Wednesday, 24 October 2012

New features added in Facebook

Today new messaging features is added in Facebook. As a No.1 social network they made a fantastic feature in their messaging and chat style.

Sunday, 21 October 2012

Image Fetch - ASP.NET



here the code below(.aspx)


<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

List Box - ASP.NET Toolbox



here the code below(.aspx)

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Radio Button with page load event - ASP.NET Toolbox



here the code below(.aspx)

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

implicitly coding defined dropdown image control - ASP.NET



here the code below(.aspx)

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

explicitly user defined dropdown image control - ASP.NET



here the code below(.aspx)

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    protected void Page_Load(object sender, EventArgs e)
    {
    }

Basic Calculator - ASP.NET



Here the code below

<%@ Page Language="C#" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Linear Convolution Assotiative Law (Prove) in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clear all
clc
x=input('enter the x(n) signal : ');
h1=input('enter the h1(n) signal : ');
h2=input('enter the h2(n) signal : ');
s1=input('starting value of x(n) : ');
s2=input('starting value of h1(n) : ');
s4=input('starting value of h2(n) : ');
l1=length(x);
l2=length(h1);
l3=l1+l2-1;
l4=length(h2);
l5=l3+l4-1;
s3=s1+s2;
s5=s3+s4;

Linear Convolution Commutative Law (Prove) in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clear all
clc
x=input('enter the x(n) signal : ');
h=input('enter the h(n) signal : ');
s1=input('starting value of x(n) : ');
s2=input('starting value of h1(n) : ');
l1=length(x);
l2=length(h);
l3=l1+l2-1;
s3=s1+s2;

Linear Convolution in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clear all;
clc;
x=input('enter the sequence h(n) : ');
h=input('enter the sequence x(n) : ');
s1=input('enter the starting interval of x(n) : ');
s2=input('enter the starting interval of h(n) : ');
l1=length(x);
l2=length(h);
l3=l1+l2-1;
s3=s1+s2;
n1=s1:1:s1+l1-1;
n2=s2:1:s2+l2-1;
n3=s3:1:s3+l3-1;

Circular Convolution in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clear all;
clc;
x=input('enter the sequence x(n) : ');
h=input('enter the sequence h(n) : ');
l_x=length(x);
l_h=length(h);
l=max(l_x,l_h);
x=[x,zeros(1,l-l_x)];
h=[h,zeros(1,l-l_h)];
l1=length(x);
m1=length(h);
j=0;

Z Transform in MATLAB


Just create a new file with extension .m and paste the code below in that .m file. Then Run it. 

 clear all;
clc;
syms z;
x=input('enter the sequence x(n) : ');

Linear vs Circular Convolution in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clear all;
clc;
x=input('enter the sequence h(n) : ');
h=input('enter the sequence x(n) : ');
%starting of circular convolution
l_x=length(x);
l_h=length(h);
l3=l_x+l_h-1;
n1=0:1:l_x-1;
n2=0:1:l_h-1;
n3=0:1:l3-1;
y=conv(x,h);
figure(1)

Circular Convolution (Overlap Add Without Function) in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.
 This will work for upto two sequence of signal. 

clear all;
clc;
x=input('Enter the sequence x(n) : ');
h=input('Enter the sequence h(n) : ');
m=length(h);
n=2^m;
l=n-m+1;
x1=[x(1:l),zeros(1,m-1)];
x2=[x((l+1):(2*l)),zeros(1,m-1)];

Circular Convolution (Overlap Save Without Function) in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.
 This will work for upto two sequence of signal.

clear all;
clc;
x=input('Enter the sequence x(n) : ');
h=input('Enter the sequence h(n) : ');
m=length(h);
n=2^m;
l=n-m+1;
x1=[zeros(1,m-1),x(1:l)];
x2=x((l-(m-1)+1):(l-(m-1)+n));
hf=[h,zeros(1,n-m)];

DFT in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.


clear all;
clc;
x=input('Enter the sequence x(n) : ');
N=input('\nEnter the value of no. of points N : ');
L=length(x);
if(N>=L)
    x=[x zeros(1,N-L)];
elseif(N<L)
 error('Length of sequence must be less than no. of points.\n');
end

Linear Convolution Using Cricular Convolution Method in MATLAB



Just create a two new file with extension .m and paste the code below in that .m file. Then Run it.

for circonv.m

function y = circonv(x,h)
l1=length(x);
%m1=length(h);
j=0;
for s=1:1:l1
    g(s)=0;
    j=j+1;
    for i=1:l1
        if j<1
            j=l1;
        end
        g(s)=g(s)+x(i)*h(j);


IDFT in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clc;
clear all;
x=input('Enter the sequence X(k) : ');
N=input('\nEnter the value of no. of points N : ');
L=length(x);
if(N>=L)
    x=[x zeros(1,N-L)];
elseif(N<L)

Z Transform Shifting Property in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clear all;
clc;
syms z;
x=input('enter the sequence x(n) : ');
s=input('enter the starting interval of x(n) : ');
a=input('enter the value of Shifting Factor(+ve for Delayed)(-ve for Advanced) : ');
l=length(x);
LHS=0;
%starting of LHS
for n=(s+a):1:(l+s+a-1)
    LHS=LHS+x(n-s-a+1)*z^(-n);

Window Functions in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.

clear all;
clc;
%starting of hamming
wc=.5*pi;
N=input('Enter the number of points : ');
subplot(6,1,1)
plot(hamming(N));grid;
ylabel('<-Magnitude->');
xlabel('<--Time-->');
b=fir1(N,wc/pi,hamming(N+1));

Twiddle Factor in MATLAB



Just create a new file with extension .m and paste the code below in that .m file. Then Run it.


clear all;
clc;
N=input('enter the no. of points : ');
W=exp((-j*2*pi)/N);
K=2;
%VERIFICATION OF SYMETRY PROPERTY

deleting a row/data from a table in JAVA




import java.sql.*;
import java.util.*;
class delete
{
    public static void main(String[] argv)
    {
        try
        {
            Scanner sc=new Scanner(System.in);
            String roll;
         
         
            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
            String database="jdbc:odbc:eceDSN";
            Connection con=DriverManager.getConnection(database,"","");
            System.out.println("DATABASE OF ECE is Connected");
            System.out.println("Enter The Roll No");

            roll=sc.nextLine();
            PreparedStatement ps=con.prepareStatement("delete from ECE where roll=?");
            ps.setString(1,roll);
         
            //create a statement object
            //Statement st=con.createStatement();
            //Execute the statement
            int result=ps.executeUpdate();
            if(result==1)
            {
                System.out.println("Record is Deleted Successfully");
            }
            con.close();
        }
        catch(Exception err)
        {
            System.out.println(err.getMessage());
        }
    //loading all the driver to the memory

    }
}

updating a table's data in JAVA



import java.sql.*;
import java.util.*;
class update
{
    public static void main(String[] argv)
    {
        try
        {
            Scanner sc=new Scanner(System.in);
            int a, result, tot,phno;
            String dob, roll;
         
            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

insertion program of data in JAVA



class insert
{
    public static void main(String[] argv)
    {
        try
        {
            Scanner sc=new Scanner(System.in);
            String name,roll,dob;
            int tot;
         
         
            Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

creating of a table in JAVA



import java.sql.*;
import java.util.*;
class Student
{

    public  static void main(String[] argv)
    {
        try
        {
            Scanner sc=new Scanner(System.in);
            String roll,name,dob;
             int tot,phno;

Queue Reader Program



/* * queue_reader.c - a program that reads messages with a given identifier * off of a message queue. */
#include <stdio.h>        /* standard I/O functions. */
#include <stdlib.h>       /* malloc(), free() etc. */
#include <unistd.h>        /* sleep(), etc. */
#include <sys/types.h>    /* various type definitions. */
#include <sys/ipc.h>      /* general SysV IPC structures */
#include <sys/msg.h>      /* message queue functions and structs.*/

Queue Sender Program



/* * queue_sender.c - a program that reads messages with one of 3 identifiers * to a message queue. */
#include <stdio.h> /* standard I/O functions. */
#include <stdlib.h> /* malloc(), free() etc. */
#include <sys/types.h> /* various type definitions. */
#include <sys/ipc.h> /* general SysV IPC structures */
#include <sys/msg.h> /* message queue functions and structs. */

Thursday, 13 September 2012

how to install Linux Mint 13 in Virtual Machine



Here step by step installation procedure of Linux Mint 13



how to install ubuntu 12.04



 


how to make usb bootable



Step 1: Go to the HERE and download the required tool.

Step 2 : Double click on Universal-USB-Installer-1.8.9.6.exe


how to install ubuntu 11.10 in virtual box



Follow step by step procedure to install ubuntu 11.10




how to install Xilinx 7.1i



Follow the procedure to install Xilinx properly.


Tech N Science © 2013