Community Profile

photo

Samay Sagar


Active since 2023

Followers: 0   Following: 0

I am a final year B.tech (CSE) undergrad at IIITDM Jabalpur

Programming Languages:
C++
Spoken Languages:
English
Pronouns:
He/him

Statistics

All
  • Knowledgeable Level 2
  • Solver
  • First Answer

View badges

Feeds

View by

Answered
Write the lines (sentences) of a 1513 x 1 string into separate lines in a text file, keeping the whole length of each sentence, without breaking them.
The issue you are encountering likely stems from the inherent formatting of the “newstr” string. This can happen if the sentence...

ongeveer 17 uur ago | 0

Answered
How to implement importing data from csv file in optimization algorithm?
Based on my understanding, the “CreateModel” function needs be modified to accept an array of box dimensions, transforming the a...

ongeveer 18 uur ago | 0

Answered
I cannot get the method documented in "Specify Independent Parameters for Optimization" to work
Based on my understanding, the issue you are encountering is because “Kint” is calculated in the Init script without linking to ...

ongeveer 18 uur ago | 0

Answered
Unzipping MDF4 files and combining them into 1
In my understanding., the problem lies in the handling of the time field and combining the MDF files. Instead, you can use the “...

1 dag ago | 0

Answered
Programmatically trigger events for UI objects (AppDesigner) using "notify()"
The given error you are encountering is possibly because the event has been defined with private or protected “NotifyAccess”. En...

ongeveer een maand ago | 0

Answered
from timetable to mysql database
As mentioned in the MathWorks documentation, “sqlwrite” supports only insertion of “table” data type in a database. However, you...

ongeveer een maand ago | 0

Answered
Find out why mat files differ in size
You can utilize the "whos" command for thorough examination of variable sizes within MATLAB objects, facilitating the discernmen...

ongeveer een maand ago | 0

Answered
How do I plot in a for loop while using workspace?
It will be helpful if you could share the exact issue you are facing when trying to run the model in MATLAB R2021a. Please note ...

ongeveer 2 maanden ago | 0

Answered
Creater a vector front a signal data in specific time intervals
In Simulink, the "To Workspace" block offers a convenient way to export the output of your simulation directly to the MATLAB wor...

ongeveer 2 maanden ago | 0

Answered
Simulink: Input port not imported
Simulink requires the time vector and the signal values to be of the same length. Since you're trying to input a constant value,...

ongeveer 2 maanden ago | 0

Answered
read files from 1 dic
The error message you're encountering indicates that the “interp” function expects its first argument to be a vector of type sin...

ongeveer 2 maanden ago | 0

Answered
Read HDF5 files with groups and subgroups.
You can use the ”h5info” function to get information about the file structure of your input HDF5 file. Thereafter, you can loop ...

ongeveer 2 maanden ago | 0

Answered
How to generate gifs using countourf and mutliply file inputs?
Hi David, The warning about constant “ZData” in the “contour” function suggests that at least one of your binary files may cont...

ongeveer 2 maanden ago | 0

Answered
Wget downlonads or updates from command line
I attempted to perform an update via the command line as well, but unfortunately, there wasn't a straightforward method availabl...

ongeveer 2 maanden ago | 0

Answered
Saving vectors for consecutive timesteps and turn them into an array
To provide a sequence of vectors as input to the LSTM 'Stateful Predict' block in Simulink, you can accumulate the vectors over ...

2 maanden ago | 0

Answered
Inserting images into a code when certain conditions are being met?
To add the functionality for displaying specific images after block 2 and to assign subjects to one of the three conditions, you...

2 maanden ago | 0

Answered
Is there any way to find out which specific instance of a UIContextMenu is being called?
Starting from MATLAB R2021b, you can access the node for which the context menu is opened using the “CurrentObject” property. He...

2 maanden ago | 0

Answered
How do I determine whether a UI callback was triggered by a keypress or a mouse click?
Since the “CellEditEvent” data doesn't provide direct information about the input method used to trigger the callback, we can us...

2 maanden ago | 0

| accepted

Answered
How to consecutively import the data of multiple .txt files in a function?
To load only the numeric data from the TXT files into your function consecutively, you will need to modify the loop that process...

2 maanden ago | 0

Answered
원본 텍스트 Data plotted using VideoWriter and data saved as avi are different.
To resolve the issue of the white background or borders appearing in your saved video file, you need to set the figure and axes ...

2 maanden ago | 0

Answered
No sound when playing movie in Matlab2020b
The Computer Vision Toolbox in MATLAB primarily focuses on computer vision tasks and does not directly support synchronized audi...

2 maanden ago | 0

Answered
Calling and analyzing data from different subject folders
To load the recent three days of data for each subject and task within your directory structure, you can create a MATLAB script ...

2 maanden ago | 0

Answered
Function to Create a Function
To create a MATLAB function with fixed parameters that can be called multiple times without passing these parameters each time, ...

2 maanden ago | 0

Answered
Colorbar, display regular intervals
To have the colorbar display both extremes (max and min) and a fixed number of intermediate values at regular intervals automati...

2 maanden ago | 0

Answered
Add multiple rows in a preparedStatement to SQL
In order to insert multiple rows while handling potential conflicts, you can iterate over your data and execute the prepared sta...

2 maanden ago | 0

Answered
Possibility of naming the blocks automatically
Blocks in Simulink can be renamed automatically by setting up an event listener in MATLAB that triggers a function to rename the...

2 maanden ago | 0

Answered
why svm is classifying larger dataset with good accuracy than smaller data set
When combining two datasets, the change in accuracy can be attributed to factors such as a more balanced data distribution, comp...

9 maanden ago | 0

Answered
Matlab gives [ empty sym ] when using dsolve
In cases where the dsolve function in MATLAB returns an empty solution, it means that it was unable to find an analytical soluti...

10 maanden ago | 1

| accepted

Answered
how to assign vpasolve results to a vector?
You can initialize an empty array and append the results to it. You can implement the same as following : res_vector=[]; resul...

10 maanden ago | 0

Answered
INDEX EXCEED NUMBER OF ARAY in GAPSO optimization of simulink model?
The error message suggests that the class names for your SVM classification are not found in the input labels. In your code, you...

10 maanden ago | 0

Load more