Plotting a sinusoidal sequence. The following script plots a sinusoidal sequence using stem plot without axis. Find the error in the script.
i = 0:100; % define index array
y = sin(2*pi*j/100);
stem(y)
axis([1 101 -1 1])
axis off
Solution
i = 0:100;
y = sin(2*pi*i/100);
stem(y)
axis([1 101 -1 1])
axis off
You might also like to view...
Explain the term estray in reference to domestic animals
What will be an ideal response?
An industrial load is modeled as a series combination of an inductor and a resistance as shown in Fig. 9.89. Calculate the value of a capacitor C across the series combination so that the net impedance is resistive at a frequency of 2 kHz.
High-rise apartment and office buildings with light floor loads are often constructed using _____
a. one-way solid slabs b. two-way joist slabs c. two-way flat plate slabs d. composite slabs
Which of the following is an application of RFID in the healthcare industry?
A. patient to physician videoconferencing B. remote patient diagnosis C. medication administration D. monitoring of patient implants