필터 지우기
필터 지우기

error using streamline function

조회 수: 1 (최근 30일)
Peter
Peter 2015년 7월 7일
댓글: Alberto 2015년 9월 9일
I am trying to plot the stream lines for the velocity field in the attached mat file. The vector field is easily plotted using the command
quiver(X,Y,u,v)
However when I try and use the streamline command
streamline(X,Y,u,v,0.5,0.5)
I get the error:
Error using griddedInterpolant Interpolation requires at least two sample points in each dimension.
When I copy paste the basic example from the matlab documentation the streamline function works fine, but I cannot figure out why it will not work for my vector field.
  댓글 수: 1
Alberto
Alberto 2015년 9월 9일
Hi. Did you solve the problem? I am getting the same error.

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

답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by