Topic: Generation of Discrete-time signal (Unit Sample Sequence) Good day! I need some help especially in line number 9 because it keeps on saying error and I can't run the MATLAB code. Thank you so much!

Power System Analysis and Design (MindTap Course List)
6th Edition
ISBN:9781305632134
Author:J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Chapter6: Power Flows
Section: Chapter Questions
Problem 6.22P
icon
Related questions
Question

Topic: Generation of Discrete-time signal (Unit Sample Sequence)
Good day! I need some help especially in line number 9 because it keeps on saying error and I can't run the MATLAB code. Thank you so much!

1 clc;
2 clf;
3 clear all;
4 //unit impulse
5 L=5;
6 n=-L: L;
7
x= [zeros (1, L), ones (1,1), zeros (1,L)];
8 a=gca ();
9
a.y_location="middle"
10 plot2d3 (n,x);
11 title('unit impulse ');
Transcribed Image Text:1 clc; 2 clf; 3 clear all; 4 //unit impulse 5 L=5; 6 n=-L: L; 7 x= [zeros (1, L), ones (1,1), zeros (1,L)]; 8 a=gca (); 9 a.y_location="middle" 10 plot2d3 (n,x); 11 title('unit impulse ');
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Simplification of Boolean Functions Using Karnaugh Map
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, electrical-engineering and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Power System Analysis and Design (MindTap Course …
Power System Analysis and Design (MindTap Course …
Electrical Engineering
ISBN:
9781305632134
Author:
J. Duncan Glover, Thomas Overbye, Mulukutla S. Sarma
Publisher:
Cengage Learning
EBK ELECTRICAL WIRING RESIDENTIAL
EBK ELECTRICAL WIRING RESIDENTIAL
Electrical Engineering
ISBN:
9781337516549
Author:
Simmons
Publisher:
CENGAGE LEARNING - CONSIGNMENT