On Jun 16, 7:00 am, "Kevin Ellis" <kevin.elli...@gmail.com> wrote:
> Hello,
>
> In MatLab I have created a 5x5 matrix where in each entry there is a specific equation with different variables. The equations in entry range greatly in terms of the calculated values. For example one entry will be equal to 10.3468 and the next entry will be equal to 5.391106*10^6. Now the problem I am having is that when I create the matrix using variables inside the matrix the values that are output are rounded off. The entry in the matrix that was equal to 10.3468 displays perfectly, but the entry that was equal to 5.391106*10^6 simply shows zero. Thus my question is if there is a way to make MatLab, when calculating the matrix, output these small values instead of rounding to zero? I have tried using 'double' but with no luck. I would like to get a matrix with values that are in a format similar to what you would see on a TI83. Thanks for the help, sorry if the question is
> confusing.
>
> Kevin
doc format
doc sprintf
Rune
