Jump to content

File:Lenss.png

Page contents not supported in other languages.
This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia
    Original file (561 × 420 pixels, file size: 10 KB, MIME type: image/png)

    Summary

    Description
    English: MATLAB script:
    clear all ; close all ; clc 
    
    EbNo = 0:7; 
    lens = 5:9; 
    gens = [[35 23]; [51 73]; [171 133]; [371 247]; [753 561]]; 
    
    for g = 1:length(gens) 
        spect = distspec(poly2trellis(lens(g), gens(g,:)),lens(g)) 
        ber_soft(:, g) = bercoding(EbNo,'conv','soft',1/2,spect); 
        ber_hard(:, g) = bercoding(EbNo,'conv','hard',1/2,spect); 
    end 
    ber_u = berawgn(EbNo,'psk',4,'nondiff').'; 
    
    ber1 = [ber_soft ber_u]; 
    ber2 = [ber_hard ber_u]; 
    
    figure(1) 
    semilogy(EbNo, ber1,'LineWidth', 1.5) 
    hold on 
    legend('Soft (5,[35 23])',... 
    'Soft (6,[51 73])','Soft (7,[171 133])',... 
    'Soft (8,[371 247])','Soft (9,[753 561])',... 
    'Uncoded','location','best') 
    grid on 
    xlabel('Eb/No (dB)') 
    ylabel('Bit Error Rate') 
    
    figure(2) 
    semilogy(EbNo, ber2,'LineWidth', 1.5) 
    hold on 
    legend('Hard (5,[35 23])',... 
    'Hard (6,[51 73])','Hard (7,[171 133])',... 
    'Hard (8,[371 247])','Hard (9,[753 561])',... 
    'Uncoded','location','best') 
    grid on 
    xlabel('Eb/No (dB)') 
    ylabel('Bit Error Rate')
    
    Date
    Source Own work
    Author Kirlf
    Other versions
    This graph image could be re-created using vector graphics as a SVG file. This has several advantages; see Commons:Media for cleanup for more information. If a SVG form of this image is available, please upload it and afterwards replace this template with {{vector version available|new image name}}.
    It is recommended to name the SVG file “Lenss.svg”—then the template Vector version available (or Vva) does not need the new image name parameter.

    Licensing

    I, the copyright holder of this work, hereby publish it under the following license:
    w:en:Creative Commons
    attribution share alike
    This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
    You are free:
    • to share – to copy, distribute and transmit the work
    • to remix – to adapt the work
    Under the following conditions:
    • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
    • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

    Captions

    Comparison of the different structures of the convolutional codes (QPSK, AWGN).

    Items portrayed in this file

    depicts

    11 January 2019

    9,761 byte

    420 pixel

    561 pixel

    image/png

    dee1b076395da1a543eb300694e6da18b6dd87f3

    File history

    Click on a date/time to view the file as it appeared at that time.

    Date/TimeThumbnailDimensionsUserComment
    current05:46, 6 February 2019Thumbnail for version as of 05:46, 6 February 2019561 × 420 (10 KB)KirlfUser created page with UploadWizard

    The following page uses this file:

    Global file usage

    The following other wikis use this file:

    Metadata