composite function

조회 수: 2 (최근 30일)
adam
adam 2012년 5월 28일
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

채택된 답변

Stephen
Stephen 2012년 5월 29일
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.
  댓글 수: 1
adam
adam 2012년 5월 31일
Hello stephen,
Thank you for your answer. may be I didn't explain well. I try to give more details here.
I have a values of vector A for different values of vector B (the corresponding value).the values of A is plotted as a function of the values of B.
C is a function of d (C=f(d)). we can plot C as a function of d. it is function like sin or cos.
There is a connection between C and B : the values of B is varying from 0 to max(C).
Now, I would like plot A as a function of d.
Thank you in advance,

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Computational Fluid Dynamics (CFD)에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by