Plot the function sin (x) on the interval [0, 5]. Now generate the discrete time signal from the sine function with 6 discrete values. Using this fundamental period, generate
2 ビュー (過去 30 日間)
古いコメントを表示
Plot the function sin (x) on the interval [0, 5]. Now generate the discrete time signal from the sine function with 6 discrete values. Using this fundamental period, generate
回答 (1 件)
Sam Chak
2023 年 4 月 23 日
fcn = @(x) 2*x - x.*abs(x);
fplot(fcn, [-1 1])
grid on
title({'Plot of $y = 2 x - x |x|$ over $-1 \leq x \leq 1$'}, 'interpreter', 'latex')
xlabel('x')
ylabel('y')
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Signal Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!