ToHow can we subtract two graphs using a command...?

7 Ansichten (letzte 30 Tage)
Maimoona Asad
Maimoona Asad am 4 Jan. 2022
I ploted two rf plots. But i want to subtract these two graphs how can I do this..?
  1 Kommentar
DGM
DGM am 4 Jan. 2022
What kind of plots? How is the data arranged? Did you make the plots? Do you have the arrays used to make the plots? Can't you just subtract the arrays?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

laurent jalabert
laurent jalabert am 5 Jan. 2022
as the coordinates of each points of those 2 graphs are probably not matching, I suppose that you can use linspace or spline functions, which generate a new vector containing "artificial" data between each plotted points . Then you can substract point-per-point and display the new graph.

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by