Posts

Showing posts from September 8, 2018

Applying a lower bound threshold on a list

Image
Clash Royale CLAN TAG #URR8PPP up vote 3 down vote favorite Consider the following list list=0,0,0,10^-18,10^-15,10^-12,10^-10,1,1 How can I apply a threshold on the list that will give a lower bound for the values. For example ApplyThreshold[list,10^-12]; will yield an outcome of 10^-12,10^-12,10^-12,10^-12,10^-12,10^-12,10^-10,1,1 and ApplyThreshold[list,10^-9]; will yield an outcome of 10^-9,10^-9,10^-9,10^-9,10^-9,10^-9,10^-9,1,1 list-manipulation share | improve this question asked Aug 26 at 9:20 jarhead 689 4 12 add a comment  |  up vote 3 down vote favorite Consider the following list list=0,0,0,10^-18,10^-15,10^-12,10^-10,1,1 How can I apply a threshold on the list that will give a lower bound for the values. For example ApplyThreshold[list,10^-12]; will yield an outcome of 10^-12,10^-12,10^-12,10^-12,10^-12,10^-12,10^-10,1,1 and ApplyThreshold[list,10^-9]; will yield an outcome of 10^-9,10^-9,10^-9,10^-9,10^-9,10

How to convert a string to long int? [closed]

Image
Clash Royale CLAN TAG #URR8PPP up vote 2 down vote favorite I'm new to Arduino and my first project is an RFID reader. since I need a lot of known tags list , i have a problem with not enough memory. for that reason I want to convert strings like : "426d9244", "1265dd39"... to a long int. I know it's been asked but as a new programer I find it hard to understand. an example would be very appreciated also. programming share | improve this question edited Aug 26 at 9:54 asked Aug 26 at 9:05 rafi shoval 11 2 closed as off-topic by Juraj, sempaiscuba, Greenonline, VE7JRO, per1234 Aug 27 at 0:30 This question appears to be off-topic. The users who voted to close gave this specific reason: "This question does not appear to be about Arduino, within the scope defined in the help center." – sempaiscuba, Greenonline, VE7JRO If this question can be reworded to fit the rules in the help center, please e