Write a syntax to plot a 2D graph of function 1/( 2x^2 - 1).
이전 댓글 표시
Code
댓글 수: 2
dpb
2020년 3월 1일
Use "dot" operators.
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?
답변 (1개)
Thiago Henrique Gomes Lobato
2020년 3월 1일
x = 1:10;
y = 1./(2*x.^2-1);
figure,plot(x,y)
카테고리
도움말 센터 및 File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!