I am an Application Support Engineer in the EDG Group, The MathWorks.

My Area of Interest are MATLAB and Image Processing.

DISCLAIMER: Any Advice or opinions here are my own, and in no way reflect that of MathWorks.

Answered

Grab tempretures higher than 299

Hi, For going values greater than 299K you can change the text according to the range in regexp. For example if you want to co...

Grab tempretures higher than 299

Hi, For going values greater than 299K you can change the text according to the range in regexp. For example if you want to co...

2 days ago | 0

| accepted

Answered

Rotate a vector so that it coincides with a line or a axis, and find the angle required.

Hi Tingwei, I assume the vector you want to rotate has two set of coordinates i.e. start point and end point taken as (x1,y1) ...

Rotate a vector so that it coincides with a line or a axis, and find the angle required.

Hi Tingwei, I assume the vector you want to rotate has two set of coordinates i.e. start point and end point taken as (x1,y1) ...

3 days ago | 0

Answered

How to display previous or next frame in a video file in App Designer GUI?

Hi Zachary, While looking into the R2020a documentation of read I don’t see anywhere it is mentioned that this function will b...

How to display previous or next frame in a video file in App Designer GUI?

Hi Zachary, While looking into the R2020a documentation of read I don’t see anywhere it is mentioned that this function will b...

3 days ago | 0

Answered

Generating Frequency domain with FFT function of accelerometer data

Hi, In the line freX_1 = freX_2(1:N/2+1); freX_2 is built to have 200 elements but when you are calculating freX_1, the in...

Generating Frequency domain with FFT function of accelerometer data

Hi, In the line freX_1 = freX_2(1:N/2+1); freX_2 is built to have 200 elements but when you are calculating freX_1, the in...

3 days ago | 0

Answered

How to implement H infinity controller in simulink domain?

Hi, You can implement the H-infinity controller using hinfsyn. For more information you may also refer to the documentation of...

How to implement H infinity controller in simulink domain?

Hi, You can implement the H-infinity controller using hinfsyn. For more information you may also refer to the documentation of...

3 days ago | 0

Answered

Have equation, need to loop through all data and variables.

Hi, As John mentioned in the comments you can use element wise multiplication for above equation format. The data structure in...

Have equation, need to loop through all data and variables.

Hi, As John mentioned in the comments you can use element wise multiplication for above equation format. The data structure in...

4 days ago | 0

Answered

How to integrate a surf plot

Hi, From the question I think this example clearly explain the steps of doing surface integral. You need to define the ranges ...

How to integrate a surf plot

Hi, From the question I think this example clearly explain the steps of doing surface integral. You need to define the ranges ...

4 days ago | 0

Answered

Load timeseries from Python into Simulink

Hi, The timeseries by default, will create the time indexes in order of 1 seconds. You can mention the time values in a vector...

Load timeseries from Python into Simulink

Hi, The timeseries by default, will create the time indexes in order of 1 seconds. You can mention the time values in a vector...

4 days ago | 0

| accepted

Answered

Code not running and showing busy

Hi Rajdeep, From the code I see you are using first for loop inside the main for loop for updating the value of E. And the whi...

Code not running and showing busy

Hi Rajdeep, From the code I see you are using first for loop inside the main for loop for updating the value of E. And the whi...

4 days ago | 0

| accepted

Answered

Decision tree/regression tree, how does the algorithm chose a value for the root node?

Hi, In the documentation of fitctree (which is essentially a decision tree), the Node Splitting Rules are mentioned which clea...

Decision tree/regression tree, how does the algorithm chose a value for the root node?

Hi, In the documentation of fitctree (which is essentially a decision tree), the Node Splitting Rules are mentioned which clea...

4 days ago | 0

Answered

Can anyone change this script without using CV toolbox?

Hi, Instead of using insertShape you can show the current image on a figure using imshow and then can use plot to draw the lin...

Can anyone change this script without using CV toolbox?

Hi, Instead of using insertShape you can show the current image on a figure using imshow and then can use plot to draw the lin...

4 days ago | 0

| accepted

Answered

How do I determine the output size of a fullyConnectedLayer?

Hi, You can use analyzeNetwork for inspecting what is the input and output size from each layer. This can help you determine v...

How do I determine the output size of a fullyConnectedLayer?

Hi, You can use analyzeNetwork for inspecting what is the input and output size from each layer. This can help you determine v...

4 days ago | 0

Answered

Each time getting different prediction results using trainNetwork.

Hi, I assume by getting different prediction you mean the same input is giving different output when training the network seve...

Each time getting different prediction results using trainNetwork.

Hi, I assume by getting different prediction you mean the same input is giving different output when training the network seve...

4 days ago | 0

Answered

Is there a 'Pixel classification layer' equivalent for 1 dimensional vector 'Deep Network Designer'?

Hi, There is 1-D convolutional layer which you can build using the methods described here and here. This way a encoder and dec...

Is there a 'Pixel classification layer' equivalent for 1 dimensional vector 'Deep Network Designer'?

Hi, There is 1-D convolutional layer which you can build using the methods described here and here. This way a encoder and dec...

4 days ago | 0

Answered

How can I segment and extract CSF in matlab without a structural mri?

Hi, For segmentation and CSF(Cerebrospinal fluid) extraction you can follow similar answer mentioned below, these are based on...

How can I segment and extract CSF in matlab without a structural mri?

Hi, For segmentation and CSF(Cerebrospinal fluid) extraction you can follow similar answer mentioned below, these are based on...

5 days ago | 0

Answered

How are NaN Values handled by Matlab Decision Tree / Ensemble Learner

Hi, I assume you are using fitctree for working on Decision Trees. From here you may see that whenever a NaN value is encounte...

How are NaN Values handled by Matlab Decision Tree / Ensemble Learner

Hi, I assume you are using fitctree for working on Decision Trees. From here you may see that whenever a NaN value is encounte...

5 days ago | 0

Answered

Simulink onramp failed to launch

Hi, You can try opening MATLAB as an administrator to resolve this issue. As you are using a Prerelease version and if the ...

Simulink onramp failed to launch

Hi, You can try opening MATLAB as an administrator to resolve this issue. As you are using a Prerelease version and if the ...

5 days ago | 0

Answered

mvksdensity- how to choose bandwidth and bandwidth comprises of how many points?

Hi, From the documentation of mvksdensity, the Bandwidth parameter can be selected using the Silverman’s rule of thumb mention...

mvksdensity- how to choose bandwidth and bandwidth comprises of how many points?

Hi, From the documentation of mvksdensity, the Bandwidth parameter can be selected using the Silverman’s rule of thumb mention...

5 days ago | 1

Answered

Processing and Saving multiple images to the same file

Hi Elliza, From the code I see that you have used the for loop to traverse through the images. Since the first for loop is for...

Processing and Saving multiple images to the same file

Hi Elliza, From the code I see that you have used the for loop to traverse through the images. Since the first for loop is for...

5 days ago | 0

| accepted

Answered

How to correct the distorted images after getting information from camera calibrated images?

Hi Muhammad, The Single Camera Calibrator App documentation tell in detail about the step involved in calibrating an image. Yo...

How to correct the distorted images after getting information from camera calibrated images?

Hi Muhammad, The Single Camera Calibrator App documentation tell in detail about the step involved in calibrating an image. Yo...

5 days ago | 0

Answered

fit data to distribution issue

Hi, From the code and data provided on question and comment, I see that the output you are plotting is not in sorted order. So...

fit data to distribution issue

Hi, From the code and data provided on question and comment, I see that the output you are plotting is not in sorted order. So...

5 days ago | 0

Answered

polynomial order of training equation of Artificial neural network

Hi, Since it is neural network the system of equation will turn out to be linear only (if there is no nonlinearity like tanh o...

polynomial order of training equation of Artificial neural network

Hi, Since it is neural network the system of equation will turn out to be linear only (if there is no nonlinearity like tanh o...

5 days ago | 0

Solved

There are 10 types of people in the world

Those who know binary, and those who don't. The number 2015 is a palindrome in binary (11111011111 to be exact) Given a year...

10 days ago

Solved

Converting binary to decimals

Convert binary to decimals. Example: 010111 = 23. 110000 = 48.

10 days ago

Solved

Binary code (array)

Write a function which calculates the binary code of a number 'n' and gives the result as an array(vector). Example: Inpu...

10 days ago

Solved

Relative ratio of "1" in binary number

Input(n) is positive integer number Output(r) is (number of "1" in binary input) / (number of bits). Example: * n=0; r=...

10 days ago

Solved

Bit Reversal

Given an unsigned integer _x_, convert it to binary with _n_ bits, reverse the order of the bits, and convert it back to an inte...

10 days ago

Solved

Given an unsigned integer x, find the largest y by rearranging the bits in x

Given an unsigned integer x, find the largest y by rearranging the bits in x. Example: Input x = 10 Output y is 12 ...

10 days ago

Solved

Binary numbers

Given a positive, scalar integer n, create a (2^n)-by-n double-precision matrix containing the binary numbers from 0 through 2^n...

10 days ago

Solved

Find out sum and carry of Binary adder

Find out sum and carry of a binary adder if previous carry is given with two bits (x and y) for addition. Examples Previo...

10 days ago