Dear all
I have 2 arrays namely A and B that I wish to aggregate into one array like this:
1/1/1978,0.001/2/1978,0.001/3/1978,0.001/4/1978,0.001/5/1978,0.001/6/1978,0.001/7/1978,0.001/8/1978,0.001/9/1978,0.001/10/1978,0.00
So I used this code: (I attached A and B)
BA= table (B, A);dlmwrite('daily_data.txt',BA)
But unfortunately, I get this error:
Check for missing argument or incorrect argument data type in call tofunction 'real'.Error in dlmwrite (line 181) str = sprintf('%.*g%+.*gi',precn,real(m(i,j)),precn,imag(m(i,j)));
Do you know how I can achieve my goal? since I work with software that accepts only the format that I mentioned above.
Thanks
Best Answer