+ Post New Thread
Results 1 to 3 of 3
  1. #1
    Junior Member level 3
    Points: 1,219, Level: 7

    Join Date
    Oct 2007
    Posts
    28
    Helped
    7 / 7
    Points
    1,219
    Level
    7

    Help me code a mathematical formula in C

    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

    •   AltAdvertisment

        
       

  2. #2
    Banned
    Points: 2,225, Level: 10

    Join Date
    Sep 2005
    Location
    India
    Posts
    124
    Helped
    15 / 15
    Points
    2,225
    Level
    10

    Re: hi

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



    •   AltAdvertisment

        
       

  3. #3
    Banned
    Points: 5,691, Level: 17

    Join Date
    Sep 2007
    Posts
    853
    Helped
    77 / 77
    Points
    5,691
    Level
    17

    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.



--[[ ]]--