No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hey all, I'm having some issues using ArrayList. Here's the code.. [CODE] ArrayList<Double> var = new ArrayList<Double>(); var.add(15.0); var.add(0.0); [/CODE] I could just use [CODE] double[] var = {15.0 , 0.0}; [/CODE] for this.. but I'm trying to teach myself Java and need to understand the use of ArrayList. Any … |
|
Help.... I have 3 vectors I want to store in 1 array, but I can't figure out what I'm doing wrong [CODE] vector<double> range, az, el; double RAzEl[1000][3] = {}; for ( unsigned int j = range; j <= (num); j = j + ncols ) { range.push_back(row_d[j]); } for … |
|
Hey everyone, I have a Matlab code that parses data from a csv file, performs some calculations on the data, and spits it back out into a new csv file. the new csv file contains all the data from the original file, with the new calculations appended on at the … |