Comments (1)
Dear @RibomBalt,
thank you for reporting this issue.
I have just made a commit in the devel branch of irfu-matlab which should hopefully help in fixing this issue (this commit will be merged into the master branch and included in the next release).
The problem is down to the floating-point accuracy of the parameters dy
and dy10power
, they should in your first example both have a value of exactly 0.1
but they are ever so slightly different due to how the values are stored binary. We have the dy
being somewhat smaller than dy10power
:
K>> dy-dy10power
ans =
-2.775557561562891e-17
This is within "eps()", https://se.mathworks.com/help/matlab/ref/eps.html, however it means that when we divide one by the other we get something like 0.999999...
which when floor'ed goes to all the way to zero.
With best regards,
Thomas Nilsson
from irfu-matlab.
Related Issues (20)
- SolO IRFU quicklooks: Value must be a 1x2 vector of numeric type HOT 2
- SolO IRFU quicklooks: Unrecognized function or variable 'timet_ici'. HOT 2
- SolO IRFU quicklooks: Matrix dimensions must agree HOT 3
- SolO IRFU quickloooks: solo.read_TNR(): No handling of non-existent TNR CDFs HOT 1
- How to do MVA of magnetic field using IRF HOT 1
- Issue with using "Example_MMS_particle_DEFlux.m" HOT 2
- Issue with using "get_hiresdistributions" HOT 6
- Whamp (matlab): No solution found for array of wavevectors
- Missing license information HOT 2
- Issue with running the "Example_MMS_Polarizationanalysis.m" code in Matlab HOT 4
- mms.get_data returns wrong HPCA moments HOT 2
- solo_local_file_db HOT 3
- problem in accessing mms data using irf-matlab (devel-branch) HOT 2
- SolO IRFU quicklooks failed due to SPICE-related error HOT 2
- SolO IRFU quicklooks crash: Value must be a 1x2 vector... HOT 5
- SolO IRFU quicklooks crash: exception.message=Value must be a 1x2 vector of numeric type ... HOT 1
- SolO IRFU quicklooks: Bad filenames HOT 1
- SolO IRFU quicklooks: Data length must be larger than 15 samples HOT 1
- SolO IRFU quicklooks: "Index exceeds the number of array elements (3).", crashes HOT 4
- SolO IRFU quicklooks: "Matrix dimensions must agree.", crashes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irfu-matlab.