Write a syntax to plot a 2D graph of function 1/( 2x^2 - 1).
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Code
2 commentaires
Image Analyst
le 1 Mar 2020
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?
Réponses (1)
Thiago Henrique Gomes Lobato
le 1 Mar 2020
x = 1:10;
y = 1./(2*x.^2-1);
figure,plot(x,y)
0 commentaires
Voir également
Catégories
En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!