photo

Shlok


Last seen: 11 days ago Active since 2024

Followers: 0   Following: 0

Programming Languages:
Python, C++, C, Java, Javascript, MATLAB, HTML, CSS
Spoken Languages:
English, Hindi
Pronouns:
He/him

Statistics

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
storage format using SPARSE and INT8
Hi Giovanni, I understand that you want to optimize storage and runtime by using int8 for matrices containing only the values ...

11 days ago | 0

Answered
How to create a convergence table
Hi Karolina, I understand that you want to make a convergence table in MATLAB. I suggest you the following approach for the sa...

12 days ago | 0

Answered
Unpack ethernet data (TCP) using Simulink libraries
Hi Abhishek, I understand that you want to extract and interpret data described in an ARXML database as readable signals. T...

17 days ago | 0

Answered
Where "job" (batchsim) is stored ?
Hi skamajaya, As I understand it, the DMR file is not being generated in the ‘tempdir’ directory after using ‘fetchOutput’. If...

18 days ago | 0

Answered
Embedding data points problem
Hi Desiree, To embed each column of “X” onto the eigenvectors, the approach is to extract out the desired eigenvectors and per...

18 days ago | 0

Answered
Ground truth of road sign as look-up table
Hi Keunwook, A 2D Lookup Table would be most suitable in finding the closest corresponding road sign for a particular latitude...

19 days ago | 0

Answered
How can I import input data from Excel sheet into signal builder programmatically ?
Hi Anjali, To import the data from the excel file into the “Signal Builder” block, follow the following steps: First read th...

19 days ago | 0

Answered
How to write subscript and superscriopt in a single variable?
Hi Vishnuvardhan, To store a formula consisting of superscript and nested subscripts, the approach is to store it as a string ...

20 days ago | 0

Answered
Error regarding Input port when using SIMULINK
Hi Sameema, The above-mentioned error indicates a mismatch in the dimensions of the signal going into and out of the blocks in...

22 days ago | 0

Answered
How can I set the initial value of action space while using Simulink DDPG Agent?
Hi Lei, DDPG agents are designed to operate in continuous action spaces. Hence, to create a custom continuous action space for...

24 days ago | 0

Answered
Parse function parameters using InputParser class with unknown number of parameters and optional name-value pairs parameters
Hi Bob, The “inputParser” function does supports passing arbitrary number of parameters and then name-value pairs, but those p...

2 months ago | 0

| accepted

Answered
Simulink model callback: Output to command line suppressed
Hi Bonpland, Yes, the "display" function is now deprecated, and you'll start seeing a warning popup about it in R2022b and lat...

2 months ago | 0

Answered
HDL Coder Vivado timing report shows infinite slack
Hi Yeung, Slack is used for measuring the degree of flexibility or buffer time available within a project schedule. It indicat...

2 months ago | 0

Answered
how to transfer A PushButton Value to Simulink Model ?
Hi Zhang, You can attach callbacks in App Designer to pass values from input components to a Simulink model when a "PushButton...

2 months ago | 0

Answered
Is it possible to apply Latex formatting in heatmaps?
Hi Lyu, The support for controlling text interpreter (including LaTeX) for displayed text using the “Interpreter” property is ...

2 months ago | 0

Answered
Plotting categorical array of varying size
Hi Jarrod, As per my understanding, you have multiple files containing categorical arrays, and you want to read through them a...

2 months ago | 0

Answered
Mixed LaTeX math and text in Matlab
Hi David, It seems you're trying to mix LaTeX text and math modes in MATLAB but aren't getting the desired output. To fix this...

2 months ago | 0

Answered
Convert variable-sized signal to fixed
Hi John, I understand you're looking for an approach to convert a variable-sized signal into a fixed size. You can achieve thi...

2 months ago | 0

Answered
Model fitting for real data using matlab lsqcurve
Hi Aloke, I understand that you want to fit a 5-ODE model to real data and then forecast infection trends. Here’s how you can ...

2 months ago | 0

Answered
How to make output in matrix from 2 input parameters?
Hi Michal, I understand that you want to obtain an 8x3 matrix as the output of the modal instead of a single value. To achieve...

2 months ago | 0

Answered
How to show simulink output based on a previous output?
Hi Munim, To generate the output based on the previous block's output, I suggest you using a “Switch” block. The “Switch” bloc...

2 months ago | 0

Answered
Hello, I am getting an error while executing my Simulink model of EV.
Hi Arpit, Upon reviewing the logs, it seems that the error is primarily due to the solver failing to converge on the initial c...

2 months ago | 0

Answered
Using readtable with Word document and special formatting (superscripts)
Hi AR, I understand that you are encountering issues while reading text with superscript characters using the “readtable” func...

2 months ago | 0

| accepted

Answered
Error in formatting csv files imported from python
Hi Avishek, This error is being caused due to incorrect delimiter detection. When you provide only the filenames to the “rea...

2 months ago | 0

Answered
Formatting for the Custom Mask's Documentation Tab
Hi Richard, I understand that you want to customize the formatting of text within the Documentation tab of a custom mask. You ...

3 months ago | 0

Answered
how can I deskew this image ?
Hi Israa, To de-skew the given image in MATLAB, you can start by loading the image and then converting it to grayscale, using ...

3 months ago | 0

Answered
how to apply stepinfo command correctly
Hi Shymaa, To apply the “stepinfo” function correctly using your Simulink array data, you can extract the time and output dat...

3 months ago | 0

Answered
how to disable turn off signal in time scope using switch in simulink
Hi Ecom, Yes, you can disable or turn off a signal in a “Time Scope” using a switch in Simulink. Here’s how you can achieve th...

3 months ago | 0

Answered
Show parameters of a simulink model in a GUI window
Hi Zafar, I understand that you want to create a custom MATLAB GUI for selecting a Simulink model, entering parameters, and di...

3 months ago | 0

Answered
Is there any command for .xlsx file to import directly to Signal Builder.
Hi Shweta, The Signal Builder block is outdated and no longer available in the latest version of Simulink. Hence, I would sugg...

3 months ago | 0

Load more