Plot graph with different vectors

조회 수: 1 (최근 30일)
Nurakmal Laili Mohd A'shri
Nurakmal Laili Mohd A'shri 2019년 5월 21일
답변: Hiskiel Stephanus 2019년 5월 22일
How to plot a graph with value of array 209959 with the another another array of 120001

채택된 답변

Hiskiel Stephanus
Hiskiel Stephanus 2019년 5월 22일
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.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by