This may sound like a repeat question, but I thought I had it figured out, but now it doesn't work anymore.
I have been provided a file called "data.txt" that contails about 20,000 entries that look like:
col1 represents time_axis
col2 represents voltage
I use the import this into a variable: vdata. Which in my right hand variables box shows up as vdata <2003925x2>
Now I need to plot a smoothed version of volt_data against the same time axis.
Now I execute:
>>> sm_vdata = smooth(data)
which provides variable: sm_vdata size <4007850x1>.
Obviously somethings wrong. I need sm_vdata array to be the same size as v_data array with the same time values.
How do I do this?
Thanks in advance for any advice.