You are on page 1of 3

  Textbook Solutions Expert Q&A Study Pack Practice 

Find solutions for your homework Search

home / study / engineering / electrical engineering / electrical engineering questions and answers / once again using matlab, your task is to imple…

Question: Once again using MATLAB, your task is to implement the follo… Post a question
Answers from our experts for your tough
homework questions

Enter question

Continue to post
15 questions remaining

Snap a photo from your


phone to post a question
We'll send you a one-time download
link

Write 9 MATLAB codes for each operation from 1 to 9. 888-888-8888 Text me


Show transcribed image text
By providing your phone number, you agree to receive a one-tim
automated text message with a link to get the app. Standard

Expert Answer messaging rates may apply.

Anonymous answered this


Was this answer helpful? 0 0
9 answers My Textbook Solutions
6.clc;
clear all;
close all;
D=input('enter the downsampling factor');
L=input('enter the length of the input signal');
f1=input('enter the frequency of rst sinusodal');
f2=input('enter the frequency of second sinusodal'); Computer... Global... Contempor...
n=0:L-1;
x=sin(2*pi*f1*n)+sin(2*pi*f2*n); 10th Edition 4th Edition 2nd Edition
y=decimate(x,D,' r'); View all solutions
subplot(2,1,1);
stem(n,x(1:L));
title('input sequence');
xlabel('time(n)');
ylabel('amplitude');
subplot(2,1,2);
m=0:(L/D)-1;
stem(m,y(1:L/D));
title('decimated sequence');
xlabel('time(n)');
ylabel('amplitude');

2.clc;
clear all;
close all;
L=input('enter the upsampling factor');
N=input('enter the length of the input signal'); % Length should be greater than 8
f1=input('enter the frequency of rst sinusodal');
f2=input('enter the frequency of second sinusodal');
n=0:N-1;
x=sin(2*pi*f1*n)+sin(2*pi*f2*n);
y=interp(x,L);
subplot(2,1,1)
stem(n,x(1:N))
title('input sequence');
xlabel('time(n)');
ylabel('amplitude');
subplot(2,1,2)
m=0:N*L-1;
stem(m,y(1:N*L))
title('output sequence ');


Comment

Up next for you in Electrical Engineering

R thele R=500 L=10uH and C = 10uF


Modelling. 1. Draw the equivalent
Laplace diagram of the circuit 2. Find
the transfer function of the circuit 3. …
See more questions for subjects
you study

See answer

Questions viewed by other students

Q: Part 1. AWGN Channel Conditions Use MATLAB to simulate the BER versus Signal-to-noise ratio (SNR) for BPSK
modulation under Additive White Gaussian Noise (AWGN). In BPSK, the symbols are of the form +A. Consider the
AWGN channel. This channel does not cause any attenuation or phase shift. However, AWGN is added at the
receiver. So the received signal is of the form XK = Sk + nk...

A: See answer

Q: To apply the equations of general plane motion to describe the motion of a symmetric rigid body As shown, a circular
hoop of mass m, radius r, and in nitesimal thickness rolls, without slipping, down a ramp that is inclined at an angle θ
with the horizontal. (Figure 1) Figure 1 of 1 0 in 0

A: See answer 88% (24 ratings)

Show more 

COMPANY LEGAL & POLICIES CHEGG PRODUCTS AND SERVICES CHEGG NETWORK CUSTOMER SERVICE

About Chegg Advertising Choices Cheap Textbooks Mobile Apps EasyBib Customer Service
Chegg For Good Cookie Notice Chegg Coupon Sell Textbooks Internships.com Give Us Feedback
College Marketing General Policies Chegg Play Solutions Manual Thinkful Help with eTextbooks
Corporate Development Intellectual Property Rights Chegg Study Help Study 101 Help to use EasyBib Plus
Investor Relations Terms of Use College Textbooks Textbook Rental Manage Chegg Study
Jobs Global Privacy Policy eTextbooks Used Textbooks Subscription

Join Our Affiliate Program DO NOT SELL MY INFO Flashcards Digital Access Codes Return Your Books

Media Center Honor Code Learn Chegg Money Textbook Return Policy

Site Map Honor Shield Chegg Math Solver

© 2003-2021 Chegg Inc. All rights reserved.

You might also like