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.

Help with sketching the signal

TorrieTTT

Newbie
Joined
Aug 26, 2021
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
27
I've been trying to solve the question but am not getting the desired answer.
I tried separating the components and solving but still no luck. Plese help.

IMG_20210903_120423.jpg
 
Last edited by a moderator:

salmanshu

Newbie level 6
Joined
Jan 26, 2022
Messages
12
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
59
I've been trying to solve the question but am not getting the desired answer.
I tried separating the components and solving but still no luck. Plese help.

View attachment 171730
put values from -6 to 6 in n and change value of k according to n. x[-6]=4 ,x[-5]=2,and change values by simply puting values in question.
 

KlausST

Super Moderator
Staff member
Joined
Apr 17, 2014
Messages
22,800
Helped
4,691
Reputation
9,398
Reaction score
5,034
Trophy points
1,393
Activity points
150,927
Hi,

the original picture has a file size of 5MBytes.
This picture has a filesize of 0.034MBytes
IMG_20210903_120423w.jpg

Mind that edaboard is an international forum and there are regions with low internet bandwidth

Generally it´s no good idea to take a high resolution photo from a computer monitor. It just gives huge file size with low quality. Better use the screenshot buttons of your keyboard (or other OS screenshot functions) and use .PNG file format.
 

kaz1

Full Member level 3
Joined
Aug 15, 2019
Messages
170
Helped
14
Reputation
28
Reaction score
31
Trophy points
28
Location
UK
Activity points
1,177
put values from -6 to 6 in n and change value of k according to n. x[-6]=4 ,x[-5]=2,and change values by simply puting values in question.
This is my guess attempt:

Code:
clc;clear;
for n = 0:12
    sum = 0;
    for k = -6:5
        if n < 3*k
            u1 = 0;
        else
            u1 = 1;
        end
        if n < 4+3*k
            u2 = 0;
        else
            u2 = 1;
        end
        sum = sum + (u1 - u2);
    end
    y(n+1) = 2*sum;
end

x = -6:6;
stem(x,y)
 

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top