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.

plot 2-D line graph in matlab

Status
Not open for further replies.

khurram zaman

Newbie level 2
Joined
Aug 22, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
Hi Friends!
Could any one among you tell me a structure of how to plot a 2-D graph in Matlab which consist of three parameters i.e SNR, Error Percentage and Velocity. I will be very thankful to you.



Thanks alot
 

Hi Friends!
Thanks a lot for your reply but actually I want to plot 2-D graph with the help of for loop statement. If any one knows the structure of using for loop then please let me know.





Thanks
 

i dunno how u going to plot a 2-d plot using "for".. but the syntax of for loop is given below:

for i = a:b:c
statements;
end

where,
a: array starting index
b: increment in steps
c:end point

for example:
executing array which is b/n 1 & 100

for i=1:2:100
statements
end

for default increment of '1', u can just take for i = 1:100
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top