Answered
State Flow C Action Language Bitwise Operators
Hi Tyler, The incorrect results in 32 bit are obtained due to saturation on integer overflow. Upon executing the model, you sho...

7 maanden ago | 2

| accepted

Answered
how to resolve that error?
Hello, The error that you are encountering is due to the unresolved symbols in the Stateflow chart of the model. To resolve th...

7 maanden ago | 0

Answered
How to use Unicode numeric values in regexprep?
Hi Vlad, '\x{C4}' represents the Unicode character Ä (Latin Capital Letter A with Diaeresis) in hexadecimal notation. If you w...

8 maanden ago | 0

| accepted

Answered
How to get x value for a given y value in a interp1 figure?
Hi Wuwei, You can use the "interp1" function to find the values from the interpolation. Given below is an example: x_ref = [-...

8 maanden ago | 0

Answered
Why is the rotor angle and speed multiplied by a gain of 4 in PMSM control?
Hi, If you observe closely, the rotor speed was "wm" and after multiplication by 4, the speed is labelled as "we". Refer the fi...

8 maanden ago | 2

| accepted

Answered
How to write text line to line ?
Hi Arif, Instead of using "spacing", you should use the "newline" character ('\n'). Once you use this, your data will be arrang...

8 maanden ago | 0

| accepted

Answered
why iam getting negative settling time for load frequency of two area system by using pid controller
Hi Deekshith! Based on the output response graph you've shared, it appears that the waveforms exhibit a positive settling time....

8 maanden ago | 0

Answered
DIY 3D Scanner with Mtalab data convert
Hi Simon, As I can understand, you want to create a closed body from your 3D scan data that includes a bottom and a lid, and is...

9 maanden ago | 0

Answered
Specify normal component of electric field in EM PDE model
Hi Shlok, From your description, it seems you are trying to apply a Neumann boundary condition to specify that the normal compo...

9 maanden ago | 0

Answered
Error using simulink solvers
Hi Eduardo, The assumption that the error only occurs when the duty cycle is small is not correct. The error persistes even whe...

9 maanden ago | 0

Answered
how to store the output of look up table in a variable and use that variable in same simulation
Hi Kesava, The following methods can be incorporated to use the generated angles from the lookup table as inputs for the PWM lo...

9 maanden ago | 0

Answered
How to show the color legend of gscatter plot in a single bar or range?
Hi Niraj, To create a gradient color map based on a continuous variable like time in your scatter plot, you can manually map th...

9 maanden ago | 0

Answered
Why does Matlab not respect Function Precedence Order when I try to overload a builtin with no arguments (pi)?
Hello, I tried to reproduce the issue on MATLAB R2021a. Since I do not have access to the third-party multiprecision toolbox "a...

9 maanden ago | 0

Answered
Plotting Acoustic Emission signal features like RA, AF & b-value
Hi Peter As I can understand, you are interested in calculating the Rise Angle (RA), Average Frequency (AF), and b-value for yo...

10 maanden ago | 0

Answered
Trying to make Dynamic equations work with varying mass over time
Hi Mark, It looks like you're trying to implement a numerical simulation of a dynamic system using a variation of the Newmark-b...

10 maanden ago | 0

Answered
Convert data type for PID controller
Hello, Your understanding of the fixed-point data types and their behavior in the context of ADC conversion and PID control is ...

10 maanden ago | 0

Answered
How to increase the size of a data array?
Hi, As I can understand, you are interested in increasing your dataset from "m" to "2*m" without any independent variable. Give...

10 maanden ago | 0

Answered
Initiate array in Simscape
Hi Zubair, As I can understand, you want to initialize an array in Simulink only after a specific time has elapsed. There are s...

10 maanden ago | 0

Answered
A puzzle for student using Fortran compiler through mex in Matlab
Hi Hemin, MathWorks has updated their support to include Intel oneAPI compilers in the newer versions of MATLAB. For an exhaust...

10 maanden ago | 0

Answered
imageDatastore multiple output label
Hi Chaz, It seems like you're trying to work with MATLAB's "imageDatastore" to handle a multi-label classification problem, whe...

11 maanden ago | 0

Answered
Simevents fails to run after using step-through
Hi Ben, It seems like you are encountering a problem with MATLAB failing to load a necessary dynamic library for SimEvents. The...

11 maanden ago | 0

Answered
Integrator delivers Wrong output
Hi Tobi, Ideally, the derivative of the integration should match with the original signal. There could be a variety of reasons ...

11 maanden ago | 0

Answered
Using multiple instances of a referenced model with different port dimensions
Hi Robin, As I can understand, you are facing issues when trying to send signals of varying sizes to a referenced model from di...

11 maanden ago | 0

Answered
Differences in FFT of boxcar function
Hi Heather, Based on your description, I understand that you are facing an issue with the plot obtained from the Fourier Transf...

11 maanden ago | 0

Answered
Getting error while building mex libIp_xfft_v9_0_bitacc_cmodel.lib
Hi Ashwin, When you're trying to compile a MEX file, you typically need to provide the source code file(s) that should be compi...

11 maanden ago | 0

Answered
stop automatic download of smart sync files from dropbox
Hi Adi, When MATLAB changes the current folder or path to a Dropbox folder that is managed by Smart Sync, it may try to access ...

11 maanden ago | 0

Answered
How to describe the table of multiple variable correlation in MATLAB similar R?
Hi Khanh, In MATLAB, you do not have a built-in function that directly mimics the "cor" function from R in terms of both comput...

11 maanden ago | 0

Answered
How to generate pulse signal in Simulink with pulse width input?
Hi Pelle, I understand that you are looking to feed variable inputs to the "Pulse Generator Block" in Simulink. While you could...

11 maanden ago | 0

Answered
An error occurred while running the simulation and the simulation was terminated Caused by: Unable to perform assignment because the indices on the left side are not compatib
Hi Jeferson, I understand that you are facing issues while making an equalizer with 10 filters. The error message you're seeing...

11 maanden ago | 0

Answered
PDE Toolbox Heat Transfer
Hi Haige, I understand that you are facing issues while using the MATLAB PDE Toolbox. To gain a better understanding of how thi...

11 maanden ago | 0

Load more