Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

How to make matlab display complete final results

  1. May 14, 2012 #1
    Here's an example

    Code (Text):
    >> R(1)
     
    ans =
     
    -log(- 1004229921906619062839952526185507/1913851274991446601508198548841385*i - 143584884070040384103267078403784/1913851274991446601508198548841385)
     
    i want to know the value of R(1)
    R is a 3x1 matrix, and R(1) will display the result in R(1,1)
    but the results is in a long form,

    i need to highlight the results, right click, and click "evaluate selection"

    Code (Text):
    >> -log(- 1004229921906619062839952526185507/1913851274991446601508198548841385*i - 143584884070040384103267078403784/1913851274991446601508198548841385)
     

    ans =

       0.6348 + 1.7128i
    why is this happening, how can i make it display the final answer 0.6348 + 1.7128i straight away?
     
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted