Community Profile

photo

Mohammad amiri


Active since 2013

Followers: 0   Following: 0

Message

Statistics

  • First Review
  • First Answer

View badges

Feeds

View by

Question


problem in allocate and deallocating of memory in mexfunctio
I wrote very simple program in mex but have memory error. #include "mex.h" void mexFunction(int nlhs,mxArray *plh...

9 years ago | 1 answer | 0

1

answer

Question


mexfunction out of memory
I wrote this code in mexfunction but get the error in compilation. #include "mex.h" #include "math.h" #define source(...

9 years ago | 2 answers | 0

2

answers

Answered
find function
for 2D matrix you can write: a=rand(10,10); [r,c]=find (a>0.5); return the row and column of matrix witch is greater than 0.5...

10 years ago | 0