How to configure stream3 arrays

1 Ansicht (letzte 30 Tage)
Franco
Franco am 20 Mai 2011
I have a set of data and I am trying to understand how the function stream3 needs the data in order to produce an acurate plot. The data I have is in this form
x=[1,2,3]
y=[4,5,6]
z=[7,8,9]
velocity=[1,2,3;4,5,6;7,8,9]
so the first 3 values are the velocity when x=1, y=4, and z ranges from 7 trough 9, the second 3 values are when x=1, y=5 and z ranges from 7 through 9, the third set of values are when x=1, y=6 and z ranges from 7 through 9.
Im sure that this isnt the way the function needs the data so I was wondering if anyone out there know how the function requires the data in order to get an accurate streamline plot. Oh, and just as a sidenote, whoever has the answer, you frakin' ROCK!!!
  5 Kommentare
Franco
Franco am 20 Mai 2011
well, what i gave was just an example, i have the velocity components in u, v and w, but they are all in the same format as described above.
Matt Fig
Matt Fig am 20 Mai 2011
Hello Franco,
I see you have asked 8 questions on MATLAB Answers without accepting a best answer for any of them. Would you take a few minutes to go back and resolve the questions to which you received satisfactory answers?
Thanks.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by