Calling Matlab in C++ oder javascript


Luca Brasi
 Share

Recommended Posts

Oh Jesus! I blew my butt off!

Hallo !

Ich habe ein Matlab-Programm, das ich gerne in C++ (javascript geht auch)aufrufen möchte, bzw den output von Matlab in C++ verwenden.

Im Detail:

Matlab gibt mir die Koeffizienten eines Polynoms aus, zB [5 0 4 3 4] und ich möchte in C++ schreiben:

cout << "Das Polynom mit den Nullstellen xyz lautet " << a << "x4" << b << "x3".... etc.

wobei die Variable a den Wert 5, b dann 0, etc zugewiesen bekommt.

Weiss jem., wie ich das machen kann ?

Edited by Luca Brasi

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


  • Folge uns auf Facebook

  • Partnerlinks

  • Unsere Sponsoren und Partnerseiten

  • Recently Browsing

    • No registered users viewing this page.