MATLAB: Composite function

compositeMATLAB

Hello, I have three vectors A, B and C. I plotted A as a function of B (B=0:0.01:1; and I have the values of A correponding). I have a function of B versus of C.
Can I plot A as a function of C? What have I use composite function or interpolation?
Any idea? Thanks in advance, Adam

Best Answer

plot(C,A)
you can plot anything against anything else. If A and C correspond to the same values of B then the above code should work.