Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
matlab numeric format long e

Subject: matlab numeric format long e

From: keresztapa@alvilag.com (skynet)

Date: 14 Dec, 2000 11:00:25

Message: 1 of 2

hi,

how many bytes or bits does matlab (4.2, i think this is the version i
have) user for storing a number in numeric format long e?

please answer in email!!!

thanx

skynet

Subject: matlab numeric format long e

From: jacklam@math.uio.no (Peter J. Acklam)

Date: 14 Dec, 2000 18:15:20

Message: 2 of 2

keresztapa@alvilag.com (skynet) writes:

> how many bytes or bits does matlab (4.2, i think this is the
> version i have) user for storing a number in numeric format
> long e?

Matlab 4.2 has only one data type, and all numbers are stored
using double precision (8 bytes/64 bits).

The command `format long e' only affects how numbers are displayed
on screen, and not how the numbers are stored internally.

Peter

--
function f,f=fopen(which(mfilename));.......................Just
while ~feof(f),l=fgetl(f);fprintf(.......................another
'%s ',l(1+max(find(l=='.')):end)),........................Matlab
end,fclose(f);fprintf('\n')%..............................hacker

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us