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

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

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

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

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

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

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

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

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

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!

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

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

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

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

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

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

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

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

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

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

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

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

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

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

12 months 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];...

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

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

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

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

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

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

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

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

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

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

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

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

C Caller Block Debugging

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

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

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

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

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

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

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

1 year ago | 1

Solved

Calculate BMI

Given a matrix |hw| (height and weight) with two columns, calculate BMI using these formulas: * 1 kilogram = 2.2 pounds * 1 ...

1 year ago

Solved

Plot Damped Sinusoid

Given two vectors |t| and |y|, make a plot containing a blue ( |b| ) dashed ( |--| ) line of |y| versus |t|. Mark the minimum...

1 year ago

Solved

Calculate a Damped Sinusoid

The equation of a damped sinusoid can be written as |y = A.ⅇ^(-λt)*cos(2πft)| where |A|, |λ|, and |f| ...

1 year ago

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

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

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

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

1 year ago | 0

| accepted

Solved

Solve a System of Linear Equations

*Example*: If a system of linear equations in _x₁_ and _x₂_ is: 2 _x₁_ + _x₂_ = 2 _x₁...

1 year ago

Solved

Verify Law of Large Numbers

If a large number of fair N-sided dice are rolled, the average of the simulated rolls is likely to be close to the mean of 1,2,....

1 year ago

Solved

Find the Oldest Person in a Room

Given two input vectors: * |name| - user last names * |age| - corresponding age of the person Return the name of the ol...

1 year ago