Sign in

username:

password:



Not a member?

Search matlab



Search tips

Subscribe to matlab



matlab by Keywords

Atanh | Autocorrelation | Bandpass Filter | C++ | Conv | Database | Deconv | Excel | FFT | Filter | Filtering | FIR | Fourier Transfrom | FSK | Gaussian Noise | Haykin | IFFT | Image | Java | LFSR | LMS | LPC | MEX | OFDM | QPSK | Radix | Random | Sampling | Segmentation | Simulink | Visual Basic | Waveform | Wavelet

Discussion Groups

Discussion Groups | Matlab DSP | Fwd: Plotting Error in Matlab??

Technical discussion about Matlab and issues related to Digital Signal Processing.

  

Post a new Thread

Fwd: Plotting Error in Matlab?? - "Raja' S. Alomari" - Apr 23 13:16:57 2008



---------- Forwarded message ----------
From: Raja' S. Alomari <r...@gmail.com>
Date: Wed, Apr 23, 2008 at 1:13 PM
Subject: Re: [matlab] Plotting Error in Matlab??
To: "aaron. judy" <a...@yahoo.com>, m...@yahoogroups.com
Hi,
It did work with me and the title appears on the plot (enclosed). I am using
version 2007b..

Best regards,
Raja'

  On Tue, Apr 22, 2008 at 3:54 PM, aaron.judy <a...@yahoo.com> wrote:

>   I am plotting a very simple graph, but keep getting the error below?
> The plot will display the xlabel and ylabel, but not the title?
>
> x = 0:pi/30:2*pi; % x vector, 0 <= x <= 2*pi, increments of
> pi/30
> y = sin(3*x); % vector of y values
> plot(x,y) % create the plot
> xlabel('x (radians)'); % label the x-axis
> ylabel('sine function'); % label the y-axis
> title('y = sin(3*x)'); % put a title on the plot
> ??? Index exceeds matrix dimensions.
>



(You need to be a member of matlab -- send a blank email to matlab-subscribe@yahoogroups.com )