Borrar filtros
Borrar filtros

Plot graph with different vectors

3 visualizaciones (últimos 30 días)
Nurakmal Laili Mohd A'shri
Nurakmal Laili Mohd A'shri el 21 de Mayo de 2019
Respondida: Hiskiel Stephanus el 22 de Mayo de 2019
How to plot a graph with value of array 209959 with the another another array of 120001

Respuesta aceptada

Hiskiel Stephanus
Hiskiel Stephanus el 22 de Mayo de 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.

Más respuestas (0)

Categorías

Más información sobre Graph and Network Algorithms en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by