Thread Closed

Matlab Importing Files

 
Share Thread Thread Tools
Feb28-05, 06:45 AM   #1
 

Matlab Importing Files


Hey! Im using c++ to simulate charges dissipating. I've written the output to a file in the form of a matrix, so in the file is just a matrix of numbers showing equipotentials etc.

I want to show the contours by using MATLAB. I'm not used to working in MATLAB but I tried! I clicked file --> import data, then pointed it to the output file from c++ (just a .txt file).

After clicking next a few times it appears to have imported the correct file.

Now what do I do? Reading text books, I gather its something like:

>contour(......)

Im really not sure about this! I hope I don't have to start learning MATLAB from the beginning just to work this out! The point of my project is to use c++ to work out the charge dissipation, which I've done but wouldnt it be nice to have some pictures?!

Thanks in advance,

Matt
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Hong Kong launches first electric taxis
>> Morocco to harness the wind in energy hunt
>> Galaxy's Ring of Fire
Feb28-05, 10:01 AM   #2
 
Recognitions:
Gold Membership Gold Member
Science Advisor Science Advisor
Quote by MathematicalPhysics
Hey! Im using c++ to simulate charges dissipating. I've written the output to a file in the form of a matrix, so in the file is just a matrix of numbers showing equipotentials etc.

I want to show the contours by using MATLAB. I'm not used to working in MATLAB but I tried! I clicked file --> import data, then pointed it to the output file from c++ (just a .txt file).

After clicking next a few times it appears to have imported the correct file.

Now what do I do? Reading text books, I gather its something like:

>contour(......)

Im really not sure about this! I hope I don't have to start learning MATLAB from the beginning just to work this out! The point of my project is to use c++ to work out the charge dissipation, which I've done but wouldnt it be nice to have some pictures?!

Thanks in advance,

Matt
You can writte "help contour" on the command window.
 
Thread Closed
Thread Tools


Similar Threads for: Matlab Importing Files
Thread Forum Replies
Importing MATLAB Plots into MATHCAD Math & Science Software 0
Importing PCB footprint Electrical Engineering 1
MATLAB and M-Files Math & Science Software 4
Matlab: Saving and Running M-files Math & Science Software 3
Importing data into MATLAB Math & Science Software 0