MATLAB: Can I convert data array to data structure with time data Hi everybody, can I convert data array to data structure with time? Best Answer t=0:0.1:10;y=sin(t)data=struct('time',t,'signal',y) Related SolutionsMATLAB: Struct array to data array A=z.data MATLAB: How to plot data from a structure with time Most likely, this will work:plot(Control_Logic.time, [Control_Logic.signals.values])The [Control_Logic.signals.values] concatenates the values field of the 3 signal structures together into a 108350 x 3 matrix (assuming that values is 108350 x 1). Related QuestionArray of structures (new)How to convert string to timeHow to convert decimal to timeSubtracting the first value from all elements in an array in a structureConvert time
Best Answer