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.

Setting of Axis for displaying graph in Matlab 6.06

Status
Not open for further replies.

nsit1234

Newbie level 6
Newbie level 6
Joined
May 20, 2006
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,350
Hi
I'm using Matlab 6.06 and in a program i am required to set the axis of a graph I'm trying to display y axis as 10^(-25) to 1 and X axis 0 to 50. Is there any command which I can use .
 

Here's one way:
x = 0 : 50;
y = 3 .^ (x-50);
semilogy(x, y);


Another way:
x = 0 : 50;
y = 3 .^ (x-50);
plot(x, y);
set(gca, 'YScale', 'log');


I'm using version 7.5. I don't have version 6.06 to try.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top