Feeds
提问
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...
12 years 前 | 1 个回答 | 0
1
个回答已回答
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...
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...
12 years 前 | 0
| 已接受
提问
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...
12 years 前 | 2 个回答 | 0
