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 to print answer that is come out of the solve function?
Replies: 1   Last Post: Apr 26, 2000 8:07 AM

Advanced Search

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

Posts: 1
Registered: 12/7/04
how to print answer that is come out of the solve function?
Posted: Apr 26, 2000 2:35 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply



hello:


i wrote this is .m file then compile it and it doesn't work
i_equ =' 10*x^2=25';

feet=abs(solve(i_equ));

fprintf ( '%f' , feet);

error message is Function 'fprintf' not defined for variables of class
'sym'

what's wrong with this little code????


thanks







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.