Coding Definition and 162 Threads
-
M
LInear algebra coding question
Homework Statement Describe how to create a coding matrix A so that A-1 has no fractions The answer is Multiply a few type III matrices together, so that det A = 1 What I put is to just use an upper triangular matrix, since the det of an upper triangular matrix is 1 and you have to do...- Mdhiggenz
- Thread
- Algebra Coding Linear Linear algebra
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
G
Python Modifying Future Value Program with a Python GUI
Homework Statement To modify a future value program so that a user inputs the data w/ a GUI Homework Equations principal = principal * (1+apr) The Attempt at a Solution Anyone familiar w/ python coding? I'm a beginner. I'm absolutely stuck on this problem, I seem to have...- gravenewworld
- Thread
- Coding Gui Python
- Replies: 2
- Forum: Programming and Computer Science
-
J
Prevent memory leakage from coding
I am studying a problem releated to memory leakage. Now, there are many tools to check memory leak at run-time (dynamic analysis), and some tools can check memory leakage at compile-time (static analysis). But I have some questions: How do you think to prevent memory leakage from coding phase...- JulsSmile
- Thread
- Coding Leakage Memory
- Replies: 26
- Forum: Programming and Computer Science
-
H
Coding Theory. It also combine some linear algebra as well.
Hi Guys I just got some problem about coding theory and I don't quite understand what question 2 is asking. Can you guys help me? Thanks a lot.- hky
- Thread
- Algebra Coding Linear Linear algebra Theory
- Replies: 4
- Forum: Set Theory, Logic, Probability, Statistics
-
M
C/C++ [C++] coding a quadratic root finder with if statements
[C++] coding a quadratic root finder with "if statements" //This program solves the qudratic equation #include <iostream> #include<cmath> #include<iomanip> using namespace std; int main() { //Declaring Varibles double coefA; double coefB; double coefC; double x1; double x2; double x3...- maiad
- Thread
- Coding Quadratic Root
- Replies: 3
- Forum: Programming and Computer Science
-
S
Comp Sci Solve Basic C++ Coding Challenges with Easy Steps
Basic C++ Coding? Assume that name and age have been declared suitably for storing names (like "Abdullah", "Alexandra" and "Zoe") and ages respectively. Write some code that reads in a name and an age and then prints the message "The age of NAME is AGE." where NAME and AGE are replaced by the...- SMA_01
- Thread
- C++ Coding
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
Can I get a circuit to realize manchester coding and decoding
Hi all, Can I get a circuit to realize manchester coding and decoding using ordinary digital TTL ICs and comparators. Any link or image will be helpful. TIA -Devanand T- dexterdev
- Thread
- Circuit Coding
- Replies: 2
- Forum: Electrical Engineering
-
D
A problem with coding in 8085 microprocessor
After i had studied and implemented codes to perform basic arithematic operations, factorial of a number, look-up tables, i got stuck at a pretty silly problem, while coding with the 80085 simulator: MVI A,000H STA 0001H MVI A,0001H STA 0002H LXI H,0001H MOV A,M LXI B,0002H STAX B HLT This...- dragonflyv2
- Thread
- Coding
- Replies: 1
- Forum: Programming and Computer Science
-
T
How Does Huffman Coding Affect Symbol Frequencies in a Markov Source?
Suppose you have a Markov source of symbols (or more generally, a stationary ergodic source). If you Huffman encode longer and longer extensions (that is, you take blocks of n source symbols at a time, letting n increase) of this source, then the frequencies of 1's and 0's in the encoded...- techmologist
- Thread
- Coding Source
- Replies: 6
- Forum: Set Theory, Logic, Probability, Statistics
-
S
How Do You Update Position, Transform Points, and Render Shapes in Programming?
help needed please.. don't need the code. but i need formula or any source that can help me. i want to try code it myself. =) can anyone help me with this function: // Function to be used to update the position. Given the current position, // the direction in which the tank is looking...- seacreature
- Thread
- Coding Function
- Replies: 5
- Forum: Engineering and Comp Sci Homework Help
-
S
Confused about Linear Predictive Coding (LPC)
Hi I'm taking a multimedia systems course and I'm preparing for my exam on tuesday. I'm trying to get my head around LPC compression on a general level, but I'm having trouble with what is going on with the linear predictive filter part. This is my understanding so far: LPC works by...- Sinay
- Thread
- Coding Confused Linear
- Replies: 2
- Forum: Programming and Computer Science
-
G
Comp Sci JAVA CODING - Implementing methods for a game, API
import acm.graphics.*; import acm.program.*; import java.awt.Color; import java.util.Iterator; import java.util.Random; import java.util.List; public class LAB1 { final static int BLOCKWIDTH = 50; final static int BLOCKHEIGHT = 10; final static int NBLOCKS = 10; final static...- geforce
- Thread
- Coding Game Java
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
C
What's the coding job like in oil companies?
For those who have worked in oil companies or finance companies as coders, are your work over there have more emphasize on algorithm design/analysis or class/library creation/maintenance? Forgive me if this is a stupid question as I don't have much experience in writing codes. And I understand...- CloudyTrees
- Thread
- Coding Job Oil
- Replies: 5
- Forum: STEM Career Guidance
-
R
Stepping motor coding on microchip
Hello, Trying to code a microchip PIC18C452. Desired: 4 steps per rotations pulses per second=1/15 t wait =15s #define #define #define #define clrf STEP_ONE b’00100000’ STEP_TWO b’00010000’ STEP_THREE b’00001000’ STEP_FOUR b’00000100’ STEP_NUMBER ; PortB<5:2> are used to connect...- readytolearn
- Thread
- Coding Motor
- Replies: 1
- Forum: Mechanical Engineering
-
Y
Hoffman coding in 8bit sequence
A data file contains a sequence of 8-bit characters such that all 256 characters are about as common: the maximum character frequency is less than twice the minimum character frequency. Prove that Huffman coding in this case is not more efficient than using an ordinary 8-bit fixed-length code...- ydan87
- Thread
- Coding Sequence
- Replies: 1
- Forum: Programming and Computer Science
-
N
Coding - instilling a subconcious fear
"coding" - instilling a subconscious fear I just came across this article from 2005 and I found it curious http://www.washingtonpost.com/wp-dyn/content/article/2005/10/01/AR2005100101196.html I don't know a crap about psychology or medicine, so can somebody with knowledge explain if this...- Nikitin
- Thread
- Coding
- Replies: 3
- Forum: General Discussion
-
P
How to Implement IDEA Algorithm in VHDL?
Hi all ... Does anyone knows how to implement IDEA algorithm in VHDL, especially the multiplier part(Low High Algorithm)? Kindly help me out in this- pramod0488
- Thread
- Algorithm Coding Idea
- Replies: 1
- Forum: Electrical Engineering
-
S
Understand Fortran Coding Do Loop: VBA Translation Help
Can some1 kindly help me understand the following code, I am trying to translate the following code in VBA: Thanks in advance FFLC = FLC ...i understand this part ANGLE=PI/6 !Suppose 30 Degrees ...i understand this part Do 21800 I=i,5 ...Don't understand this FLC=FFLC-COS(ANGLE)*NDIA...- shei7141
- Thread
- Coding Fortran Loop
- Replies: 29
- Forum: General Engineering
-
E
MATLAB Cut and paste Matlab coding into Latex for equations
Hi guys, I have to do a lot of equations in a report, and I was wondering if there is a package for Latex so that I can just cut and paste matlab/excel coding straight into Latex and it will set it out properly. i.e. so that instead of typing \frac{5+x}{4} I can just write (5+x)/4?- engineer888
- Thread
- Coding Cut Latex Matlab
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
D
Python Quick Python color coding in editing question
When I've been programming in Python for a while I noticed that the color coding in IDLE goes away. If I restart IDLE, the colors come back. Why is it doing this? How can I maintain the color in there without having to restart a bunch of times? Thanks- DrummingAtom
- Thread
- Coding Color Python
- Replies: 2
- Forum: Programming and Computer Science
-
T
Coding, Modulation & the relationship between frequency and data rate
Hi, This is a general question rather than an explicit question, so apologies for not using the template. I'm a bit confused by the relationship between frequency and data rate in a communications system and wondered if someone could help clarify please. Say I want to achieve a data...- Turksen
- Thread
- Coding Data Frequency Modulation Rate Relationship
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
C
Solve Coding Problem with Efficient Wide Boiling Program - Get Help Now!
please i need help in this code program wide_boiling implicit none integer :: i, j, m real :: Trosee, Tbulle, P, RR(100), vf(100), real :: aT1(3), aT6(3), ap1(3), z(3), ap2(3) real ::, x(3), T, k(3,10) m=0 T=518.67 m=m+1 do i = 1,3 k(i,m) =...- chammakh24
- Thread
- Coding
- Replies: 4
- Forum: Programming and Computer Science
-
How Many Edges Will Herman Visit Before Reaching the Poison?
Homework Statement Consider Herman the Fly. Herman must exist on the edges of a cube. At the start of a trial, Herman is randomly placed on one of the eight corners of a cube and poison is placed on one of the eight corners. Herman starts moving along one of the three edges. When he comes...- Demon117
- Thread
- Coding
- Replies: 4
- Forum: Engineering and Comp Sci Homework Help
-
C
Coding theory - binary symmetric channel
Hi Let us suppose we transmit the binary digit '1'. The probability of not receiving '1' is p. Thus the probability of receiving '1' is 1-p. Suppose we send a longer code of length n. The probability of this code being received correctly is (1-p)^n. Now I don't understand this next...- coverband
- Thread
- Binary Channel Coding Symmetric Theory
- Replies: 1
- Forum: Set Theory, Logic, Probability, Statistics
-
Y
MATLAB Matlab Coding Help: Initialize Variables in Pop and Pro
chromosome = initialize_variables(pop,pro); What is the meaning of this line ? Thank you..- yeongchuan88
- Thread
- Coding Matlab
- Replies: 3
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
N
Comp Sci DrJava Coding Lab(Eclipse) (Instance Variable help)
Homework Statement Lab Tasks 1. Change the definition of the lab3.EcoOne class so that it is in a composition relationship with the example1.Terrarium class. Define a void method named ‘addCaterpillar’ which adds a new example1.Caterpillar to the composed Terrarium, and starts the Caterpillar...- NightShift
- Thread
- Coding Variable
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
D
Small Coding Problem for Excel Macro
I want to code a macro that will take in an integer as a row number and insert two rows above that row. This will repeat in a for loop. The problem is that I'm not familiar with VB syntax. Here's what I have so far: Sub Insert_Rows_Loop() Dim CurrentSheet As Object Dim x As Integer '...- darkchild
- Thread
- Coding Excel
- Replies: 2
- Forum: Computing and Technology
-
S
How Do You Write a MIPS Function to Horizontally Flip an Image?
Homework Statement The goal of this problem is to write a MIPS function flipimage which flips an image horizontally. For example, a simple image is shown on the left, and its flip is shown on the right. A picture is composed of individual dots, or pixels, each of which will be represented...- SpiffyEh
- Thread
- Assembly Coding Loop
- Replies: 6
- Forum: Engineering and Comp Sci Homework Help
-
A
How to Design a Coding Circuit for a 1994 BMW 325 Ignition Switch?
hi! everyone, um new to this forum and would like some help and few tips on designing a coding and decoding circuit to replace my car ignition switch with, for now all i know is the basics of logic circuit operations, still not enough to perform the function. can someone help plis!- asterixdpt
- Thread
- Coding Ignition Switch
- Replies: 3
- Forum: Electrical Engineering
-
D
Coding Language To Sumbit Information To web Browser
Hi, I was wondering first off, if it is possible to write code so that you could fill out fields in a web browser so that you could automate a process. I'd like to make a script that basically goes online submits my username and password and then fills out 8 hours worked in the appropriate...- dfence
- Thread
- Coding Information Language Web
- Replies: 5
- Forum: Programming and Computer Science
-
Worst coding ever - what to do?
I am currently in the middle of a three month Java programming assignment, working on the worst code I ever thought to see. It looks like it was written by a monkey who was being rewarded by hitting a giant button marked "Copy and Paste". One class file that I'm working on has over 10,000...- Borg
- Thread
- Coding
- Replies: 20
- Forum: Programming and Computer Science
-
G
Relating Robotics To Mathematics Of Coding
Hello. I'm currently taking a class at the University of Minnesota, "The Mathematics of Coding Theory". In the class we have a final project on a topic of our choice that relates to the class. The guidelines are very broad and needs to only result in a final report of 10-20 pages answering a...- golmschenk
- Thread
- Coding Mathematics Robotics
- Replies: 1
- Forum: General Math
-
M
Python Stuck on Continue Statement: Solving a Python Coding Problem
I Have been using A Byte of Python, and I am now stuck on the Continue Statement. Here is my code. #!/usr/bin/python #Filename: continue1.py while True: s = input('Enter something : ') if s == 'quit': break if len(s) < 3: print('Too Small') continue print('Input is of...- mockingbird
- Thread
- Coding Python Stuck
- Replies: 3
- Forum: Programming and Computer Science
-
P
LaTeX Where is the Latex Coding Thread?
i've been away more than 5 yrs and can't find the thread that used to tell you how to code latex. you could practise there too without burdening others with your errors. where is that thread? or something similar? in friendship, prad- physicsisphirst
- Thread
- Coding Latex Thread
- Replies: 1
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
J
Coding a Solution to an Ugly Character Mess
Hello! I am working on some software to control oscilloscopes and function generators in a physics lab. The situation I am faced with at the moment is to be able to translate integers into a form which can be loaded into a device. So basically I have a file which looks like this...- Ja4Coltrane
- Thread
- Coding
- Replies: 3
- Forum: Programming and Computer Science
-
C
Coding Theory, Finding Dual Code
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...- Chadlee88
- Thread
- Code Coding Dual Theory
- Replies: 1
- Forum: Calculus and Beyond Homework Help
-
M
A little notation help, on quantum coding
Hi, I wanted to know how to solve this question , its not a homework question i am really asking for , more the general way to solve these types of questions... I don't understand how it forms into another matrix. I have the answer attached as well , but could some one explain ? (I don't think...- monica1977
- Thread
- Coding Notation Quantum
- Replies: 10
- Forum: Quantum Physics
-
P
IFORT Coding Problem (Simpson's Rule)
Homework Statement For a function f(x) over the interval [a,b], simpson's rule approximates the defenite integral:\intf(x) dx = h/3*[f0 + 4(f1 + f3+ ...+ f2n-1) + 2(f2 + f4 + ... + f2n-2) + f2n] where h = (b-a)/n fi is f(a + i*h) Given an error epsilon, I need to write an executable program...- Physics_Math
- Thread
- Coding
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help
-
U
C/C++ Coding Gauss Jordan Elimination in C++ - Need Help with Swapping Rows
Hello all. I am designing a Gauss jordan elimination program using c++. I need a little help to code this as I am not too familiar with arrays and the operations you can perform on them. The first question I have is how would I swap rows? I know its probably really simple but I cannot find...- ur5pointos2sl
- Thread
- C++ Coding Elimination Gauss
- Replies: 14
- Forum: Programming and Computer Science
-
G
Limit of compression (source coding theorem)
Hi The source coding theorem says that one needs at least N*H bits to encode a message of length N and entropy H. This supposedly is the theoretical limit of data compression. But is it? Or does it only apply to situations where only the frequency (probability) of a given symbol is known...- gop
- Thread
- Coding Compression Limit Theorem
- Replies: 4
- Forum: General Math
-
D
Calculators Need help coding with TI-89. Int{sin(x),x,0,inf}
I'm trying to code a laplace transform function into my calculator. Right now, I'm doing it by definition: \int{e^{-st}*f(t)dt} from 0 to \infty But whenever I try to use a transcendental function, it loops infinitely. I figured this is because the calculator cannot evaluate \int{sin(x)dx}...- DyslexicHobo
- Thread
- Coding Ti-89
- Replies: 6
- Forum: Computing and Technology
-
M
Can we determine the probability of a string using optimal encoding techniques?
The source coding theorem tells us that given a discrete probability distribution, there is an optimal encoding for it. Is it possible to go in the reverse direction? That is, suppose you start with an encoding of a discrete random variable X whose distribution is unknown. Assuming that this...- mXSCNT
- Thread
- Coding Inverse Source Theorem
- Replies: 4
- Forum: Set Theory, Logic, Probability, Statistics
-
N
HTML/CSS Learn Basic Computer Coding: HTML, PHP, and Java Tutorials for Beginners
is there any place i could go that's good to learn computer programming? i want to learn how to make websites because even though I am only about 14 i know i want to be in some type of education. Preferably math or science. I have a general love for computers and love to make websites. But i can...- NOBARTHOLEM
- Thread
- Coding Computer
- Replies: 8
- Forum: Programming and Computer Science
-
R
When coding, why is exiting a loop using break; bad?
When coding, why is exiting a loop using"break;" bad? when coding, to exit a loop i was told using "break;" (in java) is really bad...why!- r.meghdies
- Thread
- Break Coding Loop
- Replies: 1
- Forum: Engineering and Comp Sci Homework Help
-
Coding & GF(2): Understanding Logic in a Field
This came up in my logic course. The professor writes that in GF(2), the polynomials 3xy^5 and \frac{1}{2}x^2y respectively can be reduced to 3xy and xy. I understand that y^5=(y^2)(y^2)y=(1)(1)y=y, but also in GF(2), for any x, we have x+x=0. So it seems to me that 3xy^5 can be further...- quasar987
- Thread
- Coding
- Replies: 1
- Forum: Set Theory, Logic, Probability, Statistics
-
L
Coding a Bubble Sort routine using a pointer array
I have been asked to code a Bubble Sort using a pointer array and pointer notation as opposed to the square bracket notation...(there should be two uses of square brackets when declaring the arrays). It will not work! :( Basically the data does not sort. I am trying to swap pointer array...- loonychune
- Thread
- Array Bubble Coding Sort
- Replies: 4
- Forum: Programming and Computer Science
-
LaTeX Latex Coding: How to Include Paragraphs Neatly
how can i include paragraphs into my latex-coding w/o it looking ugly or me having to use dashed-lines to separate words for example, this looks ugly!- rocomath
- Thread
- Coding Latex
- Replies: 6
- Forum: MATLAB, Maple, Mathematica, LaTeX
-
A
Maximizing Efficiency: Benefits of Source and Channel Coding Explained
May i know what is the benefits of source coding and channel coding? why we need this?- angeline_happy
- Thread
- Coding Information
- Replies: 2
- Forum: Engineering and Comp Sci Homework Help
-
S
Get PHP Coding Help for Beginners | Troubleshooting Tips
I am just starting out with this and am having trouble getting the code to translate to a webpage. It is not really clear as to how this is to be done. I have created a basic program in notepad, saved it as .php and have attempted to open in IE but get a message that says something about not...- sean1234
- Thread
- Coding Php
- Replies: 4
- Forum: Computing and Technology
-
J
How Does Linear Predictive Coding (LPC) Reduce Bandwidth in Speech Coding?
Hello everyone, Question : One version of Linear Predictive Coding (LPC) has been adopted as a standard for speech compression in mobile communications systems. How Linear Predictive Coding (LPC) can reduce the bandwidth in this speech coding ? Can someone please help me with this...- jeejou
- Thread
- Coding Linear
- Replies: 3
- Forum: Engineering and Comp Sci Homework Help