displaying answer in MATLAB

Hi all! A small doubt..MATLAB usually returns answers truncated upto 4 places after the decimal point. How to increase the number of places
after the decimal? Is there any command to display the untruncated answer?
Thanks in advance.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
snovite wrote:

format e format long e
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Matlab doesn't trunctate to 4 digits only. It only shows 4 digits. I like using vpa function. for example:

x 1.0472

ans 1.04720

ans 1.0471976
Regards, Asim V.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload
Thank you
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
<%-name%>
Add image file
Upload

Polytechforum.com is a website by engineers for engineers. It is not affiliated with any of manufacturers or vendors discussed here. All logos and trade names are the property of their respective owners.