Load Data in Scilab: 4000x2 Matrix Issue

  • Thread starter Thread starter ndnkyd
  • Start date Start date
  • Tags Tags
    Data
Click For Summary
SUMMARY

The discussion centers on loading a 4000x2 matrix of coordinates into Scilab using the function loadmatfile("-ascii","filename"). Users report performance issues, specifically that Scilab hangs during the loading process. A more efficient alternative code suggested is A=read(filename,-1,3), which is intended to handle larger datasets effectively. The conversation highlights the need for optimized data loading techniques in Scilab for matrices of this size.

PREREQUISITES
  • Familiarity with Scilab programming environment
  • Understanding of matrix data structures
  • Knowledge of the loadmatfile function in Scilab
  • Experience with the read function for data input
NEXT STEPS
  • Explore Scilab's data import functions for large datasets
  • Investigate performance optimization techniques in Scilab
  • Learn about memory management in Scilab for handling large matrices
  • Research alternative data formats that may improve loading times
USEFUL FOR

Data scientists, engineers, and researchers working with large datasets in Scilab who need to optimize data loading processes.

ndnkyd
Messages
6
Reaction score
0
I am trying to load a 4000x2 matix of coordinates into Scilab using loadmatfile("-ascii","filename") and Scilab gets hung up. Not sure if it is the file size or my coding. Anyone know a code that would be more effecient to load this type of data, either 4000x2 or 4000x3?
 
Technology news on Phys.org
The code I was looking for is:

A=read(filename,-1,3)
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 7 ·
Replies
7
Views
6K
  • · Replies 5 ·
Replies
5
Views
1K