f(x)=sinπx for (0<x<1)
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;
Comments
Leave a comment