Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

curve through a text file which is a table using MATLAB tool

Status
Not open for further replies.

M.B.

Member level 2
Member level 2
Joined
Mar 31, 2008
Messages
47
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Location
TUNISIA
Activity points
1,561
Matlab

Hi to all,

I would to plot a curve through a texte file which is a table using MATLAB tool.
Can any person help me to find the appropriate commands?

Thanks to all.
 

Re: Matlab

you can write a m file using matlab
give you a example

function nn=ldo()
a=[10.00000e-3 71.3108 179.9527
12.58925e-3 71.3108 179.9404
15.84893e-3 71.3108 179.9250
19.95262e-3 71.3108 179.9055
25.11886e-3 71.3108 179.8811
31.62278e-3 71.3108 179.8503
39.81072e-3 71.3108 179.8115
50.11872e-3 71.3108 179.7627
63.09573e-3 71.3107 179.7013
79.43282e-3 71.3107 179.6239
100.00000e-3 71.3106 179.5266
.................. ........... ..........];
x=a:),1);
y1=a:),2);
y2=a:),3);
plot(x,y1,x,y2);
end
 

Re: Matlab

Thanks for your response, it is very clear.
 

Matlab

hay also you can visit matlab central
 

Re: Matlab

I solve my problem.

Thanks To all.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top