How to plot the figure using Matlab ?

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)

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 Startup and Shutdown dans Centre d'aide 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