Hello, I have the problem that I want to sweep over frequency (for example with pss) and then use the frequency itself in calculations. The problem: Not only the results traces are a vector but also the frequency variable itself! In the calculations, I would like to use the single frequency (scalar) as argument, not the entire vector. Example: Sweep over input frequency fin Expression: dB20((thd(v("/vod" ?result "pss_td") 0 (1 / VAR("fin")) VAR("NDFT") VAR("fin")) / 100)) Plot this expression vs. fin ADE L accepts this expression but the results are wrong (compared with just a single run). I assume the reason is it supplies the entire array of fin when I use VAR("fin") . instead only the one from the current run. It's a little intricate ... any way around here?
↧