Mathematica Asked on May 11, 2021
I have a for loop which generates random matrices and then some scalar numbers for example:
For[j = 1, j <= 100, j++,a=RandomState[4];b=RandomState[4];c=Tr[a];d=Tr[b];e=b+c;{a,b,c,d,e}>>>file.csv] data=Import["file.csv path","Data"]
ListLinePlot[data[[All,3]],data[[All,4]]]
I need to save this data to a new file and then import to plot for example c against d and perform some other numerical calculations. I have tried the above however it does not work. Here RandomState is from the QI package.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP