LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Interpolation between two complex number


@Bob_Schor wrote:

...start with one curve, the smoothly translate, rotate somewhat, and maybe get some distortion, ending up as the second curve.

 


I think that's what wiebe's code does... (have not tried it. Just looking at the picture ;)).

 

Here's a simplified version of same...

 

SplinerXYwie.png

Message 11 of 17
(947 Views)

So the xy graph accepts complex numbers? Did not know that... Have to check on Monday...

Message 12 of 17
(935 Views)

@altenbach wrote:

@Bob_Schor wrote:

...start with one curve, the smoothly translate, rotate somewhat, and maybe get some distortion, ending up as the second curve.

 


I think that's what wiebe's code does... (have not tried it. Just looking at the picture ;)).


It does. The picture doesn't do justice to the vi. Moving that slider works surprisingly well.

Message 13 of 17
(933 Views)

wiebe@CARYA wrote:

So the xy graph accepts complex numbers?


A single complex 1d array (single plot) or a cluster array of same (multiple plots).

 

My preferred datatype. 🙂

 

(Btw, I was looking at your code picture, not the graph. :D)

Message 14 of 17
(930 Views)

@altenbach wrote:

wiebe@CARYA wrote:

So the xy graph accepts complex numbers?


A single complex 1d array (single plot) or a cluster array of same (multiple plots).

 

My preferred datatype. 🙂

 

(Btw, I was looking at your code picture, not the graph. :D)


Having an off day, that actually turns out quite well. I thing I knew the complex\xy graph trick, but simply forgot. It's in the help, so there's no excuse...

 

Just like I knew you mend the code, but just had to plug the vi (since OP seems to have checked out permanently).

0 Kudos
Message 15 of 17
(923 Views)

Dear all,

I am so grateful for your efforts and all suggestion. they are really helpful. I read all the comments and I found that my idea was wrong but I learned many things from this thread. I really apologise for any inconvenience.

 

Best regards

 

0 Kudos
Message 16 of 17
(887 Views)

@Al-rawachy wrote:

Dear all,

I am so grateful for your efforts and all suggestion. they are really helpful. I read all the comments and I found that my idea was wrong but I learned many things from this thread. I really apologise for any inconvenience.

 

Best regards

 


It's all good   It just goes to show how things get bogged down when you start playing with imaginary numbers.

 

Altenbach, on the other hand, just plays with the imaginary numbers in his head.  But I;ve suspected for a while that his thoughts only touch on a normal plane in a straight line  <Insert Rimshot>


"Should be" isn't "Is" -Jay
Message 17 of 17
(881 Views)