Community Profile

photo

JAI PRAKASH


46 2018 이후 총 참여 횟수

JAI PRAKASH's 배지

  • First Review
  • Thankful Level 3
  • First Answer
  • Revival Level 1

세부 정보 보기...

참여 게시물
보기 기준

질문


How OpenCV interface can be used with simulink?
I am comfortable to use OpenCV interface with Matlab. But don't know how to use it with Simulink. (For further building). An...

8달 전 | 답변 수: 1 | 0

1

답변

질문


What are compile-time constant?
Hi I want to generate a MEX file for following function function RGB = test(I) RGB = insertShape(I,'circle',[150 280 35],'Line...

9달 전 | 답변 수: 1 | 0

1

답변

질문


Resizing pixels with independent scaling factor?
How can be pixels resized with independent scaling factor? Keeping size of final image same as initial image. e.g. + = ...

9달 전 | 답변 수: 1 | 0

1

답변

질문


How to generate mex for openCV's 'imdecode' for CPU and GPU?
I want to generate mex funtion for 'imdecode'. First for CPU and then for GPU(GPU, if possible). I have already downloaded '...

10달 전 | 답변 수: 2 | 0

2

답변

질문


How to decompress a Jpeg compressed data?
Hi I have JPEG compressed data, as shown in below figure. How original image can be recovered, if Height & Width of original...

12달 전 | 답변 수: 1 | 0

1

답변

질문


After uninstalling CUDA toolkit still MATLAB responds for gpuDevice() !!
Hi Accidently I installed CUDA 10 in ubuntu 16.04. Later on I came to know that matlab supports CUDA 9.1. So i unistalled CUD...

12달 전 | 답변 수: 1 | 0

1

답변

답변 있음
How to find subscripts of each element inside many rectangular regions of a matrix?
This is 10x times than arrayfun, still i think can be optimsed. Because no pre-allocation in below code and many other potentia...

12달 전 | 0

질문


How to find subscripts of each element inside many rectangular regions of a matrix?
rowStart = [2; 4; 7]; % a column, may be of more than thousand element rowEnd = [3; 4; 9]; % a column, ...

12달 전 | 답변 수: 1 | 0

1

답변

질문


How to pre-allocate for unknown size vector?
vector = []; for i = 1:1000000 r = randi([1 4],1,1); % a random integer generator between 1 and 4 vector = [vector 1:...

12달 전 | 답변 수: 2 | 0

2

답변

질문


How to find indices of a rectangular region inside big matrix? | Efficiently
How can indices of elements belong to a rectangular region can be found? A = [4 4 4 4 4 4 4 4 ...

12달 전 | 답변 수: 3 | 0

3

답변

질문


How to measure parfeval() execution time?
Is there any way to find how much time parfeval() to complete its execution?

12달 전 | 답변 수: 1 | 0

1

답변

질문


How to run an independent callback function in parallel?
Hi rosinit obj = StoredData; image_sub = rossubscriber('/rgb/image_rect_color/compressed',{@callbackFn3a, obj}); % Indepe...

12달 전 | 답변 수: 0 | 0

0

답변

질문


sort() is not working as mentioned in its doc !!!!!
Hi I want to use 'gpucoder.sort' feature newly included in 2018b. But I am getting below error: I have GPU Coder, C/C++ comp...

약 1년 전 | 답변 수: 0 | 0

0

답변

질문


Parallelization: Same operation for each layer of RGB image !!
How to improve the way 'zoomIm' is used? [H, W, ~] = size(im); zoomIm = zeros([H W 3], 'uint8'); parfor j=1:3 ...

약 1년 전 | 답변 수: 0 | 1

0

답변

답변 있음
How to publish image to ROS in Simulink
If your matlab image is 'RGB' matrix, you can use following matlab function block + Bus assignment block as shown in figure. ...

약 1년 전 | 0

질문


How can already used elements be eliminated one by one in 2D matrix while moving upwards? | Efficienlty
Input input = [1 2 0; 2 3 4; 4 5 6]; Output Output= [1 0 0; 2 3 0; ...

약 1년 전 | 답변 수: 2 | 0

2

답변

답변 있음
Matlab coder error : This expression has size [:? x 1] ?
I just change Line 12 with zoom = zoom(zoom>0 & zoom<=6); zoomMax = length(zoom); And matlab coder shows no error,...

약 1년 전 | 0

질문


Matlab coder error : This expression has size [:? x 1] ?
Hi While using matlab coder codegen. I am getting following error. <</matlabcentral/answers/uploaded_files/138494/Capture.J...

약 1년 전 | 답변 수: 2 | 0

2

답변

질문


How to get timer's UserData?
I am fetching timer's UserData with the below command data = get(timer1, 'UserData'); Problem is, it gives whole userdat...

약 1년 전 | 답변 수: 2 | 0

2

답변

질문


How to use 'Timer' function to send ROS messages?
fps=50; How can send ROS messages through a publisher continuously.

약 1년 전 | 답변 수: 1 | 0

1

답변

질문


Why the same function is taking more time after MEX creation?
I want to create mex of 'sort()' funtion. So I build below function function idx = sort2(h) % h is 600x1280 'single' el...

약 1년 전 | 답변 수: 1 | 0

1

답변

질문


How can MATLAB's buit-in function give output as class single intead of double?
All matlab function gives output as class double. e.g. [I,J] = ind2sub([H W],idx); it is clear that I & J will be int...

약 1년 전 | 답변 수: 1 | 0

1

답변

질문


Why using .mex created by MATLAB Coder and GPU Coder doesn't give exactly same results?
Hi I created an image processing function and transformed it into .mex to speed-up my process. As I have an Nvidia GPU cuda ...

약 1년 전 | 답변 수: 0 | 0

0

답변

질문


How to merge a cell 2x60 into 1x60?
<</matlabcentral/answers/uploaded_files/128487/Untitled.png>>

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


How to continuosly show processed images as they are getting processed? (efficiently)
I am working on Live image processing. And want to show processed image as fast as I can. finalImage = imshow(im); for i=...

1년 이상 전 | 답변 수: 0 | 0

0

답변

질문


How can an RGB cell is filled in a particular region of an big image? (efficiently)
Sorry I asked this question <https://in.mathworks.com/matlabcentral/answers/413339-how-to-put-a-3d-element-in-every-place-of-a-3...

1년 이상 전 | 답변 수: 0 | 0

0

답변

질문


How can I get subscript instead in indices from sort() ??
How can I get subscript instead in indices from sort(mat(:)); Script: %% Creation of 'mat' mat = magic(100); fo...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


How can I find indices of each unique elements in a matrix, in one shot. (efficiently)??
How can I find indices of each unique elements in a matrix, in one shot. (efficiently)? For explaining i made this simple scr...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


How to put a 3D element in every place of a 3D matrix?
How can I perform this? im1(1:10, 1:10, :) = im2(1, 1, :); RHS is a 3D element, basically RGB. It can be done by: ...

1년 이상 전 | 답변 수: 1 | 0

1

답변

질문


Which options to tick & un-tick during MEX generations for faster execution during run?
<</matlabcentral/answers/uploaded_files/125170/Untitled.png>>

1년 이상 전 | 답변 수: 1 | 0

1

답변

Load more