Answer to Question #277388 in Electrical Engineering for Ammar

Question #277388

f(x)=sinπx for (0<x<1)

1
Expert's answer
2021-12-10T12:56:02-0500


close all,
clear all,
clc,


%   f(x)=sinπx for (0<x<1)


Fs = 1000;
x = 0:(1/Fs):1;
f_x = sin(pi*x);


scrsz = get(0,'ScreenSize');
Dim=0;
figure('Position',[scrsz(1)+Dim, scrsz(2)+Dim,scrsz(3)-20,scrsz(4)-100]);
plot(f_x);
xlabel('--- x --->');
ylabel('--- f(x)---');
title('f(x) = sin(pi x), where 0 < x < 1','FontSize',20);
grid on;

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
APPROVED BY CLIENTS