MATLAB: How to perform arithmetic calculation for matrix stored in a structure array?

structures

Hi all, I have previously written a code to do curvefitting and have several variables(eg.estimateONE and estimateTWO) in matrix form. So I used dlmwrite as shown below to save these matices,thinking that I do not have to go through the hassle of running the curvefitting code again and able to perform arithmetic calculation on them in the future.
%%Example of code to save the estimateONE matrix as estimateONE.txt
% dlmwrite('estimateONE.txt', estimateONE, 'delimiter', '\t','precision', 4)
% type estimateONE.txt
%%Code to read the estimateONE file
filename = 'estimateONE.txt';
delimiterIn = '\t';
headerlinesIn = 1;
estimateONE = importdata(filename,delimiterIn,headerlinesIn);
However, when I used this code to access the matrix, I have a structure estimateONE and the data are stored as estimateONE.data
So how can I retrieve the estimateONE.data and then perform arithmetic calculation such as dividing it with another data matrix such as estimateTWO.data stored in another structure array called estimateTWO?? Because it is no longer an array which can be read using the fscanf function.
Really really appreciate any form of help extended.
Best regards

Best Answer

estimateONE.data ./ estimateTWO.data