Community Profile

photo

David


Active since 2014

Followers: 0   Following: 0

Message

Statistics

  • Thankful Level 1

View badges

Feeds

View by

Question


How to accumulate to a vector-indexed array?
I want to vectorize something in the following form: for jk = 1:njk k = K(jk); L(k) = L(k) + R(jk); end w...

10 years ago | 1 answer | 0

1

answer

Answered
How to code a MEX file for a function with logical tests on array values
Solved my problem - used the C math library exp() and log() functions in the MEX .c file. Seemed like cheating to not call the M...

10 years ago | 0

| accepted

Question


How to code a MEX file for a function with logical tests on array values
I have the following function coded as an m-file: _________ function y = phiabs(x) % returns log((e^|x| + 1)/(e^|x| - 1...

10 years ago | 2 answers | 0

2

answers