photo

Shlok


Last seen: 3 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
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...

21 days ago | 0

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

21 days 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...

22 days 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...

23 days 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 ...

28 days 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...

28 days 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...

30 days 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...

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

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

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

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

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

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

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

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

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

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

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

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

2 months ago | 0

Answered
Can I define a cell class data using data dictionary in Simulink?
Hi HDT, I understand that you want to define a cell class in Simulink by using Data Dictionary. To achieve the same, enter the...

2 months ago | 0

Answered
is it possible to customize writeStruct for a data type?
Hi, There’s a small correction. The function 'writeStruct' doesn't exist in R2018a, which is the version mentioned in the ques...

2 months ago | 0

Answered
Could anyone help me how to consider the rows of matrix part by part.
Hi Jaah, I understand you're trying to modify your code so that a specific partition only accesses certain rows from G and P. ...

2 months ago | 0

Answered
how to calculate perms for cell array vector
Hi Mohamad, I understand that you want to include repetition in the cell arrays, but you're unable to achieve this because you...

3 months ago | 1

Answered
Procrustes distance formula explanation
Hi Dipak, To explore the formulas behind the Procrustes transformation, you can directly view the source code of the “procrust...

3 months ago | 0

Answered
Does fileDatastore not implement "matlab.io.Datastore"?
Hi Eike, The “matlab.io.datastore.FileDatastore” class does not implement the “matlab.io.Datastore” interface. As a result, “a...

3 months ago | 0

Answered
How to solve the eqaution in matlab
Hi Prasad, To solve the given equations in MATLAB, you should make use of “fsolve” function. “fsolve” is a numerical solver fo...

3 months ago | 0

Answered
How can I make the input data and target data have same samples for ANN training
Hi Abdirizaak, I understand that you want to extract random samples from your collected data and you want to ensure that the c...

3 months ago | 0

Answered
Printing row of maximum value of a column
Hi Ennes, To extract the maximum area value from each image and store it in a new array, you should preprocess this data insid...

3 months ago | 0

Answered
Why do i get question marks?
Hi Alexander, The error messages mentioned above in the attachments indicate that there is a mismatch in the dimensions or wid...

3 months ago | 0

Load more