필터 지우기
필터 지우기

Is it possible to get a relationship between two vectors in matlab?

조회 수: 1 (최근 30일)
CHITHRA
CHITHRA 2013년 7월 15일
I have 2 vectors x and y. I need to represent y as a function of x. Is it possible to do so in matlab?

답변 (1개)

David Sanchez
David Sanchez 2013년 7월 15일
plot(x,y)
will do the trick, as long as x and y are of the same length.
  댓글 수: 1
David Sanchez
David Sanchez 2013년 7월 15일
and if you want to get the relationship, use the curve fitting tool by typing
cftool
A user interface will be prompted where you can approximate your data to the shape of your liking.

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

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by