How to plot the figure using Matlab ?

1 view (last 30 days)
Mabud Sarkar
Mabud Sarkar on 1 Oct 2020
Commented: Mabud Sarkar on 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 Comments
KSSV
KSSV on 1 Oct 2020
Read about plot, xticklabel.
Mabud Sarkar
Mabud Sarkar on 1 Oct 2020
Can you please write one such script so that I can follow it ?

Sign in to comment.

Answers (1)

Asad (Mehrzad) Khoddam
Asad (Mehrzad) Khoddam on 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 Comment
Mabud Sarkar
Mabud Sarkar on 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?

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!