What is the output of the following code? [code]t=[-2:1:2];plot(t,t);ax=gca;ax.Xscale=’Logarithmic’;[/code]

What is the output of the following code?
Code:
t=[-2:1:2];plot(t,t);ax=gca;ax.Xscale=’Logarithmic’;
A. Error
B. Syntactical error
C. A semi-log graph of a ramp function
D. A ramp function
 

Tìm kiếm

Back
Top