question archive In this question you are required to use GNU Octave

In this question you are required to use GNU Octave

Subject:Computer SciencePrice:2.87 Bought7

In this question you are required to use GNU Octave. Sinusoidal (sine) waves are commonly used in wireless communication to represent the signal that needs to be transmitted over the wireless channel. For example, in various modulation techniques. A sinusoidal wave can be mathematically represented as y space equals space A sin left parenthesis 2 asterisk times straight pi asterisk times space f space asterisk times space t right parenthesis where A comma space straight pi comma space straight f comma space straight trepresent amplitude, a constant pi, frequency (Hz) and time (seconds) respectively. Using GNU Octave, plot two sine waves left parenthesis y subscript 1 space comma space y subscript 2 space right parenthesison the same plot (hint: use subplot command) with A space equals space 1 comma space straight pi space equals space 3.14 comma space straight f subscript 1 space equals space 2 Hz comma space straight f subscript 2 space equals space 2 straight f subscript 1 space comma space straight t space equals space 0 colon 50 (value of t goes from zero to fifty). Label x and y axis of each plot with 'Time (sec)' and 'Amplitude' respectively. Give title of the plot as 'Name = your name , SID = your student ID'.

Deliverable: You are required to submit your executable Octave code in a text file and figure showing both plots. Submit only one file including code and figure.

Need only to provide the GNU Octave software code to run the equation.

pur-new-sol

Purchase A New Answer

Custom new solution created by our subject matter experts

GET A QUOTE

Answer Preview

Answer:

Octave Code:

clc;

clear all;

pi = 3.14;

t = [0:.099:50];;

f1 = 2;

f2 = 2;

y1 = sin(2*pi*f1*t);

y2 = sin(2*pi*f2*t);

subplot(1,2,1);

plot(t,y1);

xlabel('time(sec)');

ylabel('Amplitude(y1)');

title('Name = abc , SID = xxx');

subplot(1,2,2);

plot(t,y2);

xlabel('time(sec)');

ylabel('Amplitude(y2)');

title('Name = abc , SID = xxx');

please use this google drive link to download the answer file.

https://drive.google.com/file/d/1tajau7fV0ovqFmyoJ8k7QpLASPC3OONE/view?usp=sharing

note: if you have any trouble in viewing/downloading the answer from the given link, please use this below guide to understand the whole process.

https://helpinhomework.org/blog/how-to-obtain-answer-through-google-drive-link