Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

access data in a data structure

1 visualización (últimos 30 días)
Jeffrey Schlang
Jeffrey Schlang el 2 de Feb. de 2017
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
I am trying to access data in a data structure so I can plot the data. I tried this:
gain_AZ0_Fmid=cell2mat({dataOut_aeCalTable{1}{1}{4}( ceil( length( frequencyList ) / 2 ), 1, :)}) ;
I still get and output that looks like this:
Val(:,:,1) = 2.2
How do I get the data into a form I can use it to make a plot?
  1 comentario
Niels
Niels el 2 de Feb. de 2017
Editada: Niels el 2 de Feb. de 2017
lools pretty much like your variable is rather a cell array than a structure You dont need cell2mat. Get access to a cell array with {}. But you should know since you are working with a table (containing string arrays? Tripple {}{}{} + cell2mat saved cells in cells in cells?). If possible, can you save your variable dataout_aeC... and upload? + the outer 2 brackets and cell2mat are useless. Delete them

Respuestas (0)

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by