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

9 months ago | 0

| accepted

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

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

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

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

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

9 months ago | 0

| accepted

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

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

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

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

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

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

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

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

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

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

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

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

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

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

11 months 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/...

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

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

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

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

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

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

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

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

1 year ago | 0

Answered

How to avoid Singularity in numirical integration

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

How to avoid Singularity in numirical integration

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

1 year ago | 0

| accepted