search for: matfile

Displaying 3 results from an estimated 3 matches for "matfile".

Did you mean: mapfile
2012 Jul 28
1
using save() to work with objects that exceed memory capacity
...e in save(). My specific question to the list: How do I capture the string that names an object I want to save, in such a way that I can use it in a function that calls save()? For example, suppose I create a matrix and then save it follows: > mat<-matrix(1:9,3,3) > save(mat, file="matfile") Then I get a file of the kind I'd like: the command 'load("matfile")' retrieves the correct matrix, with the original name 'mat'. Further, if I instead save it this way: > objectname<-"mat" > save(list=ls(pattern=objectname), file="matfi...
2011 Mar 13
4
readMat - how to retrieve the variables
...te_flow (date) a.river1.precip (precipitation values) a.river1.date_precip a.river2.flow a.river2.date_flow a.river2.precip a.river2.date_precip I have used readMat to load the variable a in R, however I have no idea how readMat translates a. I managed to get some values out of data=readMat("matfile.mat") data$a[,,1]$river1[,,1]$flow -> Why do I need [,,1]? Why not data$a$river1$flow? Many thanks Ed
2011 Oct 17
0
[Reading mat files into R]
...t resolve my problem. When I want to load mat file, created by Matlab 2011b release by using following commands: *require(R.matlab)* *require(utils)* *require(Rcompression)* * * *dataPath<- Q:/data/mat”;* *matList<-list.files(path = dataPath) * *matQuantity<-length(matList)* *MatFile<-readMat(file.path(paste(c(dataPath,’/’,matList[1]),collapse=””)), sparseMatrixClass=”matrix”);* * * my CPU usage is increasing even till 100% but memory usage stays very low. File is not finally loaded. This whole operation do not return any error, warning, etc. You can wait forever (even i...