Hello everyone,
How can I convert my numerical 1D and 2D arrays to the comma seperated matrix? I have two vectors like A=[3 4 5] 1D and B=[[5 6 7]
[3 8 7]
[3 6 7]]
I want to seperate the values by comma and obtain something like that A={3 ,4 ,5} and B={{5,6,7},{3, 8, 7}, {3,6,7}}. In my code, I need to replace the values in some indexes of A and B arrays. I know how to replace the values but since they are not in the array format of C++, I am getting an error.
Thank you so much