See the documentation for vpa for further details. If you just want to "get a number" you can use non-symbolic functions and operations or you can convert symbolic results back to floating-point.Īlternatively, you can use variable precision arithmetic to represent pi as a decimal approximation of a specified level in a symbolic expression: syms f Welcome to symbolic math where you get exact answers as opposed to floating-point approximations.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |