Community Profile

photo

Sam Da


26 total contributions since 2011

Contact

Sam Da's Badges

  • Thankful Level 2

View details...

Contributions in
View by

Question


Matlab 2010 ARMA model
I have Matlab 2010 running on my work machine. I can see functions to fit AR model. (1) Is there any function or package to ...

6 years ago | 1 answer | 0

1

answer

Question


Correlation based on binary events
I have a system with 5 components. Every 10 seconds the signal travels to all of them and I know how many of them responded. I n...

6 years ago | 1 answer | 0

1

answer

Question


Extracting variables from a struct array with many empty structs
I have a giant struct array and many of which are empty. struct array with fields: f1, f2, f3. i.e. Struct Array: StAr(i,j) ...

7 years ago | 1 answer | 0

1

answer

Question


Searching and Manipulating Cell Array - Part 2
This is a new problem but the problem data is similar. I have a cell array A: [3,2] [2,4] [4,5] [2,5] [6] a...

7 years ago | 1 answer | 0

1

answer

Question


Searching and Manipulating Cell Array
I have a cell array A: [3,2] [2,4] [4,5] [2,5] [6] and cell array B: [2,3,4] [2,5] [4,5,6] In the ...

7 years ago | 1 answer | 0

1

answer

Question


Accessing values from struct array
I have a giant struct array with fields: f1, f2, f3. i.e. Struct Array: StAr(i) has StAr(i).f1, StAr(i).f2,StAr(i).f3. But I wan...

7 years ago | 2 answers | 0

2

answers

Question


Finding rows in a matrix
I have a matrix A = [1 2; 2 1; 1 2; 2 2; 1 1; 2 2] I want to count how many times the row [1 2] appears in above matri...

7 years ago | 3 answers | 0

3

answers

Question


Loss Function and FPE in ARMAX
Hi, So, what does loss function and FPE in ARMAX mean. Also, for an AR(3) model how do I get the variance of white noise? ...

8 years ago | 0 answers | 0

0

answers

Question


gmdistribution question
Is there a way I can print NlogL after each iteration instead just at the end of convergence with obj = gmdistribution.fit(X,k) ...

8 years ago | 1 answer | 0

1

answer

Answered
Tile an Image using pixels
Image Analyst about 9 hours ago The word tiling threw me - it doesn't sound like tiling like I usually hear it. So you're sayin...

8 years ago | 0

Question


Tile an Image using pixels
This is an assignment. The prof has provided us code to tile the images in Lush but since I am working in Matlab, I need to use ...

8 years ago | 2 answers | 0

2

answers

Question


Reading .mat files
Please take a look at the location: http://scgroup20.ceid.upatras.gr:8000/tmg/ Under SAMPLE OUTPUT, you can download the fol...

8 years ago | 1 answer | 0

1

answer

Question


Find in Array of Strings
how do i find the row number for 'STG' in the following array of names as: 'asf' 'poif' 'STG' 'iam' 'no'

8 years ago | 1 answer | 0

1

answer

Question


Using java.util.hashtable
This is what I have for code: sheetName='Sheet2'; [numbers, strings] = xlsread('TestSheet.xlsx', sheetName); strings(...

8 years ago | 0 answers | 0

0

answers

Answered
CSV vs MAT files
I am going to use the .mat files both in Matlab and R. R does have packages to load the .mat files. So, is .mat preferred or .cs...

8 years ago | 0

Question


CSV vs MAT files
Should I store very large amount of data as .mat files or .csv. Which is more: (1) efficient when it comes to reading the data ...

8 years ago | 4 answers | 0

4

answers

Question


Matlab Optimizer
Is there any book/site where there are examples/exercises of coplex matlab optimization problems so that I can do them myself an...

8 years ago | 1 answer | 0

1

answer

Question


Optimizer Question
This is an example of matlab optimizer: A =[-1 -2 -2; 1 2 2]; b = [0; 72]; x0 = [10; 10; 10]; [x,fval] = f...

8 years ago | 1 answer | 0

1

answer

Question


char array comparison
I have a large char array and these are dates so the array has elements as: 20070801 20070802 20070803 etc. This array s...

8 years ago | 2 answers | 0

2

answers

Question


Different kind of normalization
I have read in Matlab that normalization of a vector is u/norm(u). However, I have a matrix (N x N)where the columns are diff...

8 years ago | 2 answers | 0

2

answers

Question


Storing Large data in matlab files
I have a giant loop and each loop produces giant vectors. Instead of storing this vectors in a giant matrix I am thinking about ...

8 years ago | 2 answers | 0

2

answers

Question


Simple Matlab Random Number Generation
I have to get 5 random numbers a1, a2, a3, a4, a5 where each a1, a2, a3, a4, a5 should be between [-0.5, 0.5] and sum i.e. a1 + ...

8 years ago | 3 answers | 0

3

answers

Question


Efficient Matrix Multiplication
I have A(2000x5000). I need to perform the following: P1 = A(:,1)*A(:,1)'; for i=2:5000 P1 = P1 + AA(:,i)*...

8 years ago | 1 answer | 0

1

answer

Question


How can I read from .tar.zip without unzipping it? Part II
Okay, I will try to create the zip instead. So, my zip will contain 1.mat, 2.mat ,etc. How do I read these .mat files from the z...

8 years ago | 1 answer | 0

1

answer

Question


How can I read from .tar.zip without unzipping it?
I have about 16gb of stock data which if unzipped is more than 200gb (hd of my pc). Is there way to read the files inside this f...

8 years ago | 1 answer | 0

1

answer

Question


How do I create an array from one field of an array of structs?
I have an array of structs. Each struct has following: name (string) value (double) I want to create an array of names from na...

8 years ago | 1 answer | 0

1

answer