Thread: Help with a conversion (Matlab to C) PLEASE HELP

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    2

    Help with a conversion (Matlab to C) PLEASE HELP

    I have a conversion project due in my C class and i have no idea what im doing. if someone could help me out w/ the conversion id really appreciate it.


    the matlab script is attached

    thanks

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    1. It isn't C
    2. This is homework, read the rules.

    It looks straight forward to convert. I'd make a flow chart of it, then implement the flow chart in C. But again, it's not my homework

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    2
    ok so I guess i worded that a bit wrong. im doing some work for a professor and he wants this matlab script coverted to C and i dont know how to do it

  4. #4
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    1. Figure out what the script does --> see flowchart comment above.
    2. Do that (but in C, this time).

    Everything that's not matrix-notation-specific will pretty much be exactly what it already is.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  2. HELP in MATLAB to C conversion
    By itachi in forum Tech Board
    Replies: 0
    Last Post: 01-08-2006, 02:26 AM
  3. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  4. Header File Question(s)
    By AQWst in forum C++ Programming
    Replies: 10
    Last Post: 12-23-2004, 11:31 PM
  5. Do I have a scanf problem?
    By AQWst in forum C Programming
    Replies: 2
    Last Post: 11-26-2004, 06:18 PM