What is Code: Definition and 958 Discussions

In communications and information processing, code is a system of rules to convert information—such as a letter, word, sound, image, or gesture—into another form, sometimes shortened or secret, for communication through a communication channel or storage in a storage medium. An early example is an invention of language, which enabled a person, through speech, to communicate what they thought, saw, heard, or felt to others. But speech limits the range of communication to the distance a voice can carry and limits the audience to those present when the speech is uttered. The invention of writing, which converted spoken language into visual symbols, extended the range of communication across space and time.
The process of encoding converts information from a source into symbols for communication or storage. Decoding is the reverse process, converting code symbols back into a form that the recipient understands, such as English or/and Spanish.
One reason for coding is to enable communication in places where ordinary plain language, spoken or written, is difficult or impossible. For example, semaphore, where the configuration of flags held by a signaler or the arms of a semaphore tower encodes parts of the message, typically individual letters, and numbers. Another person standing a great distance away can interpret the flags and reproduce the words sent.

View More On Wikipedia.org
  1. BasicComplex

    Redundancy of the genetic code enables translational pausing

    Thoughts on this? http://journal.frontiersin.org/Journal/10.3389/fgene.2014.00140/full The codon redundancy (“degeneracy”) found in protein-coding regions of mRNA also prescribes Translational Pausing (TP). When coupled with the appropriate interpreters, multiple meanings and functions are...
  2. Matterwave

    Fortran [Fortran] A piece of code that confuses me

    Hello all, There is a subroutine in the code I'm working on that looks like this: subroutine onestep(iter,iegy,icos,jcos,iphi,rinit,rfin, & & v2,v2bar,hel,helbar,drdis, & & psib,psie,psibarb,psibare,err) use params use helectron use angles use neutrinodist use parallel...
  3. P

    ASCII Code for B7.CFWhat is the ASCII code for the hexadecimal number B7.CF?

    Homework Statement Give the ASCII code for the hexadecimal number B7.CF (including the code for the hexadecimal point) The Attempt at a Solution This was one of the questions given on a problem sheet in my computer science class. I missed the exact lecture when this was taught so I...
  4. 1

    Fortran Help with Debugging Fortran Code | Plato Compiler

    Hey everybody, I am a mechanical engineer and new to Fortran(I have decent experience in programming in C, Matlab and understand languages similar to them). However the Fortran programming structure is new to me. Hence I am facing problems debugging a Fortran code. Here is the link of the code...
  5. adjacent

    Increasing the efficiency of a python code.

    Here is a python function to check whether a given list or string contains duplicate values: def has_duplicates(x): t = [] for i in x: if i not in t: t.append(i) if t != list(x): return True else: return False But I am sure this approach will be slow for...
  6. 1

    Fortran Fortran Code Help for Mechanical Engineers | Solving Debugging Issues

    Hey everybody, I am a mechanical engineer and new to Fortran(I have decent experience in programming in C, Matlab and understand languages similar to them). However the Fortran programming structure is new to me. Hence I am facing problems debugging a Fortran code. Here is the link of the code...
  7. I

    Fortran Run Fortran Code - Tips from Ilango

    Dear all, Let me introduce myself first. I am Ilango from India. I am new to Fortran, mostly working on Matlab, Modelica & Dymola. Working in an automobile company I was required to go through some battery models and hence landed at this page. http://www.cchem.berkeley.edu/jsngrp/fortran.html...
  8. R

    MATLAB Solving Steady State Heat Conduction Eqn w/ MATLAB

    HI guys,this is my first programming experience , i have developed an MATLAB code for steady state heat conduction equation , on governing equation dt2 /dx2 + dt2/dy2 = -Q(x,y) i have solved this equation with finite difference method, As far as i know if we increase the mesh size it leads...
  9. R

    Maintaining Legacy Code: Pros, Cons & Analysis

    I've been maintaining and updating some legacy code for a while at my job. These Dilberts came up the other day http://www.dilbert.com/2014-08-11/ http://www.dilbert.com/2014-08-12/ I see people disparage others work/code all the time, and it frustrates me. I give people credit /...
  10. N

    How do I troubleshoot my EEPROM test code problem?

    This simple code is test the write and read of EEPROM. Firstly the LED at P1 will have all LED on, after a sec, have the P1 will have LED on. Next, code is to write 01010101B into the EEPROM. CJNE will check to see if it is written. But, after comparing, the data isn't similar...
  11. S

    How to Resolve MCNP Depletion Code Syntax Errors?

    Hello, I am a graduate student attempting to run evaluate the depletion of a ceramic film attached to the moderator-side of the fuel clad. I am having some issues with my MCNP syntax/code and I was wondering if one could assist. My input file is attached. I am not looking for someone to...
  12. M

    Trying To COnvert inherited code to F90

    I have least squares code which I am trying to rewrite in FORTRAN90. I have a pair of allocatable arrays declared in MAIN. I pass those unallocated arrays to a subroutine where the arrays are allocated and data is assigned. However, I get segmentation faults every time I try to run this...
  13. R

    Python Considering Re-Writing Open Source Code in Qt for Science Research

    I found some open source code in wx that I'm considering re-writing in qt and adding some new functionality to. It's for science research. Before I do, I wanted some feedback from the community if this is a worth while endeavor and an estimate of how long it would take. It's about 700 lines...
  14. gfd43tg

    Triple redundancy sensor matlab code

    Homework Statement Hardware redundancy is important in many real-world engineering systems. Specifically, installing multiple sensors that measure the same quantity provides a level of safety in the event that one instrument fails during the mission lifetime. You do not want an expensive...
  15. Hardik Batra

    What is the Correct Color Code for a 1KΩ ± 10% Resistor?

    I want to know color code for this resistor ---> 1KΩ \pm 10% I have check in two sites. This sites showed me different color code for this resistor value. Which one is right i don't know i am confused! http://www.digikey.com/us/en/mkt/calculators/4-band-resistors.html (this...
  16. gfd43tg

    Adding code in box on the forum

    Hello, I am taking MATLAB this summer and will be having a number of questions on this forum about all my bugged code when I make it. Before I begin, I was wondering how do people add those ''code boxes'' when they make a thread that shows all their code within the post. Thanks Example: Post...
  17. Albert1

    MHB QR Code Length: Examining the Fixed Size of QR Codes

    prove the length of QR is fixed
  18. G

    Is there any free burnup code

    hello,every body ,I want to know is there any any free burnup code? thank you
  19. N

    How does the computer understand computer code

    I've been programming on and off for a few years just recently taking it seriously. Something I've always wondering about is how the computer understands the commands I type in. Is it essentially binary? and if so how could 1's and 0's possibly create something as complex as a video game or an...
  20. M

    MATLAB [Matlab] Gui help for adding code

    Hi, all there is an example for gui but I can not do. Could somebody help me. I generated a button in gui then I have to add some function on in. Codes are in the picture. Will I add them under callback function? Why can I not determine where I should I add them. To understand it what...
  21. J

    C/C++ Can someone explain what's going on in this code? (C++)

    I was looking at an example from here: http://cboard.cprogramming.com/cplusplus-programming/133294-passing-operator-parameter.html template <class T> bool myfunc(bool lv, bool rv, T oper) {     return oper(lv, rv); }   struct Or {     bool operator()(bool lv, bool rv)     {...
  22. H

    MATLAB Composite Simpsons 1/3 matlab code

    hey guys, So I'm working on a MATLAB function that uses simpsons 1/3 rule to find an integral. This is what I have done so far, but I'm not 100% confident.. I seem to get double when I use greater segments. If anyone would be able to have a look at give me some tips that would be very much...
  23. marellasunny

    Why do I need a processing code when I pair Arduino with bluetooth

    Why do I need a "processing" code when I pair Arduino with bluetooth I have a need to connect my [Arduino+Bluetooth dongle JY-MCU V1.02] to my laptop in-built bluetooth device.Most forums suggest using a processing code to go ahead and do this...
  24. J

    Maximum allowable probability of error for the (8, 4) Hamming Code

    Homework Statement What is the maximum allowable probability of error is a typical digit in order that the (8, 4) Hamming Code can be used with probability .999 that the receiver will not be misled (i.e., 3 or more errors occur) in a single word? Homework Equations...
  25. Hepth

    Fortran Fortran 77 [F77] : Code in external file without subroutine?

    I have some F77 code and I am wondering if it is possible to inject external code into a separate file and call it without it being a subroutine, and placed into the code. An example would be : a = 1 + 1 b = a + 1 c = b + a a = c + b d = 4 + a and I want to take lines 3 and 4 and...
  26. E

    MATLAB Need MATLAB Implementation for OFDM Communication Systems in Continuous-Time?

    Hello all, Does it occur that anyone here working on OFDM communication systems? I need a MATLAB implementation of such systems in the continuous time. I will provide the math derivations if requested. Thanks
  27. G

    Carbohydrates: part of the histone code, epigenetics,DNA transcription

    And this is why I'm going to hazard to guess that the next century of biology will be heavily dominated by the study of post translational modifications. The genome only encodes ~26,000 genes, and the entire end product of the genome+epigenetics--the proteome--only is comprised of roughly...
  28. BiGyElLoWhAt

    LaTeX LaTeX: Help with \ell Code & Command List

    What is the capital equivalence of \ell (##\ell##) Also where can I find a list of such commands?
  29. mrmjp

    Programming Microcontrollers - C vs Machine Code

    What is the most commonly used programming language for microcontrollers? I have done programming in machine code and it is a pain. I will get better at it if I have to, but would rather use a high level language like C. I hear C is much easier to write programs with than machine code...
  30. G

    Is a Binary-to-Gray Code Converter Considered a Decoder?

    Homework Statement Binary-to-Gray code converter,isn't it a decoder? The Attempt at a Solution
  31. E

    MATLAB Matlab Code for Time-Frequency Transformation

    Hello everyone. Sorry if the question is silly, but in really need to know something. We know that The Fourier transform of time is frequency and the inverse of frequency is time. In Matlab can anyone tell me how to write it ? Because in the book Non linear fiber optics by Agrawal we found that...
  32. collinsmark

    Code: Return random number less than specifed value

    Code: Random number less than specifed value This isn't really a homework problem. I'm just doing this for fun and giggles. But given the nature of the forum rules, I'll post it here. Homework Statement Create a method (function) that returns a random number less than the specified...
  33. B

    MATLAB Help with MATLAB code; discrepancy between graph max and Matlab's max

    Hi, For some reason, when I run this MATLAB code, I'm getting what looks like about 10,000 for Rf for the largest Vo on the graph, but MATLAB is giving me Rf at (Vo)max as 100,001 Any ideas? clc; clear; close all; syms Rf Rf = 0:0.1:100000; VRt25 = 18.*(10000)./(10000 + Rf)...
  34. N

    Fortran How to Write a Fortran Code to Read a Specific Data File?

    The input file: --------------------------------------------------------------------------------- S 1 S 2 1H,,1H...
  35. S

    LaTeX Latex Code not showing formula

    in this post Is there a problem with my code?
  36. Femme_physics

    PHP My php code skips a user request please look inside

    Hey folks! Wow...been a while since I posted here. So this ought to be a simple script I'm running in Command Prompt, but it completely skips the part where it asks the user to enter a number (after asking how much would you like to withdraw (or deposit) ) What gives? <?php...
  37. Mechatron

    What is the significance of translating binary code?

    Can you help me to translate this binary code? 01001001 00100000 01001100 01001111 01010110 01000101 00100000 01011001 01001111 01010101
  38. T

    Java Sine wave equation into Java Code

    I have been trying to implement this Wave equation into java: A = amplitude of wave L = wave length w = spatial angular frequency s = speed wt = temporal angular frequency d = direction FI = initiatory phase Y(x,y,t)=A*cos(w *(x,y)+ wt*t + FI; I...
  39. A

    Allowing Users to Change the Code of a Website (a Post-Like Format)

    Hi, So what I'm trying to do is enable visitors to the site pesterlog.tk, provided they have the correct login details, to change the code on the site. So say there was a page pesterlog.tk/user1, if user1 visited the page, (s)he could just enter the login details and change the code on...
  40. J

    MATLAB MatLab code for these Integrals.

    How can I write proper language for these integrals in MatLab ? Your helps really appreciated. John Mark
  41. K

    Thermalhydraulics code (PARET)

    Please let me know if there is any resources, papers or tips and tricks to code PARET
  42. B

    MATLAB Help with FFT Code Troubleshooting in Matlab

    ok I have been troubleshooting this code left and right... but I am still not getting what Mat lab is getting... can someone please look at this for me ? private float Fs; private int N; private Complex [] F; private int R; private Complex[] x...
  43. B

    MATLAB Troubleshooting FFT code with MATLAB

    ok I wrote my own FFT class and I now have MatLab on my computer. I am comparing my code to mat-lab. so my test i used it this : for (int y = 0; y < 100; y++) { double temp8 = (2D * (Math.Sin(2D * Math.PI * 4D * (double)y / 100D)))...
  44. mrspeedybob

    How do bar code scanners read a bar code from a cell phone screen?

    A quick google search found that there are 2 kinds of bar code scanners. One uses ambient light and a CCD device, these obviously would have no problem with a bar code on a screen since it is essentially just taking a picture. The other kind sweeps a laser over the bar code and reads the...
  45. A

    Fortran Retake: Reading an existing file into a fortran code

    Thank you very much for the reply. I placed the file in the same directory as the program and opened the file before executing and everything was just perfect. But my other problem is that, in my data, there consists of negative numbers. Is there a way to read the positive inputs without the...
  46. A

    Fortran Reading an existing file into a fortran code

    I am programming in fortran 90/95 and i have a problem opening an existing file for input. I have written the code without any errors, but at compilation time, the file to be read cannot open. It is as if the program does not know the location for the file. I would like to know if there is a...
  47. A

    Movies like source code and getaway

    Im trying to find movies like the 2 that I mentioned above. Where by majority of the scenes take place at one place. For source code was on the train, and for getaway was in a car. Does anyone know what do you call this type of movies. :D
  48. Greg Bernhardt

    Scientists have discovered a second code hiding within DNA

    Scientists discover double meaning in genetic code http://www.washington.edu/news/2013/12/12/scientists-discover-double-meaning-in-genetic-code/
  49. D

    Mechanical Engineering & Writing Code: Benefits & Recommended Languages

    Good morning everyone. I would love some insight regarding mechanical engineering and writing code. My physics professor (who also has a masters in electrical engineering) mentioned last night that the ability to write code (I apologize if I am using the term incorrectly...still kinda new to...
  50. P

    Is this an impossible code challenge?

    i wrote a script that codes phrases for me in c++ that should be impossible to solve if anybody can solve the code i'll respond with the key and explain how it works so here it is 05 08 13 52 19 55 89 44 33 77 10 82 88 84 23 65 46 52 57 95 37 93 18 11 29 40 69 34 97 87 21 52 17 33 86 20 37 96...
Back
Top