Respondida
is it possible to display the size of an image in MB or KB on matlab?????? if yes how??
Hi Pradeep, Yes, it is possible to display the size of an image in MB or KB in MATLAB. You can achieve this by calculating its...

más de 1 año hace | 0

| aceptada

Respondida
changing git repository for version control
Hey @David Streng, Before using Git source control in MATLAB, it needs to be specifically set-up for MATLAB. There are seven r...

más de 1 año hace | 0

Respondida
Superimpose a curve on a a image generated by 'imagesc' command, I need to keep two different Y-axis.
Hi prasad, To create plots with two y-axes, you can make use of the “yyaxis” function in MATLAB. Refer to this link for more i...

más de 1 año hace | 0

Respondida
How to get the error in two different curve ?
Hi, As the raw data is available in the form of matrices in the MAT-file, converting the plotted curves into images and then fi...

más de 1 año hace | 0

Respondida
How can I convert sampled HDM data to PSD data?
Hello Philip, I am working under the assumption that “vibration data in HDM data acquisition system and converted into a MATLAB...

más de 1 año hace | 0

Respondida
How to read analog signal from Arduino in Matlab?
Hi Venkatesh Kumar, The first step is to check if the Arduino hardware being used is connected to the computer and is accessibl...

más de 1 año hace | 0

Respondida
How to convert .xlsx file to .mat larger than 200 mb
Hello, The parameter “version” in the MATLAB function “save” can be used to specify the MAT-file version. This effects the maxi...

más de 1 año hace | 0

Respondida
What types of components should be connected to the interfaces of the fault(three-phase) module?
Hello Peter, The “Fault (Three-Phase)” block is a Simscape electrical block whose inputs are physical signals, which are differ...

más de 1 año hace | 1

| aceptada

Respondida
Need some help learning Simulink
Hey, The “Clock” block in Simulink outputs the current simulation time at each simulation step. This block is useful for other ...

más de 1 año hace | 1

Respondida
How to find example file in MATLAB
Hi, As per the release notes of MATLAB R2023b, starting from MATLAB R2023b, the function “openExample” must be used to open Sim...

más de 1 año hace | 0

| aceptada

Respondida
Deploying MATLAB engine API for Python
Hi, To package a MATLAB function and deploy it as a Python application, follow the workflow described in the following link - ...

más de 1 año hace | 0

Respondida
How to connect kit stm32f411e discovery with simulink
Hi John, To successfully establish connection between Simulink and STM32 targets, a few pre-requisite setup tasks need to be co...

más de 1 año hace | 0

Respondida
Using Embedded code to generate bootable code- Aurix TC4x
Hi Archit, Regarding your first query, the “PWM” block in the Embedded Coder Support Package for “Infineon AURIX TC4x” Microcon...

más de 1 año hace | 0

Respondida
How to run simulink control and simscape model in different timming loops?
Hi, Integrating Simscape models with Simulink requires certain changes to Simulink defaults and consideration of physical simul...

más de 1 año hace | 0

| aceptada

Respondida
Facing error in this example openExample('whdl/WHDLOFDMTransmitterExample')
Hi, On running the shipped example “whdl/WHDLOFDMTransmitterExample” on MATLAB R2023b, I did not encounter the error mentioned...

más de 1 año hace | 0

| aceptada

Respondida
xcpA2L error: Error using numel Bad subscripting index.
Hi Shannon, The issue you are facing seems to be due to a version mismatch in the A2L version. From the MATLAB R2021b release ...

más de 1 año hace | 0

Respondida
How to make non inlined s-functions inlined for code generation
Hi Aubrey, Writing S-functions to be included in generated code involves requirements that go beyond writing S-functions used ...

más de 1 año hace | 1

Respondida
Programmatically to get member data type in In Bus Element Block
Hi, To programmatically obtain the data type attribute value of an In Bus Element, the function “get_param” should be used. Th...

más de 1 año hace | 0

Respondida
SSIM calculation for RGB images
Hi, There is an operational difference in the function “ssim” when called without passing the name-value argument “DataFormat”...

más de 1 año hace | 0

Respondida
How to treat 200 rows of data as an event when constructing a Timetable, as a piece of data, the size is 200*1
Hi Wensor, Using the “array2timetable” function, you can directly convert numeric data from arrays to a timetable. This can be ...

más de 1 año hace | 0

Respondida
Simulink generated code optimization - CPU Load
Hi Oldrich, The increase in CPU load when substituting manual code with generated code from the Simulink model can arise due to...

más de 1 año hace | 0

| aceptada

Respondida
Calculating Power of Specific Spatial Frequencies of pictures
Hi Olivia, Please refer to this answer provided by a MathWorks staff member that describes in detail the workflow that uses Dis...

más de 1 año hace | 0

Respondida
solving this maximization problem
Hi Fatemeh, Optimization of an equation with a two variable function can be solved using MATLAB’s optimization toolbox. Please ...

más de 1 año hace | 0

Respondida
Transmit and receive at the exact time (start in parallel not in sequence)
Hi Abdelrahman, The functionality of a “parfor”-loop in MATLAB is to simplify repeated loop iterations by executing a series o...

más de 1 año hace | 0

Respondida
How to tune PI controllers of MIMO system?
Hello Chandu, A workflow to tune a MIMO Control System for Specified Bandwidth using PI controllers can be found in the MathWor...

más de 1 año hace | 0

Respondida
How can I differentiate a function in Simulink with respect to a variable included in the function itself?
Hello Mohamed, The first derivative of the function included in the post must be calculated, which is a linear equation. In the...

más de 1 año hace | 0

Respondida
how to measure the average duty cycle in discrete domain
Hi Jayshree, I understand you are working on a model that calculates the duty cycle of a pulse. It seems like the model is perf...

más de 1 año hace | 0

Respondida
How do I compute phase noise of a signal I have imported from LTSpice ?
Hi Koustubh, I understand the issue you are facing is an error message about inconsistent array dimensions while using the “pha...

más de 1 año hace | 0

Respondida
How to use output number to display corresponding block of image?
Hi, From my understanding of the post, there exists an image, and the goal is to find a specific point. The image is divided in...

más de 1 año hace | 0

Respondida
How to compute correlation between estimated residuals and input data x?
Hi, I understand that you want to compute the correlation between the estimated residuals of your regression model and each of ...

más de 1 año hace | 0

Cargar más