已回答
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...

11 months 前 | 0

| 已接受

已回答
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...

11 months 前 | 0

已回答
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...

11 months 前 | 0

已回答
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...

12 months 前 | 0

已回答
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...

12 months 前 | 0

已回答
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...

12 months 前 | 0

已回答
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...

12 months 前 | 0

已回答
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...

12 months 前 | 1

| 已接受

已回答
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 ...

12 months 前 | 1

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 1

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

| 已接受

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

已回答
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 前 | 0

加载更多