{"id":21411708,"url":"https://github.com/flandrade/communication-system-simulation","last_synced_at":"2025-10-04T09:27:49.636Z","repository":{"id":83193414,"uuid":"48130501","full_name":"flandrade/communication-system-simulation","owner":"flandrade","description":"Communication system in Matlab ☎️","archived":false,"fork":false,"pushed_at":"2016-01-21T17:58:58.000Z","size":373,"stargazers_count":13,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-03-19T03:32:04.195Z","etag":null,"topics":["ber-curves","bpsk","bpsk-variables","codification","codification-algorithms","communication-systems","matlab","plots","quantization","quantization-error","simulation"],"latest_commit_sha":null,"homepage":"","language":"Matlab","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flandrade.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-12-16T19:27:39.000Z","updated_at":"2024-02-28T04:17:44.000Z","dependencies_parsed_at":"2023-03-22T06:54:22.033Z","dependency_job_id":null,"html_url":"https://github.com/flandrade/communication-system-simulation","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fcommunication-system-simulation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fcommunication-system-simulation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fcommunication-system-simulation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flandrade%2Fcommunication-system-simulation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flandrade","download_url":"https://codeload.github.com/flandrade/communication-system-simulation/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225941812,"owners_count":17549070,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ber-curves","bpsk","bpsk-variables","codification","codification-algorithms","communication-systems","matlab","plots","quantization","quantization-error","simulation"],"created_at":"2024-11-22T17:47:22.733Z","updated_at":"2025-10-04T09:27:49.567Z","avatar_url":"https://github.com/flandrade.png","language":"Matlab","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A communication system simulation\nThis program simulates a basic communication system using Matlab, and it plots BER curves in order to compare the performance of several codification algorithms. It includes the following components:\n\n![Diagram](https://github.com/flandrade/communication-system-simulation/blob/master/images/diagram.png)\n\n**main.m** is the main file.\n\n## Components and options\n\n### Input voices\n**Voz.wav** is the audio file that contains the message. The program plots the input signal.\n\n#### Output\n**fundamental_frequency**: the fundamental frequency of the message in the audio file.\n\n**x**: vector that contains the message.\n\n### Quantization\nThis module plots the first input signal with the levels of quantization and the quantized signal.\n\n#### Options\n**level**: the number of levels for quantization.\n\n**option_quantization**: quantization processes. Available options:\n- 1 - Uniform\n- 2 - Mu-Law\n- 4 - A-Law\n\n#### Output\n**xq**: quantized message.\n\n#### Output\n**quantization_error**: quantization error.\n\n## Codification\nThis simulation codifies the message using the following methods:\n- Hamming (7,4)\n- Convolutional codes: soft decision\n- Convolutional codes: hard decision\n\n## Modulation\nThis module modulates the message according the codification, and it plots the constellation for the selected modulation.\n\n#### Options\n**option_modulation**: modulation processes. Available options:\n- 1 - BPSK\n- 2 - QPSK\n- 3 - BPSK and QPSK\n\n#### Output\nMessage modulated according to the selected modulation:\n\n**BPSK variables**: bitsm1 (no codification), bitsm2 (Hamming), bitsm3 (Convolutionl)\n\n**QPSK variables**: bitsmqpsk1 (no codification), bitsmqpsk2 (Hamming), bitsmqpsk3 (Convolutional)\n\n## BER Curves\nThis module uses a loop in order to simulate an AWGN channel with several Eb/N0 values. Eb/N0 is the energy per bit to noise power spectral density ratio. Value between 1 and 6, where 6 is for the least noisy channel.\n\nDemodulation and decodification are performed in this loop. The program plots the BER curves of several codification algorithms.\n\n#### Output\nProbability of error gives the average rate of occurrence of decoding errors. Pe error for the codification algorithms according to the selected modulation:\n\n**BPSK variables**: errorpe_bpsk_nocod (no codification), errorpe_bpsk_hamming (Hamming), errorpe_bpsk_hard (Convolutionl: Hard decision), errorpe_bpsk_soft (Convolutional: Soft decision)\n\n**QPSK variables**: errorpe_qpsk_nocod (no codification), errorpe_qpsk_hamming (Hamming), errorpe_qpsk_hard (Convolutional: Hard decision)\n\n## Graphs\n\n![Plots](https://github.com/flandrade/communication-system-simulation/blob/master/images/graphs.jpg)\n\n### Acknowledgements\nThis program was developed during the communication course \"Comunicación y codificación digital\" at Universidad de las Fuerzas Armadas ESPE.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflandrade%2Fcommunication-system-simulation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflandrade%2Fcommunication-system-simulation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflandrade%2Fcommunication-system-simulation/lists"}