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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 1

| accepted

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

1 year ago | 1

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 1

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

| accepted

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

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

1 year ago | 0

Load more