# JAI PRAKASH

**Statistics**

RANK**7.260**

of 273.366

REPUTATION**5**

CONTRIBUTIONS

**45** Questions

**5** Answers

ANSWER ACCEPTANCE **
51.11%
**

VOTES RECEIVED**4**

RANK

of 18.456

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 122.792

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Question

Vehicle turning with zero steer in Vehicle dynamics blockset. Why?

Hello, I feel vehicle is cornering even at zero steer. For reference, I am using 'Increasing Steering Reference Application'....

10 maanden ago | 0 answers | 0

### 0

answersQuestion

How to deploy simulink ROS node which has Acados S function?

I use Generate a Standalone ROS Node from Simulink to deploy a ROS node on Nvidia Jetson Xavier. How to deploy the same node wh...

ongeveer een jaar ago | 0 answers | 0

### 0

answersSimulink - How to store a scalar in a queue with simulation time?

Here I attach the solution, which my collegue found.

bijna 2 jaar ago | 0

Question

Simulink - How to store a scalar in a queue with simulation time?

I am trying to make a FIFO queue with time-stamps (simulation time). Queue would have a max length. I tried 'to workspace'...

bijna 2 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

bijna 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

bijna 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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. + = ...

bijna 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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 '...

ongeveer 4 jaar ago | 2 answers | 0

### 2

answersQuestion

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...

ongeveer 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

ongeveer 4 jaar ago | 1 answer | 0

### 1

answerHow 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...

ongeveer 4 jaar ago | 0

Question

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, ...

ongeveer 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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:...

ongeveer 4 jaar ago | 3 answers | 1

### 3

answersQuestion

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 ...

ongeveer 4 jaar ago | 3 answers | 0

### 3

answersQuestion

How to measure parfeval() execution time?

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

ongeveer 4 jaar ago | 1 answer | 0

### 1

answerQuestion

How to run an independent callback function in parallel?

Hi rosinit obj = StoredData; image_sub = rossubscriber('/rgb/image_rect_color/compressed',{@callbackFn3a, obj}); % Indepe...

ongeveer 4 jaar ago | 0 answers | 0

### 0

answersQuestion

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...

ongeveer 4 jaar ago | 0 answers | 0

### 0

answersQuestion

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 ...

ongeveer 4 jaar ago | 0 answers | 1

### 0

answersHow 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. ...

meer dan 4 jaar ago | 1

Question

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; ...

meer dan 4 jaar ago | 2 answers | 0

### 2

answersMatlab 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,...

meer dan 4 jaar ago | 0

Question

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...

meer dan 4 jaar ago | 2 answers | 0

### 2

answersQuestion

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...

meer dan 4 jaar ago | 2 answers | 0

### 2

answersQuestion

How to use 'Timer' function to send ROS messages?

fps=50; How can send ROS messages through a publisher continuously.

meer dan 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

meer dan 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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...

meer dan 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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 ...

meer dan 4 jaar ago | 0 answers | 0

### 0

answersQuestion

How to merge a cell 2x60 into 1x60?

<</matlabcentral/answers/uploaded_files/128487/Untitled.png>>

meer dan 4 jaar ago | 1 answer | 0

### 1

answerQuestion

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=...

meer dan 4 jaar ago | 0 answers | 0

### 0

answersQuestion

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...

meer dan 4 jaar ago | 0 answers | 0