I have a data list with two columns {xi, yi}
. The numbers in the left column for xi
are integers. For example:
A = {{1,0.01},{7,0.064},{8,0.032},{9,0.1},{10,0.9},{23,0.76},{32,0.98},{96,0.56}}
I want to complete the list files to have a total of 99 data. Then, in the left column xi
, integers must be entered. The corresponding yi
will be 0.
A'={{{1,0.01},{2,0},{3,0},{4,0},{5,0},{6,0},{7,0.064},{8,0.032},{9,0.1},{10,0.9},{11,0}...{22,0},{23,0.76},{24,0}...{31,0},{32,0.98},{33,0}..,{95,0},{96,0.56},{97,0},{98,0},{99,0}}}
A'
is modifications in set A
. I believe the option to be used is Insert
Can someone please help me?
{10,0,9}
- a typo? $\endgroup$