export data to matlab Log Out | Topics | Search
Moderators | Register | Edit Profile

FlexPDE User's Forum » User Postings » export data to matlab « Previous Next »

Author Message
Top of pagePrevious messageNext messageBottom of page Link to this message

Hamza A Rouabah (mizou)
New member
Username: mizou

Post Number: 1
Registered: 09-2005
Posted on Monday, October 10, 2005 - 09:20 am:   

Hello,
I’m using FlexPDE 5.07 version and I’m wondering to plot the streamlines function of the fluid velocity using matlab, however the exported data using “transfer” instruction is loaded with the mesh information.
I also used this instruction:
elevation(u) from (a,0) to (a+b,0) export format "#x, #y, #z#b#1#i" file="u14_1.dat"
But it just exported the matrix of one line (y=0)
By using REPEAT statement to generate repetitive structures a long Y axis as following:
repeat j=1 to 300
elevation(u) on 'loop'+$(j)
endrepeat
But It seems that only the last matrix has been exported (for j=300)
So is it possible to export FlexPDE data to matlab? Is there a way in which I can export only the fluid velocity matrix without the other data (mesh)?
Thanks.

Hamza.
Top of pagePrevious messageNext messageBottom of page Link to this message

Robert G. Nelson (rgnelson)
Moderator
Username: rgnelson

Post Number: 469
Registered: 06-2003
Posted on Monday, October 10, 2005 - 06:20 pm:   

TABLE output overlays a rectangular grid on the problem domain, and exports the table data. Use the "Format String" option to write one line per grid point suitable for import into MatLab.

See "TABLE" in the Help Index and the example "Samples | Misc | Import-export | export_format.pde"

Add Your Message Here
Post:
Username: Posting Information:
This is a private posting area. Only registered users and moderators may post messages here.
Password:
Options: Enable HTML code in message
Automatically activate URLs in message
Action:

Topics | Last Day | Last Week | Tree View | Search | Help/Instructions | Program Credits Administration