Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Silly question regarding plotting of contours

조회 수: 1 (최근 30일)
Rodney
Rodney 2012년 11월 7일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi, i have a set of velocity data at x and y locations. How do i plot the contours of the velocity data? I have looked at a few forums and most of them give velocity as a function of x and y. I dont have a function. I have a column of velocity. I know at first i would need to create a mesh grid with x and y. but as soon as i used the function contour(X,Y,u) i got an error. Can anybody help? Many thanks?
  댓글 수: 1
Image Analyst
Image Analyst 2012년 11월 7일
What do the rows (elements) of that column of velocities represent? The x values, the y values, or something else? Let's say index 10 has a velocity of 42. Okay, what x,y location is that 42 supposed to be at? You'd need an x and a y but all you have is the index (element number) which is one number, not two.

답변 (1개)

Khaled Hamed
Khaled Hamed 2012년 11월 7일
Check
help TriScatteredInterp

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by