Matlab: Obtaining an exact decimal number from a csv file -


i have csv file have decimal numbers 1.1, 1.10, 1.100. when load file in matlab using importdata or textscan, show these numbers same: 1.1 discarding 0's @ end. but, have different meaning of them.

is there anyway recover?

thanks, sam

you're saying mean different 1.1 1.100000? mathematically, same number (i sincerely hope know already).

so if "numbers" don't have same meaning numbers in of strictly defined mathematical number systems (which matlab assumes case), should import them strings (%s) rather numbers (%d, %f, etc.), , process them such.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -