Answered

Simulation error when using global data store and code generation

Hi Thomas, I understand that you are facing challenges when integrating a second referenced model that accesses global data sto...

Simulation error when using global data store and code generation

Hi Thomas, I understand that you are facing challenges when integrating a second referenced model that accesses global data sto...

2 months ago | 0

Answered

Suscripted Assignment in to Mxarray is not supported for code generation

Hi Joseph, I understand that you are facing an error when trying to convert MATLAB code to C/C++ using MATLAB Coder. This er...

Suscripted Assignment in to Mxarray is not supported for code generation

Hi Joseph, I understand that you are facing an error when trying to convert MATLAB code to C/C++ using MATLAB Coder. This er...

2 months ago | 0

| accepted

Answered

in System identification, if input is PWM signal....

Hi Minjae, To know about how to use PWM signal as an input in the System Identification Toolbox you may follow these steps: ...

in System identification, if input is PWM signal....

Hi Minjae, To know about how to use PWM signal as an input in the System Identification Toolbox you may follow these steps: ...

2 months ago | 0

Answered

How to convert the input bump's height to force exerted by that bump?

Hi Faheem, To accurately simulate the effect of a road bump on your mass-damper system you can follow these steps: Modelling...

How to convert the input bump's height to force exerted by that bump?

Hi Faheem, To accurately simulate the effect of a road bump on your mass-damper system you can follow these steps: Modelling...

2 months ago | 0

Answered

How to filter out noisy data on QRS complex dataset with a program?

Hi Eugene, To develop a program that filters out noisy QRS complex data and creates visualizations, consider the following ste...

How to filter out noisy data on QRS complex dataset with a program?

Hi Eugene, To develop a program that filters out noisy QRS complex data and creates visualizations, consider the following ste...

2 months ago | 0

Answered

How to change an offline parameter estimation to online task ?

Hi Yasser, As you want to use a recursive algorithm to continuously estimate and update the parameters in real-time, you can f...

How to change an offline parameter estimation to online task ?

Hi Yasser, As you want to use a recursive algorithm to continuously estimate and update the parameters in real-time, you can f...

2 months ago | 0

Answered

Does the NR HDL Downlink Receiver work on real raw data?

Hi Marvell, I understand that you are encountering a challenges with your 5G Downlink Receiver code, when transitioning from ...

Does the NR HDL Downlink Receiver work on real raw data?

Hi Marvell, I understand that you are encountering a challenges with your 5G Downlink Receiver code, when transitioning from ...

2 months ago | 0

Answered

Generate host interface script and Generate Simulink software interface model unable to select.

Hi Gaurav, In addition to the steps mentioned by Pratyush, you can also try the following: Make sure to Set the path to Xilin...

Generate host interface script and Generate Simulink software interface model unable to select.

Hi Gaurav, In addition to the steps mentioned by Pratyush, you can also try the following: Make sure to Set the path to Xilin...

2 months ago | 0

Answered

Seeking help on real time signal monitoring using XCP on Ethernet (TCP/IP and UDP/IP) and C2000 (F28388) Microncontroller

Hi Ismail, I understand that you need to monitor several low-frequency signals in real-time, specifically the 3-phase grid vol...

Seeking help on real time signal monitoring using XCP on Ethernet (TCP/IP and UDP/IP) and C2000 (F28388) Microncontroller

Hi Ismail, I understand that you need to monitor several low-frequency signals in real-time, specifically the 3-phase grid vol...

2 months ago | 1

Answered

Is it possible to export measurement reading of Signal Statistics in Simulink Scope block to workspace? If it is possible, then how?

Hi Syafiq, I understand that you want to export ‘RMS’ value of signal. One of the approaches is using a “MATLAB Function” bloc...

Is it possible to export measurement reading of Signal Statistics in Simulink Scope block to workspace? If it is possible, then how?

Hi Syafiq, I understand that you want to export ‘RMS’ value of signal. One of the approaches is using a “MATLAB Function” bloc...

3 months ago | 0

Answered

How to access state-space matrices of a power-system simlink model?

Hi Adhithya, I understand that you are required to extract the state-space matrices (A, B, C, D) that describe the internal dy...

How to access state-space matrices of a power-system simlink model?

Hi Adhithya, I understand that you are required to extract the state-space matrices (A, B, C, D) that describe the internal dy...

3 months ago | 0

Answered

Call to inv() function seems to have (undesired) impact on Thread pool or maxNumCompThreads()

Hi Jan, I understand that you are encountering unexpected CPU utilization behaviour when using thread-based parallel pools ...

Call to inv() function seems to have (undesired) impact on Thread pool or maxNumCompThreads()

Hi Jan, I understand that you are encountering unexpected CPU utilization behaviour when using thread-based parallel pools ...

3 months ago | 0

Answered

THD analysis of mathematical simulink model

Hi Pritham, I understand that you need to perform the THD analysis in simunlink. The ‘powergui’ block can calculate the Tot...

THD analysis of mathematical simulink model

Hi Pritham, I understand that you need to perform the THD analysis in simunlink. The ‘powergui’ block can calculate the Tot...

3 months ago | 0

Answered

Matlab fitnet function ignores some input variables that contain NaN values

Hi Jorge, I understand that you are experiencing an issue in training the model due to NaN values. Following steps helps in ad...

Matlab fitnet function ignores some input variables that contain NaN values

Hi Jorge, I understand that you are experiencing an issue in training the model due to NaN values. Following steps helps in ad...

4 months ago | 0

Answered

delay Output parameter in Simulink - equivalent to function dde23

Hi David, I understand that you are having issues in replicating the delay behaviour observed in continuous-time models within ...

delay Output parameter in Simulink - equivalent to function dde23

Hi David, I understand that you are having issues in replicating the delay behaviour observed in continuous-time models within ...

4 months ago | 0

Answered

Portfolio optimization -- estimateCustomObjectivePortfolio equivalent in R2021b?

Hi Jeremy, I understand that you need to perform portfolio optimization without using "estimateCustomObjectivePortfolio" funct...

Portfolio optimization -- estimateCustomObjectivePortfolio equivalent in R2021b?

Hi Jeremy, I understand that you need to perform portfolio optimization without using "estimateCustomObjectivePortfolio" funct...

5 months ago | 0

| accepted

Answered

Update the Kalman Filter in Simulink model

Hi Pham, I understand that you need to update the filter states based on feedback received during simulation. To integrate and...

Update the Kalman Filter in Simulink model

Hi Pham, I understand that you need to update the filter states based on feedback received during simulation. To integrate and...

5 months ago | 0

Answered

How can I deal with the content of a generalized matrix?

Hi Mario, I understand that you are facing an issue in handling complex numbers to separate the real and imaginary parts withi...

How can I deal with the content of a generalized matrix?

Hi Mario, I understand that you are facing an issue in handling complex numbers to separate the real and imaginary parts withi...

5 months ago | 0

Answered

Using a newer version of plot (ezplot to fimplicit or fplot)

Hi Joe, I understand the issues you have mentioned, and they can be addressed using “fimplicit” function for plotting the circ...

Using a newer version of plot (ezplot to fimplicit or fplot)

Hi Joe, I understand the issues you have mentioned, and they can be addressed using “fimplicit” function for plotting the circ...

5 months ago | 0

| accepted

Answered

Bode Plot and resonant peaks

I understand that you are trying to get bode plot with the given data. You may follow these suggestions: There is a zero at s=...

Bode Plot and resonant peaks

I understand that you are trying to get bode plot with the given data. You may follow these suggestions: There is a zero at s=...

5 months ago | 0

Answered

Error: Conversion to logical from sym is not possible

Hi Delia, I understand that you are getting an error since symbolic variable is compared to a numeric value. To resolve this is...

Error: Conversion to logical from sym is not possible

Hi Delia, I understand that you are getting an error since symbolic variable is compared to a numeric value. To resolve this is...

5 months ago | 0

Answered

Power Spectral Density of a bipolar digital signal

Hi Vlad, I understand you need to plot power spectral density. You may use `pwelch` function that calculates the power spectra...

Power Spectral Density of a bipolar digital signal

Hi Vlad, I understand you need to plot power spectral density. You may use `pwelch` function that calculates the power spectra...

5 months ago | 0

Answered

calculate the phase difference error between two waves from the Interferometer which has a 90 degrees phase difference

Hi Sonal, I understand that you are required to estimate the phase shift error ‘ps’ between two waves generated from the output...

calculate the phase difference error between two waves from the Interferometer which has a 90 degrees phase difference

Hi Sonal, I understand that you are required to estimate the phase shift error ‘ps’ between two waves generated from the output...

5 months ago | 0

Answered

How to coordinate the power resources based on the cheapest cost using optimization based problem in matlab.

Hi Hossam, I understand that you are required to generate power based on the cost of different sources available. The below st...

How to coordinate the power resources based on the cheapest cost using optimization based problem in matlab.

Hi Hossam, I understand that you are required to generate power based on the cost of different sources available. The below st...

5 months ago | 0

Answered

Question about reformulating a difference equation as a matrix equation

Hi William, I understand that you are asking about the reformulation of difference equation into a matrix equation. Here I a...

Question about reformulating a difference equation as a matrix equation

Hi William, I understand that you are asking about the reformulation of difference equation into a matrix equation. Here I a...

5 months ago | 0

Answered

How to measure impedance in low voltage circuits

Hi Andraz, The similar query has been answered in the attached link which explains the process of linearization workflow in det...

How to measure impedance in low voltage circuits

Hi Andraz, The similar query has been answered in the attached link which explains the process of linearization workflow in det...

6 months ago | 0

Answered

Exponential failed Graph of SIR Model

Hi Jose, I understand that your goal is to produce a graph showing a descending exponential trend of susceptible individuals,...

Exponential failed Graph of SIR Model

Hi Jose, I understand that your goal is to produce a graph showing a descending exponential trend of susceptible individuals,...

6 months ago | 0

Answered

Working with time-series data in a Matlab Function in Simulink

Hi Luigi, I understand that you are facing issue in handling timeseries data and performing required tasks on that data. You...

Working with time-series data in a Matlab Function in Simulink

Hi Luigi, I understand that you are facing issue in handling timeseries data and performing required tasks on that data. You...

6 months ago | 0

Answered

3 phase power source change the W variable

Hi Yusuf, From the code you have provided it appears that the parameter ‘Pref’ is set to a string ‘W’ instead of setting it wi...

3 phase power source change the W variable

Hi Yusuf, From the code you have provided it appears that the parameter ‘Pref’ is set to a string ‘W’ instead of setting it wi...

6 months ago | 0

Answered

fitting a function of three output

Hi Nadav, I understand you are trying to get optimized values of (N) which are used to compute vector (E) that should match wi...

fitting a function of three output

Hi Nadav, I understand you are trying to get optimized values of (N) which are used to compute vector (E) that should match wi...

6 months ago | 0