Answered

How do I run static analysis on custom classes?

Hi @Benjamin Cerjan, When you are typing in the MATLAB Editor, there are handy suggestions pop-up for objects, functions, varia...

How do I run static analysis on custom classes?

Hi @Benjamin Cerjan, When you are typing in the MATLAB Editor, there are handy suggestions pop-up for objects, functions, varia...

2 months ago | 0

Answered

MISO rate Vs. MIMO rate in Rayleigh fading

Hi @ohood, When analysing the rate differences of wireless communication systems in Rayleigh fading environments, we need to co...

MISO rate Vs. MIMO rate in Rayleigh fading

Hi @ohood, When analysing the rate differences of wireless communication systems in Rayleigh fading environments, we need to co...

2 months ago | 0

Answered

Implementing Transfer Function In Simulink.

Hi @ImNotMalek, To implement a time-varying transfer function in Simulink using signals and blocks, you can follow these steps:...

Implementing Transfer Function In Simulink.

Hi @ImNotMalek, To implement a time-varying transfer function in Simulink using signals and blocks, you can follow these steps:...

2 months ago | 0

Answered

Variable Window Not Updating Automatically when code is executed

Hi @Cody Brown The MATLAB "Variables" window updates its contents whenever a script or function has finished executing, rather ...

Variable Window Not Updating Automatically when code is executed

Hi @Cody Brown The MATLAB "Variables" window updates its contents whenever a script or function has finished executing, rather ...

2 months ago | 0

Answered

How can I use the Deep Neural Network function built by COMSOL？

Hi @hjxiang It seems like you're trying to integrate COMSOL functions into MATLAB. There have been many related discussions i...

How can I use the Deep Neural Network function built by COMSOL？

Hi @hjxiang It seems like you're trying to integrate COMSOL functions into MATLAB. There have been many related discussions i...

2 months ago | 0

Answered

how to run two scripts (one MEX function and one that calls upon a digital library) in parallel using parfor and parallel pools?

Hi @Luiz To resolve the error, I've modularized the code into two functions and converted one into a MEX function. I've also ad...

how to run two scripts (one MEX function and one that calls upon a digital library) in parallel using parfor and parallel pools?

Hi @Luiz To resolve the error, I've modularized the code into two functions and converted one into a MEX function. I've also ad...

2 months ago | 0

Answered

Code for GARCH-ARIMA

Hi Seemant, You can perform the GARCH-ARIMA modelling in MATLAB, using the Econometric Toolbox. The ‘arima’ function in MATLAB ...

Code for GARCH-ARIMA

Hi Seemant, You can perform the GARCH-ARIMA modelling in MATLAB, using the Econometric Toolbox. The ‘arima’ function in MATLAB ...

3 months ago | 0

Answered

When an agent makes more than one action sometimes these actions have opposite effects rather than coordinating effects

Hi Huixin, These kinds of challenges are common in reinforcement learning applications. You can address the issues you face wit...

When an agent makes more than one action sometimes these actions have opposite effects rather than coordinating effects

Hi Huixin, These kinds of challenges are common in reinforcement learning applications. You can address the issues you face wit...

3 months ago | 0

| accepted

Answered

ARIMA in Econometric Modeler

Hi Alex, I fit your data and got an almost similar constant estimate of around 0.15. The difference in coeffic...

ARIMA in Econometric Modeler

Hi Alex, I fit your data and got an almost similar constant estimate of around 0.15. The difference in coeffic...

3 months ago | 0

Answered

MEX function is slower than matlab script. Profiling possiblilites?

Hi Jan, You can use the Profiler with the ‘-profile’ flag to track execution time of the MATLAB function in its corresponding M...

MEX function is slower than matlab script. Profiling possiblilites?

Hi Jan, You can use the Profiler with the ‘-profile’ flag to track execution time of the MATLAB function in its corresponding M...

3 months ago | 0

Answered

Pixhawk 6c : monitor and tune error when using telemtry

Hi, This error has been extensively discussed in the community, and there have been numerous proposed workarounds. You may go ...

Pixhawk 6c : monitor and tune error when using telemtry

Hi, This error has been extensively discussed in the community, and there have been numerous proposed workarounds. You may go ...

3 months ago | 0

Answered

The problem occurred when creating an accelerated MEX file for the model 'ActiveSupport_3DFIG'.

Hi Zhurui, I was also facing a similar error message when compiling my model. After thoroughly reviewing the documentation, I ...

The problem occurred when creating an accelerated MEX file for the model 'ActiveSupport_3DFIG'.

Hi Zhurui, I was also facing a similar error message when compiling my model. After thoroughly reviewing the documentation, I ...

3 months ago | 0

Answered

Issues with Converting Binary Array to Decimal Value in MATLAB DLL for C++ Integration

Hi Alexander, MATLAB Coder App can compile any MATLAB Function code into Dynamic Library (DLL) for dynamic linking to external ...

Issues with Converting Binary Array to Decimal Value in MATLAB DLL for C++ Integration

Hi Alexander, MATLAB Coder App can compile any MATLAB Function code into Dynamic Library (DLL) for dynamic linking to external ...

3 months ago | 0

Answered

Is it possible to change some parameters during a RL training?

Hi Leonardo, Custom training loops and callbacks can adjust the parameters dynamically during the training of supervised learni...

Is it possible to change some parameters during a RL training?

Hi Leonardo, Custom training loops and callbacks can adjust the parameters dynamically during the training of supervised learni...

3 months ago | 1

| accepted

Question

Friend Function implementation in MATLAB

Typically, the private properties of a class are not accessible by any other class or function from outside. But, a friend func...

3 months ago | 2 answers | 0

Answered

The simulation time set by reinforcement learning is inconsistent with the training time

Hello Lin, The inconsistency between the simulation time set by reinforcement learning and the training time is expected due to...

The simulation time set by reinforcement learning is inconsistent with the training time

Hello Lin, The inconsistency between the simulation time set by reinforcement learning and the training time is expected due to...

4 months ago | 0

| accepted

Answered

limiting slider part motion distance of the prismatic joint in simulink

Hello Sila, The slider movement limits in a ‘prismatic joint’ can be tuned by configuring the following parameters. For the In...

limiting slider part motion distance of the prismatic joint in simulink

Hello Sila, The slider movement limits in a ‘prismatic joint’ can be tuned by configuring the following parameters. For the In...

4 months ago | 1

Answered

MILP: constraints on absolute value of difference

Hello Chiara, To efficiently solve the optimization, we can use a formulation that introduces auxiliary variables (say '') to m...

MILP: constraints on absolute value of difference

Hello Chiara, To efficiently solve the optimization, we can use a formulation that introduces auxiliary variables (say '') to m...

4 months ago | 1

Answered

Program to Change the least number of a given Matrix Elements to get a condition on the sum of the numbers from collated row digits of the Matrix

Hi Radu, Approach The intuitive solution to the problem is to get all possible matrices by changing the given matrix and sort ...

Program to Change the least number of a given Matrix Elements to get a condition on the sum of the numbers from collated row digits of the Matrix

Hi Radu, Approach The intuitive solution to the problem is to get all possible matrices by changing the given matrix and sort ...

4 months ago | 1

| accepted

Answered

I read a 3d image in matlab and converts to a matrix of size 100036*3.Now i want to find correlation coefficient of this matrix separately in x,y &z direction in matlab

Hi Reet, To efficiently compute the correlation coefficients, we will shift the data along each direction and compute the corre...

I read a 3d image in matlab and converts to a matrix of size 100036*3.Now i want to find correlation coefficient of this matrix separately in x,y &z direction in matlab

Hi Reet, To efficiently compute the correlation coefficients, we will shift the data along each direction and compute the corre...

4 months ago | 1

| accepted

Answered

I want to find and display the polynomial equation for degree 1 and 2 using Newton Forward Divided Difference but the system deos not recognize when n == 3.

Hi Azneen, The “size” function returns a tuple of number of rows and columns present in the input data-matrix. % Sample Data T...

I want to find and display the polynomial equation for degree 1 and 2 using Newton Forward Divided Difference but the system deos not recognize when n == 3.

Hi Azneen, The “size” function returns a tuple of number of rows and columns present in the input data-matrix. % Sample Data T...

4 months ago | 1

Answered

How to implement a multiple nested "nested loop" faster in MATLAB

Hi Moh, It is my understanding, that you want to optimize the iterations required to the reduce the running speed of the “Poin...

How to implement a multiple nested "nested loop" faster in MATLAB

Hi Moh, It is my understanding, that you want to optimize the iterations required to the reduce the running speed of the “Poin...

4 months ago | 1