Community Profile

photo

Narfi

Last seen: Today 2012년부터 활동

Followers: 0   Following: 0

연락

통계

All
  • First Review
  • Knowledgeable Level 1
  • First Answer
  • Solver

배지 보기

Feeds

보기 기준

답변 있음
List of MATLAB code analyzer message IDs
The entirety of the Code Analyzer checks is now listed in the documentation: https://www.mathworks.com/help/matlab/matlab_env/in...

대략 1년 전 | 1

답변 있음
Looping through a 3D matrix
Damith, By including the indices in the variable names, you end up with a lot of places where you need to build up strings fo...

거의 10년 전 | 0

답변 있음
Freeing GPU memory associated with CUDA kernels
Jeremy, In that case, I am puzzled as to what is going on. I would recommend you contact technical support and try to give t...

대략 11년 전 | 0

답변 있음
Using a templated CUDA kernel via MATLAB
Alex, Allow me to quote from the help for parallel.gpu.CUDAKernel and try to parse it for you. If you have suggestions for h...

대략 11년 전 | 0

| 수락됨

답변 있음
Freeing GPU memory associated with CUDA kernels
Jeremy, How large is the PTX for the kernels you are loading via the CUDAKernel interface? The CUDAKernel object in MATL...

대략 11년 전 | 0

답변 있음
How to run arrayfun with a GPU?
Inside arrayfun, one can only perform computations with scalars, so vector and matrix computations are not supported. In partic...

거의 12년 전 | 2

| 수락됨

문제를 풀었습니다


Column Removal
Remove the nth column from input matrix A and return the resulting matrix in output B. So if A = [1 2 3; 4 5 6]; and ...

대략 12년 전

문제를 풀었습니다


Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...

대략 12년 전

문제를 풀었습니다


Determine if input is odd
Given the input n, return true if n is odd or false if n is even.

대략 12년 전

문제를 풀었습니다


Sort a list of complex numbers based on far they are from the origin.
Given a list of complex numbers z, return a list zSorted such that the numbers that are farthest from the origin (0+0i) appear f...

대략 12년 전

문제를 풀었습니다


Back and Forth Rows
Given a number n, create an n-by-n matrix in which the integers from 1 to n^2 wind back and forth along the rows as shown in the...

대략 12년 전

문제를 풀었습니다


Most nonzero elements in row
Given the matrix a, return the index r of the row with the most nonzero elements. Assume there will always be exactly one row th...

대략 12년 전

문제를 풀었습니다


Find the numeric mean of the prime numbers in a matrix.
There will always be at least one prime in the matrix. Example: Input in = [ 8 3 5 9 ] Output out is 4...

대략 12년 전

문제를 풀었습니다


Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...

대략 12년 전

문제를 풀었습니다


Find all elements less than 0 or greater than 10 and replace them with NaN
Given an input vector x, find all elements of x less than 0 or greater than 10 and replace them with NaN. Example: Input ...

대략 12년 전

문제를 풀었습니다


Make a checkerboard matrix
Given an integer n, make an n-by-n matrix made up of alternating ones and zeros as shown below. The a(1,1) should be 1. Example...

대략 12년 전

문제를 풀었습니다


Add two numbers
Given a and b, return the sum a+b in c.

대략 12년 전

문제를 풀었습니다


Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...

대략 12년 전