photo

Raghava S N


Last seen: 3 days ago Active since 2023

Followers: 1   Following: 0

Programming Languages:
Python, C++, C, MATLAB, Arduino, Assembly
Spoken Languages:
English, Hindi
Pronouns:
He/him

Statistics

  • Knowledgeable Level 3
  • First Review
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Integrate Simulink model simulation into matlab code
Hi, From my understanding, you want to integrate Simulink model simulations with MATLAB and want to access parameters and mode...

17 days ago | 0

Answered
How to draw the audio track from a video which contains audio?
Hi, As you are looking to extract audio data from a video file, the function “audioread” can be used. The “audioread” function...

17 days ago | 0

Answered
Parse function parameters using InputParser class with unknown number of parameters and optional name-value pairs parameters
Hi, From my understanding, you want to use a variable number of optional parameters without having explicitly declared them in...

17 days ago | 0

Answered
Writing a PNG image to a Database
Hi, Refer to the workflow proposed by the MathWorks Support Team to store an image or figure into a database from MATLAB using...

22 days ago | 0

Answered
How to convert a struct to an object?
Hi, A “gmdistribution” model object can be created using the “gmdistribution” function by specifying the distribution parameter...

1 month ago | 0

Answered
How can we generate a plot with multiple lines?
Hello, The MATLAB “hold” command is used to plot multiple plots on the same axes. The command “hold on” sets the axes hold stat...

1 month ago | 0

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

2 months 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...

2 months 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...

2 months 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...

2 months 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...

2 months 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 ...

2 months 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...

2 months 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 - ...

2 months 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...

2 months 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...

2 months 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...

2 months 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...

3 months 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 ...

3 months 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 ...

3 months 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...

3 months 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”...

3 months 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 ...

3 months 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...

3 months 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...

4 months 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 ...

4 months 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...

4 months ago | 0

Load more