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.
Homework Statement
Let S = {0101, 1010, 1100}. From first principles, find a basis B for the dual code C orthogonal (couldn't find symbol)
Homework Equations
http://www.maths.uq.edu.au/courses/MATH3302/files/codingnotes.pdf
i'm using page 19,20 and 21
The Attempt at a Solution...
Hiiii
I am doing research on multiuser CDMA; I have simulated MUD's in both AWGN and Rayleigh fading channel. I need help in Multistage Successive interference Cancellation. Kindly if anyone have the m code for this, please share.
For others, I can get you papers from most of the...
Hello!
Im writing a technical report with "article" as documentclass in Latex.
I want to attach my MATLAB code in the appendix.
If I copy and paste the text it won't look like the MATLAB code but it will look like a report..
What command should I use so the text just looks like it is ...
Hello,
I have the following equation, and I want to program it using MATLAB. But it is a recursive function, and it seems that I can not handle it well. So please if anyone can help, I will be thankful.
Hi,
this is not actually a homework question, but as it has mostly to do with computer science, I thought this would be the appropriate place.
At work we have a measurement setup which is currently controlled by a LabView program. My task is to move the code from LabView to Matlab. I don't...
Homework Statement
I was given the following statement as a question on one of my physics homework assignments:
Crack the following code:
21202E2F2E2D213428252D2134292321
2C2025302C212E2134292F2E20293320
2F3534202F2620342825203135253334
292F2E0120200825292E333425292E09
Homework...
Hi i Would like to solve the the following eqn using Matlab
Since I am new to Matlab, I would request u to help me in this regard
(∂^2 T)/〖∂r〗^2 + 1/r (∂T )/∂r+(∂^2 T)/〖∂z〗^2 = 1/α (∂T )/∂t+τ/α (∂^2 T)/〖∂t〗^2 - { (1+δ(t) )-(1+δ(t-tp) }*IoKa/k 〖exp( - 2r/σ^2 〗_^2)exp(-zka)
where δ(t) =76ns...
Hi i Would like to solve the the following eqn using Matlab
Since I am new to Matlab, I would request u to help me in this regard
(∂^2 T)/〖∂r〗^2 + 1/r (∂T )/∂r+(∂^2 T)/〖∂z〗^2 = 1/α (∂T )/∂t+τ/α (∂^2 T)/〖∂t〗^2 - { (1+δ(t) )-(1+δ(t-tp) }*IoKa/k 〖exp( - 2r/σ^2 〗_^2)exp(-zka)
where δ(t) =76ns...
Hi i Would like to solve the the following eqn using Matlab
Since I am new to Matlab, I would request u to help me in this regard
(∂^2 T)/〖∂r〗^2 + 1/r (∂T )/∂r+(∂^2 T)/〖∂z〗^2 = 1/α (∂T )/∂t+τ/α (∂^2 T)/〖∂t〗^2 - { (1+δ(t) )-(1+δ(t-tp) }*IoKa/k 〖exp( - 2r/σ^2 〗_^2)exp(-zka)
where δ(t) =76ns...
Hi, all!
The camb code is available at
http://lambda.gsfc.nasa.gov/toolbox/tb_camb_form.cfm
in a web interface form. One of it's output files, named something like
camb_13685314_scalcls.dat
should contain the scalar C(l)'s.
Can anyone tell me, what exactly is contained in...
Please help in c++ urgent
Argh! I've been trying to work out this problem for an entire week and I'm now at my wits end! I'm supposed to hand in this assignment in 7 hours and am posting my problem here as a last resort. Can i please have someone's assistance in this? I use Dev-C++.
Basically...
i need to build a code which asks the user for the size of the desired diamond and then draws it, i can get this to workl perfectly by using the fprintf command and building the diamond out of 4 parts,: see code-
clc
clear
h=input('enter height of diamond :');
y=1;
while y<=h/2
for...
i have a a board and i want it divided into 6 parts.
1 part is equal to the size of the stage.
when the mouse moves to the left of the screen i want the current part to tween into the left part.
same for right and down and up.
what i have so far is for the bar on the left, right, bottom...
C programming help nedded ??what is the wrong of this code?
#include<stdio.h>
int matA[3][4],matB[4][3],matAB[3][3],i,j,k;
void read();
void multiply();
void display();
int main()
{
read();
multiply();
display();
return 0;
}
void read()
{
printf("Enter your matrix A:\n");
for...
i need to write this into MATLAB
http://www.engin.umich.edu/class/bme456/ch10fitbiphasic/biphasfit19.gif
which i have done here:
uj = (-sig/Ha)*(xj-(((2*h)/(pi^2))*((((-1)^n)/((n+1/2)^(1/2)))*sin((n+1/2)*((pi*xj)/h))*exp(((-Ha*ko)/(h^2))*((n+1/2)^2)*(pi^2)*t))));
how do i vary n...
that is 0 everywhere and 1 at 0. the code I wrote was this:
n = -20:1:20;
if n==0
imp = 1
else
imp = 0;
end
>> stem (n, imp)
? Error using ==> stem at 40
X must be same length as Y.
but i got that error.
Using vectors and matrices is useless cause the delta...
How can I use graphics in my C++ code? I'm making a project of basic level (cricket score board) and I need to incorporate graphics in it. Are there any online tutorials etc. for graphics?
P.S. I use Visual C++ 6.0 compiler.
Hihi,
Let's say I have the linear equations ,A
2x +3y +4z
5x+6y-7z
5x-4y+3z
then I can always write as a matrix multiplication A= B*x
matrix B =
2 3 4
5 6 -7
5 -4 3
times
matrix x
x
y
z
Then., how can I tell MATLAB to express in the matrix multiplication form so...
Hello,
I've been trying for 2 weeks now to write in fortran a MPI program that computes the Fourier transform off a real matrix and then in vers transform using fftw-3.3alpha1. I installed the libray on evry computer availbale at my school and an I was able to compile yet my code. Even if...
Does anybody knwo how calculate the required cross-sectional area of the bolts with internal pressure, according to the ASME code? I mean in which section, appendix, whatever.
I have spent a lot of time trying to find this and I could not. But I can´t believe that an important standard, like...
Help with Simple C++ code please :)
So here is the idea of the program (I have comments in the code too)
Ask the user for a number up to 5 digits long, store it in a as a string array,reverse the order
of the number (i.e. if user enters 12345 make it 54321), convert the reversed string to an...
I have been using LaTex lately for my Quantum assignments. I am not too good with it yet. I was wondering if anyone knows how to get the proper font for the quantum numbers
I want the lowercase loopy L that is almost always used for angular momentum, but I can't figure out how to type it...
Hi, I have to do a homework assignment for my intro to computer porgramming class and i have to write a program that creates insult sentences. My professor gave us some code to start with and we had to fill in the functions(professor gave us the names of these functions and the name of the...
i just ran it using a debugger and this is what it had:
#0 0x0804939e in SparseNode::getColID (this=0x0) at sparsematrix.h:130
#1 0x08048a2d in SparseMatrix::insertElement (this=0xbfe5ef10, row=1, col=2, elem=2) at sparsematrix.cpp:72
#2 0x080491f3 in main () at sparsematrix.cpp:378...
I have some older cpp code that was written when gcc 2.95 was in general use, but this code does not compile under g++ 4.x or even 3.3.
Is there a way to tell the compiler to compile code that is old and not written to present standards? I seem to recall there is a way to do it but I do not...
this is my code to convert lower case strings to upper case.
i want to ask the user whether to continue or not. but no matter what i type, the prog keeps stoping. try to copy paste this code to ur emulator and u'll know what I am saying.
also, how should i replace the include 'emu8086.inc'...
anyone know if there is a dress code for a visitation?
my friend whose dad died left on facebook a public message that visitation is tomorrow. is a visitation formal like a funeral? ... I've never been to either. I don't want to show up dressed in regular clothes and seem rude, but I don't...
I'm working with a Fortran code which I run on a Linux cluster. I'm able to compile it such that it works fine on one CPU, but I would like to run it parallel . The code manual mention the following as an instruction to compile it to work in parallel
The get machine file is just a long if...
Hiya. I am able ot compile my program with no errors but when I run it I get the message:
Error 112, Reference to undefined variable, array element or function result.
I cannot see where I have gone wrong and more frustratingly this code was working, running producing results on the unix...
Homework Statement
How i will write the code for fft
Homework Equations
ACos(ωt+φ)
The Attempt at a Solution
n = 100;
n = 0:n;
nodd = 2*n + 1;
T=n*pi/2w
w=2*pi*1.93*10^14;
phi= 0;
A=-6:6;
X= A*cos(w*T+pi)
%Here it generates error
" ? Error using ==> mtimes Inner matrix...
Hey
I am having some issues with my C code.
What it should do is calculate the output speed when a gear combination is used. It loops to find all combinations for 4 gears from 1 to 42, but can be changed.
2 things i can't get working
- IF STATEMENT - i want it to only show...
i have the code for the algorithm.
all i need now is the when traceback button is pressed,traceback can be done and shown.
anyone can help?
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
public class Dynamictraceback extends JApplet implements ActionListener
{...
Hi.
Can anyone be kind enough to check what's wrong with my source code?
Here's the project: http://www.dur.ac.uk/3h.physics/proj...nsmission.html
You can skip the introduction bits.
I'm stuck at the last question on Calculation Part I. I did the source code independently and it works...
Q1: Is there a code of science, a set of requirements or guidelines for scientific research?
A1: _____ (?)
Q2: If so, what is the code of science?
A2: _____ (?)
Interesting, never trust a dogma.
Genetic Code Supports Targeted Insertion of Two Amino Acids by One Codon
"Call it the genetic version of a double-entendre. Scientific dogma dictates that various three-letter combinations of our genetic sequence each "mean" exactly one thing--each codes...
So I'm writing a program to do a riemann sum. The final answer should be Pi.
My function: f(x) = 4/(1+x^2) a = 0 b = 1 n = 40,000,000
For a riemann sum, delta x = (b-a)/n so (1-0)/40,000,000 = 1/40,000,000.
Then the riemann sum looks like...
Hello all,
In my research, I use DFT from time to time using SIESTA or VASP. I have spent much time reading up on the various aspects of DFT and think I have a pretty good handle on it. In order to prove this to myself, I would like to start to write my own code. I am however finding that...
Hi,
I have a project for heat transfer, I know what I want to do but I don't know how to do it on Matlab.
My assignment is attachment 1 - project.pdf
The first part I have done (attachment 2 - computer project.pdf)
I know I should be using the Matrix Inversion Method, but as I need...
Hey. This is what I have to do:
Fix the IF conditions inside the DO loop to handle ALL possible combinations of first name and last name searches (it is missing at least one right now) and see if you can make the code more efficient.
Dim searchFname As String, searchLname As String
Type...
This is some Matlab code that my group has been working on. None of us really code all that much, and have only had one year of Comp Sci. It doesn't help that this is all our our first times using Matlab, either. :/
The problem is calculating a value for a and aPrime. We're trying to use...
Before physics forum sever moved, latex code i wrote did well
But at this time, all latex code i wrote fail mulfunctions.
What happened? and How do i have to do?