photo

Petter Stefansson


NMBU

2016년부터 활동

Followers: 0   Following: 0

메시지

통계학

  • Knowledgeable Level 1
  • First Answer
  • Thankful Level 3

배지 보기

Feeds

보기 기준

답변 있음
How to show r square correlation and RMSE on a scatterplot
Given your x and y vectors, perhaps this is what you are looking for? plot(x, y, '*','displayname','Scatterplot') title('scatt...

거의 5년 전 | 4

| 수락됨

질문


Matlab gets basic arithmetic completely wrong!
I just had a Matlab experience that made me question everything. I have two vectors: |v1| and |v2|. Both are of length 10 0...

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

1

답변

답변 있음
mexcuda not finding CUDA 9.0 even when I specify it via setenv('MW_NVCC_PATH',...)
I managed to solve the problem myself by editing the ‘nvcc_msvcpp2015.xml’ file and simply commenting out the line: <cmdRet...

대략 6년 전 | 0

| 수락됨

질문


mexcuda not finding CUDA 9.0 even when I specify it via setenv('MW_NVCC_PATH',...)
When I try to use mexcuda I get the error: Warning: Version 9.0 of the CUDA toolkit could not be found. If installed, set M...

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

2

답변

질문


Text/strings not working in Matlab 2018a
I recently upgraded to Matlab 9.4.0.813654 (R2018a) from R2017a (where everything was working fine), and now whenever I plot thi...

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

1

답변

질문


Unable to compile cuda code containing dynamic parallelism: Error: “ptxas fatal : Unresolved extern function 'cublasCreate_v2'”
I’m trying to create a simple mex function that calls cublas functions such as cublasDgemm from inside a kernel so I can utilize...

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

2

답변

질문


MEX function with CUDA code works once. Then I need to restart Matlab or recompile it!?
I’ve written a |MEX| file that uses the |CUDA| solver, specifically the |cusolverDnDgesvd| function, to compute the equivalent o...

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

2

답변

질문


Duplicating an mxArray without first storing it as a plhs?
I’m writing a MEX file in C where I need to duplicate an |mxArray| in the code. What I’m currently doing is this: plhs[0] =...

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

1

답변

질문


Compiling CUDA files with mexcuda - why wont Matlab accept my compiler?!
Im trying to compile CUDA files into mex. Matlab ships with an example CUDA file located in |matlabfolder\toolbox\distcomp\g...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


Indexing a matrix with another matrix?
Hi. I have a |10000x4| matrix, |Idx|, where each row contains 4 indices to a logical matrix, |A|. I would like to set all ind...

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

1

답변

질문


Multiply slices of a 4D array with vectors without nested loops? Is there a function comparable to pagefun for the CPU?
I want to multiply each 2D matrix slice of a 4D matrix, |X|, with a number of vectors, stored in Beta. If I was doing it on the ...

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

1

답변

질문


How do I estimate the memory usage of a calculation on the GPU?
Hi. I have a parallel calculation that I’m doing on the GPU to speed up things compared to doing it on the CPU. However, the...

거의 8년 전 | 답변 수: 1 | 1

1

답변

질문


Can I convert long binary strings into unique serial numbers of much shorter length?
I’m generating a very large number of long binary strings, for example: S1 = [0 0 1 1 0 0 0 0 0 0 1 0 1 1 0 0 0 …] S2 = ...

거의 8년 전 | 답변 수: 2 | 0

2

답변

질문


How do I use the recursive dir function in release 2016b?
I’ve installed the pre-release version of matlab 2016b and one of the new features listed in the release notes is that the |dir|...

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

0

답변

질문


Getting the regression coefficients for a lower number of Partial Least Squares components than specified by plsregress(X,Y,ncomp) without redoing the whole regression model?
When performing a regression with the |plsregress| command in matlab, you specify the number of components when you fit the mode...

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

0

답변

질문


How do I sequentially partition the folds in cross validation?
I’m working on a partial least squares regression problem where I want to set up cross validation with a |cvpartition| object. H...

8년 초과 전 | 답변 수: 1 | 1

1

답변

질문


Advice on vertical edge detection on grayscale image with very weak contrast
I’ve taken a large quantity of X-ray images of wooden samples and in order perform the analysis I’m trying to do I need to extra...

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

1

답변

답변 있음
Bug in Matlab/statistics toolbox or is there a typo in the plsregress example? (or something wrong with my Matlab installation?)
If others are running into the same problem, it seems to be solved by updating to matlab 2016a!

8년 초과 전 | 0

| 수락됨

질문


Bug in Matlab/statistics toolbox or is there a typo in the plsregress example? (or something wrong with my Matlab installation?)
I’m having problems with getting the partial least squares regression to work properly and I suspect that there either is someth...

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

1

답변