Community Profile

photo

srinadh


Active since 2011

Statistics

  • First Review
  • Thankful Level 1

View badges

Content Feed

View by

Question


Error in using mldivide in mex
I am trying to use mldivide inside mex. The below code is simply trying to solve Ax=b, for r=5, where A is 5*5 Identity and b=0:...

9 years ago | 1 answer | 0

1

answer

Question


I get this error "lcc preprocessor error: IRLS.c:16 Macro redefinition of NULL" when I try to compile a C code for matlabusage using mex command
I get the error "lcc preprocessor error: IRLS.c:16 Macro redefinition of NULL" when i run "mex file.c" in matlab. The code fi...

10 years ago | 1 answer | 0

1

answer

Question


vectorizing my code
can anyone give an idea on how to vectorize my code. for loop=1:1:10 %X=1*loop*ones(n,4); %Y=1...

13 years ago | 2 answers | 0

2

answers

Question


Fminsearch for matrices
Hi, how can i use fminsearch function for more than one dimension. I am trying to do some thing like f=@(X)min(A-B*X), where ...

13 years ago | 1 answer | 0

1

answer

Question


Running same code in multiple instances of matlab
Hi, I ran a same code in two different instances of matlab(both running at same time). Both the codes gave same result(e.g th...

13 years ago | 1 answer | 0

1

answer