How to plot the figure using Matlab ?

1 vue (au cours des 30 derniers jours)
Mabud Sarkar
Mabud Sarkar le 1 Oct 2020
Commenté : Mabud Sarkar le 4 Oct 2020
I have plotted the figure using Wolfram Mathematica where no knowledge of required.
But I want to know how to draw the below figure using ?
  2 commentaires
KSSV
KSSV le 1 Oct 2020
Read about plot, xticklabel.
Mabud Sarkar
Mabud Sarkar le 1 Oct 2020
Can you please write one such script so that I can follow it ?

Connectez-vous pour commenter.

Réponses (1)

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam le 1 Oct 2020
You can combine four plot commands or use four curves (lines) to plot it
for example
plot([0,1],[1,0],'r', [1,2,4,8],[0,-1,-2,-3],'k')
  1 commentaire
Mabud Sarkar
Mabud Sarkar le 4 Oct 2020
How to plot the vertical axis with displaying just 1 and -1 and v_2(a_n) as shown in the figure?

Connectez-vous pour commenter.

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by