I am Application Support Engineer at Mathworks. My responsibility is to provide the best support for an application like Machine Learning,Control System,Robotics,Image Processing and Deep Learning.

Disclaimer: Any articles /ideas/opinions here are my own and in no way reflect that of Mathworks.

Answered

Hand gesture recognition using Deep learning

For a deep learning network every input image is considered as a matrix of numbers, So in place of an image you can also feed yo...

Hand gesture recognition using Deep learning

For a deep learning network every input image is considered as a matrix of numbers, So in place of an image you can also feed yo...

en dag ago | 0

Answered

Transformation of trained model into an equation - Classification Learner

One way is to take the equation from the documentation and replace the variable with the parameters from the trained model. You ...

Transformation of trained model into an equation - Classification Learner

One way is to take the equation from the documentation and replace the variable with the parameters from the trained model. You ...

4 dagar ago | 0

Answered

Run regressions and output the result as a report using "Report Generator"

I have written a simple code which will generate a report similar to what you expect. You can customize it based on your needs ...

Run regressions and output the result as a report using "Report Generator"

I have written a simple code which will generate a report similar to what you expect. You can customize it based on your needs ...

5 dagar ago | 0

| accepted

Answered

gpuArray Error :failed to load gpu library

Hi, The code works fine for me and I was not able to reproduce this error, Please run the below command and post the result so t...

gpuArray Error :failed to load gpu library

Hi, The code works fine for me and I was not able to reproduce this error, Please run the below command and post the result so t...

5 dagar ago | 0

| accepted

Answered

How do I insert the output of a command as formatted text in a live script.

You can use the evalc to evaluate MATLAB expression and capture results. results = evalc('magic(5)') You can also refer the ...

How do I insert the output of a command as formatted text in a live script.

You can use the evalc to evaluate MATLAB expression and capture results. results = evalc('magic(5)') You can also refer the ...

5 dagar ago | 0

Answered

Issues with Faster R-CNN regarding Input Image Size, Mini-Batch Loss (NaN value) and another error.

To change the input layer size, you can replace the layer either in MATLAB Terminal using ‘replaceLayer’ function or in Deep Net...

Issues with Faster R-CNN regarding Input Image Size, Mini-Batch Loss (NaN value) and another error.

To change the input layer size, you can replace the layer either in MATLAB Terminal using ‘replaceLayer’ function or in Deep Net...

6 dagar ago | 1

| accepted

Answered

why can imageInputLayer of 'deep network designer' app not be edited?

As of now the Mean and StandardDeviation cannot be modified directly in the Deep Network Designer. A work around for this is to ...

why can imageInputLayer of 'deep network designer' app not be edited?

As of now the Mean and StandardDeviation cannot be modified directly in the Deep Network Designer. A work around for this is to ...

6 dagar ago | 0

Answered

Measuring eccentricity or aspect ratio of elliptical objects in an image using deep learning

You can use a regression model to measure the eccentricity, where the input is an image and the regression output will be the ec...

Measuring eccentricity or aspect ratio of elliptical objects in an image using deep learning

You can use a regression model to measure the eccentricity, where the input is an image and the regression output will be the ec...

6 dagar ago | 0

Answered

Is it possible to map a block diagram transfer function system on MATLAB?

One possible way is, you can define the block diagram as an equation and then solve it with the help of symbolic math toolbox. ...

Is it possible to map a block diagram transfer function system on MATLAB?

One possible way is, you can define the block diagram as an equation and then solve it with the help of symbolic math toolbox. ...

7 dagar ago | 0

Answered

calculate orientation by accelerometer and gyroscope

By using the imufilter function the orientation can be calculated using the accelerometer and gyroscope readings. Refer the b...

calculate orientation by accelerometer and gyroscope

By using the imufilter function the orientation can be calculated using the accelerometer and gyroscope readings. Refer the b...

7 dagar ago | 0

Answered

How do I animate my Christmas Tree?

Using the below code you can create an animated gif for Christmas tree. filename = 'testAnimated.gif'; % Animated GIF file name...

How do I animate my Christmas Tree?

Using the below code you can create an animated gif for Christmas tree. filename = 'testAnimated.gif'; % Animated GIF file name...

7 dagar ago | 0

Answered

Hand gesture recognition using Deep learning

If you have a data set of numeric features, then you can train a deep learning network using a feature input layer. The below co...

Hand gesture recognition using Deep learning

If you have a data set of numeric features, then you can train a deep learning network using a feature input layer. The below co...

8 dagar ago | 1

Answered

How can I transfer the aging of a battery to a matlab model?

MATLAB and Simulink provides battery models and has examples which explains about the modelling and simulation of the degradati...

How can I transfer the aging of a battery to a matlab model?

MATLAB and Simulink provides battery models and has examples which explains about the modelling and simulation of the degradati...

ungefär 2 månader ago | 0

Answered

How to collect a new variable each time a function runs and save it into an array

This can be done by using either “Persistent” or “Global” variable. Refer the below code: function myFun(x) persistent n;...

How to collect a new variable each time a function runs and save it into an array

This can be done by using either “Persistent” or “Global” variable. Refer the below code: function myFun(x) persistent n;...

ungefär 2 månader ago | 0

| accepted

Answered

How do I calculate top5/top1 deep learning errors in MATLAB?

Top 1 Accuracy: Output from the model that is the output label with highest probability needs to be same as expected You can...

How do I calculate top5/top1 deep learning errors in MATLAB?

Top 1 Accuracy: Output from the model that is the output label with highest probability needs to be same as expected You can...

ungefär 2 månader ago | 1

Answered

How to generate GAN images with pretrained GAN network stored in a .mat file

You can load the stored network present in the .mat file to the MATLAB workspace using the “load” command and you can use it lik...

How to generate GAN images with pretrained GAN network stored in a .mat file

You can load the stored network present in the .mat file to the MATLAB workspace using the “load” command and you can use it lik...

ungefär 2 månader ago | 0

Answered

Training Neural Networks using Multi-Class output

One way to obtain multiple labels for a single sample is to branch the network and have multiple classification layers or regres...

Training Neural Networks using Multi-Class output

One way to obtain multiple labels for a single sample is to branch the network and have multiple classification layers or regres...

ungefär 2 månader ago | 0

Answered

Problems solving a trigonometric equation with 2 unknowns

Using “solve” you can solve the equations and using “simplify” command you can do algebraic simplifications of the result. You...

Problems solving a trigonometric equation with 2 unknowns

Using “solve” you can solve the equations and using “simplify” command you can do algebraic simplifications of the result. You...

ungefär 2 månader ago | 1

Answered

how to build myself scenario in the example of HighwayLaneChangeTestBench?

After designing the scenario using the driving scenario use the “Export” option and select “MATLAB Function” this will create a ...

how to build myself scenario in the example of HighwayLaneChangeTestBench?

After designing the scenario using the driving scenario use the “Export” option and select “MATLAB Function” this will create a ...

ungefär 2 månader ago | 0

Answered

How can I evaluate GAN generated images quantitatively?

Average Log Likelihood, AM Score, Geometry Score, Precision and recall, Tournament based Method are some of other quantitative m...

How can I evaluate GAN generated images quantitatively?

Average Log Likelihood, AM Score, Geometry Score, Precision and recall, Tournament based Method are some of other quantitative m...

ungefär 2 månader ago | 0

Answered

how do I calculate the transfer function and impulse response LTI system.

By applying Laplace transform you can get the transfer function. From that you can plot the impulse response. Refer the bel...

how do I calculate the transfer function and impulse response LTI system.

By applying Laplace transform you can get the transfer function. From that you can plot the impulse response. Refer the bel...

ungefär 2 månader ago | 0

Answered

Deep network designer - pretrained network

For Accuracy: accuracy = mean(YPred == YValidation) Refer the below link for more information https://www.mathworks.com/...

Deep network designer - pretrained network

For Accuracy: accuracy = mean(YPred == YValidation) Refer the below link for more information https://www.mathworks.com/...

ungefär 2 månader ago | 1

Solved

Project Euler: Problem 6, Natural numbers, squares and sums.

The sum of the squares of the first ten natural numbers is, 1^2 + 2^2 + ... + 10^2 = 385 The square of the sum of the first ...

10 månader ago

Solved

Project Euler: Problem 5, Smallest multiple

2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. What is the smalle...

10 månader ago

Answered

How can I plot the 3D figure with surface area?

“mesh”, “surf” functions can be used to generate the surface plot. To get the desired results, make sure that the x, y and z are...

How can I plot the 3D figure with surface area?

“mesh”, “surf” functions can be used to generate the surface plot. To get the desired results, make sure that the x, y and z are...

10 månader ago | 0

| accepted

Answered

Faster RCNN classifier to ONNX format

The “exportONNXNetwork(net,filename)” could be used to export the deep learning network net with weights to the ONNX format, but...

Faster RCNN classifier to ONNX format

The “exportONNXNetwork(net,filename)” could be used to export the deep learning network net with weights to the ONNX format, but...

10 månader ago | 0

| accepted

Answered

Raspberry Simulink Date reading

To communicate with Raspberry Pi from MATLAB/ Simulink you must have the MATLAB Support Package for Raspberry Pi, you can instal...

Raspberry Simulink Date reading

To communicate with Raspberry Pi from MATLAB/ Simulink you must have the MATLAB Support Package for Raspberry Pi, you can instal...

10 månader ago | 0

Solved

Project Euler: Problem 4, Palindromic numbers

A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 ...

10 månader ago

Solved

Project Euler: Problem 3, Largest prime factor

The prime factors of 13195 are 5, 7, 13 and 29. What is the largest prime factor of the number being input, input might be ui...

10 månader ago

Answered

How to calculate the numerical integration that contains singular points？

The “quadgk” function can handle singularity if the singularity is present at the boundary. In case if your singularity is not a...

How to calculate the numerical integration that contains singular points？

The “quadgk” function can handle singularity if the singularity is present at the boundary. In case if your singularity is not a...

10 månader ago | 0