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

4 Monate vor | 0

| akzeptiert

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

4 Monate vor | 0

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

4 Monate vor | 1

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

4 Monate vor | 0

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

4 Monate vor | 0

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

4 Monate vor | 0

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

4 Monate vor | 0

| akzeptiert

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

4 Monate vor | 0

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

4 Monate vor | 0

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

4 Monate vor | 0

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

6 Monate vor | 0

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

6 Monate vor | 0

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

6 Monate vor | 0

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

6 Monate vor | 0

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

7 Monate vor | 0

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

7 Monate vor | 0

Beantwortet
Scaling a PNG image inside a Panel in a MATLAB APP
Hi, From my understanding of your post, you are looking to make an image that exists inside a panel of your MATLAB app resize a...

7 Monate vor | 0

Beantwortet
How to properly connect to TI F28025C for code generation and model debugging?
Hi Raul, From your description of the issue, errors seem to come up when you try to run your Simulink model on the TI hardware ...

7 Monate vor | 0

Beantwortet
Not able to dump hardware code from Simulink to F28379D launchpad
Hi Neil, From your post, my understanding is that you are experiencing an issue with deploying code to the F28379D LaunchPad us...

7 Monate vor | 0

Beantwortet
Hello I am trying to convert a ltspice capacitor part into a simulink part through Matlab
Hi Tahsina, The function “subcircuit2ssc” reads the SPICE netlist specified as a parameter and converts every subcircuit into o...

9 Monate vor | 0

Beantwortet
How to generate C function to return a bool
Hi Duane, From the second attached code snippet (the desired generated code), I assume that the intended functionality is to ha...

9 Monate vor | 0

Beantwortet
realtime data from accelerometer using matlab
Hi Ahad, Do refer to this MATLAB Answers post that details how to measure accelerometer data (using a BMA220 sensor) on a wide ...

9 Monate vor | 0

Beantwortet
How to import STLs into MATLAB WHILE maintaining their coordinate system
Hi Andrew, STL files can be imported and aligned in the following methods – Using “stlread” - https://in.mathworks.com/help/m...

9 Monate vor | 0

Beantwortet
How to deploy ML model on thingspeaks
Hi Arnav, There is a "Developing an IoT Analytics System with MATLAB, Machine Learning, and ThingSpeak" paper linked from the T...

9 Monate vor | 0

Beantwortet
How to run two Simulink models at different rates, in the same workspace?
Hi John, I understand that you want to run “Modeled sys” at a faster rate than “Physical sys” from the description of the post....

9 Monate vor | 0

Beantwortet
Creating Dataset of varying length Signals
Hi Denis, The topic of classifying time series data of varying lengths was touched upon in another MATLAB Answer. It is suggest...

9 Monate vor | 0

Beantwortet
PID tuning / optimization usig machine learning/deep learning algorithm
Hi Avdhut, You could use the blocks that are shipped with the Reinforcement Learning Toolbox to tune a PID controller. An examp...

9 Monate vor | 0

| akzeptiert

Beantwortet
How to analyze EMG signals?
Hi @Merve Deniz Senelen, You can import your “.bin” and “.hea” files using the following steps: Unzip the Files: You can use...

9 Monate vor | 0

Beantwortet
How to convert 3D plot to .STL
Hello, A possible solution is to download the “stlwrite.m” file from the following link: https://www.mathworks.com/matlabcentra...

9 Monate vor | 0

Beantwortet
Plot 3 variables on 2D plot
Hi Joel, The “scatter” function in MATLAB has a functionality by which you can pass a third parameter along with the...

9 Monate vor | 0

Mehr laden