Borrar filtros
Borrar filtros

array of structures in matlab

5 visualizaciones (últimos 30 días)
sweta arya
sweta arya el 29 de Jun. de 2015
Respondida: Azzi Abdelmalek el 29 de Jun. de 2015
how to implement array of structures in matlab.structure containing two fields.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 29 de Jun. de 2015
array1=1:10
array2=21:30
out=struct('field1', num2cell(array1),'field2',num2cell(array2))

Más respuestas (0)

Categorías

Más información sobre Data Types en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by