Write a syntax to plot a 2D graph of function 1/( 2x^2 - 1).

1 次查看(过去 30 天)
Code
  2 个评论
Image Analyst
Image Analyst 2020-3-1
That is a 1-D signal. What do you mean by 2-D graph? You mean just a regular plot of a 1-D signal? Or do you want some kind of image or surface plot where that x-function varies along each of the x and y directions?
Is this homework? If so read this link.

请先登录,再进行评论。

回答(1 个)

Thiago Henrique Gomes Lobato
x = 1:10;
y = 1./(2*x.^2-1);
figure,plot(x,y)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

产品


版本

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by