Respondida
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 meses hace | 0

Respondida
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 meses hace | 2

| aceptada

Respondida
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 meses hace | 0

| aceptada

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

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

10 meses hace | 0

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

10 meses hace | 0

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

10 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
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 meses hace | 0

Respondida
how can i plot overlapping dendrograms with manovacluster or similar manova output ?
Hello, I understand that you are interested in comparing mANOVA results by plotting multiple "manovacluster" output onto the sa...

11 meses hace | 0

Respondida
export_fig crop to specific dimensions
Hi Jessica, I undertsand that you are interested in saving a MATLAB figure with specific DPI and size. While the "export_fig" ...

11 meses hace | 0

| aceptada

Respondida
Export Matlab function as standalone python code which runs without Matlab Runtime
Hi Francois, I understand that you are interested in exporting MATLAB function as standalone python code. Currently, MATLAB doe...

11 meses hace | 0

| aceptada

Cargar más