C++ equivalent of matlab

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • prads
    New Member
    • Oct 2007
    • 25

    C++ equivalent of matlab

    Hello,
    I want to write the following matlab code lines in C++. Somebody pls help me...
    and one more basic question.....wh at is C++ equivalent of matlab fid...is it
    rawsignal in:
    file_op.getline (rawsignal,blks ize);
    Thanks,
    Prads

    <code>
    1) fseek(fid,5,'bo f');

    2) try
    waitbar(loopCnt/codePeriods, ...
    hwb, ...
    ['Tracking: Ch ', int2str(channel Nr), ...
    ' of ', int2str(setting s.numberOfChann els), ...
    '; PRN#', int2str(channel (channelNr).PRN ), ...
    '; Completed ',int2str(loopC nt), ...
    ' of ', int2str(codePer iods), ' msec']);
    catch
    disp('Progress bar closed, exiting...');
    return
    end
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    Sorry, I don't think anyone is familiar with matlab. If you want help designing an algorithm please post what your requirements are.

    Comment

    • oler1s
      Recognized Expert Contributor
      • Aug 2007
      • 671

      #3
      I'm familiar with Matlab. Pretty popular (and useful) tool/programming language.

      Here's the answer. We can't help you. You dumped some random matlab code and asked for a translation. That isn't a call for help. Several things come to mind, all of them implying that you don't do your homework.

      Want to convince us this isn't an attempt to wing your homework assignment? Explain why you are even trying to convert matlab to C++ code. And where you got this matlab "code" from...

      Comment

      • prads
        New Member
        • Oct 2007
        • 25

        #4
        Hello,
        I am writing a C++ program for tracking of GPS signals using matlab code as reference. I came across these lines in the code and wondered if i cud do it in C++ as well.......henc e the question....Pls let me know how to do th same...
        Thanks,
        Prads

        Comment

        Working...