Answered
Cannot connect Arduino MKRzero to R2018b
Hi, The hardware board "Arduino MKR Zero" is supported on releases from R2019b. Please refer this document for Arduino suppo...

2 years ago | 0

| accepted

Answered
Is there a command to generate the parameter values for all user-defined parameters in a specific block instead of a different command for each parameter?
Hi, You can try the following command to get a list of block dialog parameters. get_param('mymodel/myblock','DialogParameters'...

2 years ago | 0

Answered
Unexpected data type for Run-Time Parameter: how to solve this
Please refer this solution for a similar problem. You may need to explicitly set the data types to avoid the mismatch of datatyp...

2 years ago | 0

Answered
Error running Standalone exe with custom python function
Hi, To call python modules from MATLAB, you must have a supported version of the reference implementation (CPython) installed o...

2 years ago | 0

| accepted

Answered
MATLAB Support Package for Arduino Hardware installation error (failed to to download third party package
Hi, Please refer to this technical solution . Hope it helps!

2 years ago | 0

Answered
Is it possible to delete input/output ports in a variant subsystem?
Please refer to this solution , in order to reduce the number of input ports on the main variant subsystem block we will have to...

2 years ago | 0

Answered
Why do I receive License Manager Error -9?
Please check this answer to resolve this issue when there is a problem resolving the hostname of the license manager machine. H...

2 years ago | 0

Answered
Classifynig dicom images with deep learning for lung cancer
Hi, You could refer this to create a simple image classification network. Here, you need data to train your model first(with bo...

2 years ago | 0

Answered
How do I play avi file created in Matlab?
Refer this technical solution with a similar issue. To open an avi file programatically, use 'implay()' function. Refer this fo...

2 years ago | 0

Answered
How to add the wiring of two resistors in SIMULINK through the MATLAB code
Hi, You can perform simulink basics modelling from matlab command window. Refer this for more on Programmatic Modeling Basics. ...

2 years ago | 0

| accepted

Answered
How to do a scatter plot?
You would have to first clean the data so that there are two columns (ie a name value pair data). T = readtable('clean_data.cs...

2 years ago | 0

Answered
I'm plotting a 2d function and there is not trace button in the plot window. How do I add the trace button?
From my understanding, you would like to view the coordinate points in the graph. You could open the figure in a new window, and...

2 years ago | 0

Answered
Creating a new matrix basd on the index and value of an existing matrix
You could try the following code in matlab to get the desired result: input=[0.001 0.002 0.003 0.004; 0.005 0.006 0.007 0.008];...

2 years ago | 0

| accepted

Answered
How to get positive kla(mass transfer coefficient) by solving ODE's using ode 15s and lsqonlin function?
From my understanding, 'lsqnonlin' solves nonlinear least-squares (nonlinear data-fitting) problems. x = lsqnonlin(fun,x0) star...

2 years ago | 0

Answered
How can I use the Lasso to apply to Logistic Regression?
You can use 'lassoglm' function for lasso regularization of generalized linear models including logistic regression. Refer this...

2 years ago | 0

| accepted

Answered
solving equation returns 0x1 sym
The equation is not valid for any values of [r21 r23 r31 r32 r33]. If you change r11=1, and r13=0, you could see an output, as t...

2 years ago | 0

Answered
MATLAB compilation fails with - RPC server is unavailable
In the task manager check if: 1. Remote Procedure Call service is running 2. DCOM Server Process Launcher is running If these...

2 years ago | 0

Answered
PSO IN APP DESIGNER
Could you share the code to analyze the issue further. The issue is caused if you are accessing a variable or property which is ...

2 years ago | 0

Answered
C Caller Block Debugging
Please try this to debug on Microsoft Windows Platforms: https://www.mathworks.com/help/matlab/matlab_external/debugging-on-mi...

2 years ago | 0

Answered
Vectorize/optimize sum over permutation
I have tried a different way to approach this problem, where the complexity is reduced by performing the vectorization as shown ...

2 years ago | 1

Answered
data normalization for deep learning cnn
From my understanding, normalization would normalize all data, and hence, both large and tiny signals get normalized. The output...

2 years ago | 0

| accepted

Answered
What is the mathematical background or the algorithm behind the working of pairwise similarity model ? Are there any research papers available regarding this?
The pairwiseSimilarityModel estimates the remaining useful life (RUL) of test component by comparing it to degradation data of o...

2 years ago | 1

Answered
How can I calculate the area under each peak / display the AUC on the graph?
I have executed the code you provided, and have plotted the same, and I see there are 13 peaks. x = 0:numel(data(:,2))-1; se...

2 years ago | 0

Answered
Probit: removing groups that perfectly predict failures
From my understanding ,for the coefficient vector b, you expect the b(3)=0 as you mentioned that the second column of x (group ...

2 years ago | 0

| accepted