The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: How can I show the result of the fitting in text box?
Replies: 3   Last Post: Feb 14, 2013 9:49 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 9,850
Registered: 6/7/07
Re: How can I show the result of the fitting in text box?
Posted: Feb 13, 2013 1:46 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 2/13/2013 8:42 AM, Amr Sadek wrote:
> I have a GUI that fits some data with custom equations. I want to show
> the result of the fitting process (the equation, the Coefficients and
> the goodness of the fitting) on a text box in the GUI instead of the
> MATLAB command window.
> Thanks...

How are you obtaining the coefficients, etc., ...?

Instead of letting that output go to the command window, save it to
appropriate variables and then use sprintf() and/or friends to format as
desired as input to the text box.


Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.