Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me code a mathematical formula in C

Status
Not open for further replies.

Mejdi_tn

Junior Member level 3
Joined
Oct 20, 2007
Messages
28
Helped
7
Reputation
14
Reaction score
6
Trophy points
1,283
Activity points
1,473
Am starting programming C and VHDL; I want to program mathematical formula like for implantation on FPGA:
Ni= (Nmax/di²)*(k*di),
With Ni and di are given bay Matrices 5*5
 

Re: hi

in C:
its very easy;declare datatype of ur variables and program it..........
 

hi

MEjdi,
J'ai oublier les commendes en C mi s je te donne l'algothme.

1- declare tes variable N et d des tableau de dimention 5. N matrice 5*5 contenant les ni il en est de me pour d.
2- Et fait une boucle
for i = 0 jusqu'a 5
for j= 0 jusqu'a 5
Ni=(Nmax/di²)*(k*di),

Rq: le parcours des variable depends des indices.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top