changing Xscale in 2D wave to nonlinear fomat
Wed, 06/12/2019 - 02:24 am
I am getting the hang of Igor Pro but the task that I am trying to rescale a wave that is way out of the scope of my mathematic ability. I essentially want to change the delta of the rows to start at -0.4, peak at 1 and then go back down and end at -0.4, with increments of 0.02 (based on delta pattern from another wave in my data). This is essentially a symmetric triangle wave and from what Ive read online it involves some sort of fourier transformation formula with cos or sinc. I have very poor math skills and therefore have a lot of trouble coming up with the right formula. Can anyone help me out? I hope I was clear, if not please let me know so I can elaborate.
make /O /N=(140,12) TestWave=enoise(2,1)
SetScale /P y, 0, 0.1, TestWave
SetScale /P x, -0.4, 0.02, TestWave //I know this is not correct but I want increments to go: -0.4-->1-->-0.4
NewWaterFall TestWave //to visualize dimension scaling only
Thanks in advance for any suggestions!