Community Profile

photo

dan berkowitz


University of Illinois at Chicago

2012년부터 활동

Followers: 0   Following: 0

연락

통계

  • First Review
  • Thankful Level 3

배지 보기

Feeds

보기 기준

질문


Indexing (extracting value from rows)
Hi, I have a 5 x 5 array, A, and a 5 x 1 array, B = [2 3 1 4 3]'. How can I extract the element from each row of A as they oc...

거의 5년 전 | 답변 수: 1 | 0

1

답변

질문


Replace non-zero elements in array with output of a calculation on them
Hi, I have an array, A = [2 3 0 7 0 0 9]. How can I replace the non-zero elements of A with thier original value minus one? ...

대략 5년 전 | 답변 수: 1 | 0

1

답변

질문


Count number of times value occurs
Hi, I have an array a = [ 1 2 3 2 2 3 1], and another array, b = [1:5]. How can I create an array c, that counts the numbe...

5년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Number of times two numbers appear together
Hi, I have an array A = [1 3 2 4 3 4 3 2 1 1 3 2 4 3 3 2]. How can I count the number of time the number 2 occurs after 1...

5년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Creating index from datetime vector days
Hi, I have a 100x1 datetime vector. I have extracted the values of the day using the ymd function: [~,~,d] = ymd(input). H...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Length of runs of same number in an array
Hi, I have a 10x1 vector, a = [-1 -1 0 0 0 -1 1 -1 1 1]. How can I find the number of times a number occurs continuously (...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Counting days by month
hi, i have a 100x11 char array with dates (e.g. '03-Jan-2006'). how can i create an array with the number of days in each uni...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Repeat row of a matrix
Hi, I have a 3x1 array, a = [1 2 3]', and B, a 3x2 matrix. How can I create C, a 6x2 matrix, whose first row is the same a...

6년 초과 전 | 답변 수: 1 | 0

1

답변

질문


Deleting Nonzero elements in each row
Hi, I have a 5 x 5 matrix with the 2 zeros in each row. How can I delete the nonzero elements from each row? Any help woul...

6년 초과 전 | 답변 수: 2 | 0

2

답변

질문


Sort & Index matrix for highest values in row
Hi, I have a 5 x 5 matrix, A. How can I create a matrix that has 1's for the largest two values in each row, and all remain...

6년 초과 전 | 답변 수: 3 | 0

3

답변

질문


Using Reuters datafeeds on 64-bit Linux
Hi, I wanted to see if the Reuters functions in the Datafeed toolbox are functional in 64-bit Linux now. Am I correct in a...

대략 7년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Matlab Coder entering varying size input
thank you. appreciate your help! db

대략 12년 전 | 0

질문


Matlab Coder entering varying size input
hi, i'm using Matlab Coder to create a static c library. i have a function, L1 which has one input. (output = L1(input)) L1 i...

대략 12년 전 | 답변 수: 2 | 0

2

답변

질문


Cannot locate GCC/G++ compiler (Ubuntu)
hi, i have Matlab R2011b on Ubuntu 10.04. I am trying to use the Matlab Compiler. While I do have gcc/g++ 4.3 installed, it do...

대략 12년 전 | 답변 수: 0 | 0

0

답변

답변 있음
Convert Matlab function to C/C++
will this work if i only want to convert a built in function? thanks, db

대략 12년 전 | 0

질문


Convert Matlab function to C/C++
Hi, How can I use Matlab Coder to convert an in built Matlab function to a C/C++ file? Any help would be appreciated! D...

대략 12년 전 | 답변 수: 2 | 0

2

답변