No BSD License  

Highlights from
@LONG

Be the first to rate this file! 2 Downloads (last 30 days) File Size: 36.46 KB File ID: #3192
image thumbnail

@LONG

by Ignacio del Valle Alles

 

26 Mar 2003 (Updated 06 May 2003)

Avoid NaNs, Infs.

| Watch this File

File Information
Description

'Long' class is an user defined class designed to work with numbers in a much bigger domain.

- This class as been created to avoid the next problem (working with fuzzy systems): We have a set of small numbers (but non zero) Ei 0<i<M+1. Treated as zero by MATLAB
And other set of double classed numbers:yi. When you try to the following average:

      M
     ---    y  ยท E
     \      i    i
     /     _________
      ---       E
     i=1    i

the result is NaN despite of being a good ranged double.

- With long objects this can be solved.

-Several methods are included, overloading some operators and common functions

MATLAB release MATLAB 6.5 (R13)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Updates
06 May 2003

new category

Tag Activity for this File
Tag Applied By Date/Time
fuzzy logic Ignacio del Valle Alles 22 Oct 2008 06:58:54
neural networks Ignacio del Valle Alles 22 Oct 2008 06:58:54
long class range nan inf Ignacio del Valle Alles 22 Oct 2008 06:58:54

Contact us at files@mathworks.com