Showing posts with label and. Show all posts
Showing posts with label and. Show all posts

How to generate Digital Filter Coefficient and test the Filter in Matlab

| 0 comments |
This blog post shows how to generate a digital filter coefficient for a given input signal and then test the filter with impulse input signal.

Matlab has a two functions that are in a way inverse to each other. These function are prony and filter. The prony function generates Z transform of input signal with filter coefficient. The filter function generates output impulse response in response to given filter coefficients and input signal. Delta signal can be used with the filter coefficient to test the filter.

First generate some input signal like the following,

n = [0:50];
x = sin(2*pi*n/25);

Then use this signal x to determine filter coefficients a,b with the help of prony matlab function as follows,

[b,a] = prony(x,2,2);

The syntax of this function is,

[b,a] =prony{x,M,N)

where x is the input signal, M is the number of zeros and N is the number of poles

We can plot the input signal x as follows,

plot(n,x,*)

The plot is,


Now, we use the a,b coefficients generated above and check whether these filter coefficients generates the same output x in response to an input delta impulse.

Define delta signal to apply to the filter,

d = [1 zeros(1,50)];

Then apply this delta input to the filter using filter matlab function to get the filter response y,

y = filter(b,a,d);

Now plot y,



We see that when first x signal generated a and b coefficients and these coefficient were used for a filter we get the same signal back y for an input delta signal.

Indeed, we may plot both x and y on the same graph to see the result,

plot(n,x,*,n,y,o)

which gives,


So in this way we can use the prone and filter matlab functions to generate filter coefficients and later utilize them to build a digital filter. So these function are quite useful in Digital Signal Processing work using matlab.
Read More..

How to design Encoder using Verilog and VHDL

| 0 comments |
Encoder are used in communication system design to encode discrete data. They are found in source encoder, channel encoder as well as encryption of data. Decoder are used at the receiver to decode the encoded data. A simple encoder accepts 2^n inputs and outputs n bits, for example, if n is 3 then input is 8 bits. A truth table for 8x3 encoder is shown below.


This encoder truth table can be implemented using case, if or for statement. The case statement makes the code cleaner than with using if statement. The for statement finds more usefulness for larger encoder construct. 

Below are verilog and VHDL code using the case statements.

Encoder using case in VHDL

library ieee;
use ieee.std_logic_1164.all;
use ieee.numeric_std.all;

entity encoder is
    port(
    A : in unsigned(7 downto 0);
    Y : out unsigned(2 downto 0)
    );
end encoder;

architecture encoder_arch of encoder is
begin
    process(A)
    begin
        case A is
            when "00000001" => Y <= "000";
            when "00000010" => Y <= "001";
            when "00000100" => Y <= "000";
            when "00001000" => Y <= "001";
            when "00010000" => Y <= "000";
            when "00100000" => Y <= "001";
            when "01000000" => Y <= "000";
            when "10000000" => Y <= "001";
            when others => Y <= "XXX";
        end case;
    end process;
end encoder_arch;

Encoder using case in Verilog

 module encoder(A,Y);
    input [7:0] A;
    output [2:0] Y;
    reg [2:0] Y;
  
    always@(A)
        begin
            casex(A)
                8b00000001 : Y = 0;
                8b00000010 : Y = 1;
                8b00000100 : Y = 2;
                8b00001000 : Y = 3;
                8b00010000 : Y = 4;
                8b00100000 : Y = 5;
                8b01000000 : Y = 6;
                8b10000000 : Y = 7;
                default : Y = 3bX;
            endcase
        end
    endmodule

The verilog code is shorter than the VHDL code for this case statement.
Read More..

Download Pain and Gain 2013 BluRay 720p

| 0 comments |
Bismillah.
Kesempatan kali ini saya akan kembali memperbarui koleksi film di blog ini. Film kali ini yang akan saya posting yaitu salah satu film terbaru yang berjudul Pain and Gain. "Pain & Gain" merupakan sebuah film yang berdasarkan kisah nyata pada tahun 1999 yang pernah dimuat di majalah New Miami Times. Film "Pain & Gain" dibintangi oleh Mark Wahlberg dan bintang "smackdown" Dwayne "The Rock" Johnson. Film yang disutradarai oleh Michael Bay ini sangat sayang untuk dilewatkan, perpaduan antara kisah nyata, unsur aksi, drama dan komedinya menjadi nilai tersendiri dari film ini.

About Film

Info: IMDb
Release Date: 26 April 2013 (USA)
Genre: Comedy | Crime | Drama
Stars : Mark Wahlberg, Dwayne Johnson, Anthony Mackie
Quality: BluRay 720p
Encoder: SHQ@Ganool
Source: 720p BluRay X264-AMIABLE
Size: 900MB
Subtitle: Indonesia, English
Synopsis: A trio of bodybuilders in Florida get caught up in an extortion ring and a kidnapping scheme that goes terribly wrong.

Watch Trailer


Screenshot



Link Download

Download | (.mkv) | 900 MB | 5 Part or Single Link | Password : xversailez | By Tinypaste (Akafile,MightyUpload,Putlocker,UPaFile,UpToBox,dll)

Get Problem? Read How To Download Here

Terima kasih!
Semoga bermanfaat!

Source : http://ganool.com/pain-and-gain-2013-bluray-720p-900mb-ganool
Read More..

Add your voice to Facebook Twitter and your blog with Cinchcast

| 0 comments |
Post audio on Facebook and Twitter 


Cinch is a free and easy way to create and share audio, text and photo updates using your phone or computer. Cinch enables you to capture and report on your experiences in a way that simple text just cant do. Using a simple interface, you can make and broadcast your content creations through Facebook, Twitter, CinchCast and more.


     How To Use      

Step 1 : Login to CinchRegister for a Cinch account, or just login using your current Facebook or Twitter account, to begin creating content.
Step 2 : Create and share audio, text and photo updates all in one place using CinchCast
Step 3 : Organize and save all your favorite cinches in albums that people can easily follow.
Step 4 : Enjoy.


Free
Home Page
Read More..

Download Ashampoo ClipFinder HD 2 16 Find view save and convert web videos in HD or SD

| 0 comments |
Ashampoo ClipFinder HD gives you web video the way it should be. Search in up to fifteen video portals at once or in selected portals, view videos directly and convert and save them to your hard disk with a single click.

Nothing makes finding, viewing, saving and managing web videos easier. And Ashampoo Clip-finder HD isn`t just better, it`s cool.



Enjoy videos on the revolutionary 3D Video Wall, download and convert videos with only one click, play your favorite videos with the new cool video player in full-screen mode, just add new clips into your play list by the fly (Enqueue to Playlist function), start new searches for more videos in single tabs - like tabbed browsing.

Ashampoo ClipFinder HD currently supports the most 15 popular video portals like YouTube, Vimeo, Spike, Veoh, Google Video, LiveVideo, Dailymotion, blip.tv, Yahoo! Video, Metacafe, MySpace, SevenLoad, MyVideo, videu and ClipFish.

Features :

  1. * Still completely free
  2. * Amazing 3D Video Wall clip browser
  3. * Vimeo portal added (lots of HD clips)
  4. * Search up to 15 video portals at once
  5. * Search in selected video portals
  6. * 1-click download and convert
  7. * HD video filter – find only HD videos
  8. * New video player with full-screen mode
  9. * Improved video playlists
  10. * Tabbed searching, like tabbed browsing









Very beautiful appearance, very good software in all ways !! .. with it you can to watch and download any video from a lot of sites, you have to try it ;)

OS : Windows XP/Vista/7
Size : 16.75MB
Freeware
Home Page
Download : Mediafire - Oron
Read More..

AVG KASPERSKY AND AVAST LICENSE KEY Free Download Full Version

| 0 comments |
AVG, KASPERSKY AND AVAST LICENSE KEY



download without any doubt 100% free and working AVG (life time) kasper (1 year) AND AVAST (life time) LICENSE KEY

Visit our Facebook page

DOWNLOAD NOW

Read More..