Plot graph with different vectors

1 Ansicht (letzte 30 Tage)
Nurakmal Laili Mohd A'shri
How to plot a graph with value of array 209959 with the another another array of 120001

Akzeptierte Antwort

Hiskiel Stephanus
Hiskiel Stephanus am 22 Mai 2019
Hi
Matlab requires of you to have the arrays having the same dimensions(this applies to both 2D and 3D arrays). What you should do is, allign the correpsonding positions in the two arrays. The other positions without values can then be assigned a zero "0" character. I see these are big arrays, you can use a simple loop to rearrange your data.

Weitere Antworten (0)

Kategorien

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

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by