photo

Swastik Sarkar


Last seen: Today Active since 2023

Followers: 0   Following: 0

Programming Languages:
Python, C++, C, Javascript, Go, MATLAB, SQL, HTML, CSS, Shell
Spoken Languages:
English, Hindi, Bengali
Pronouns:
He/him

Statistics

All
  • Knowledgeable Level 3
  • Solver
  • 6 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Linux -nosplash doesn't work
Hi @dormant, For running a MATLAB script in a non-interactive workflow, consider using the -batch startup option, which prevent...

4 days ago | 1

Answered
How to add a custom string to a Matlab script's output?
Hi @Renat, It is possible to override the built-in function responsible for displaying data to achieve the desired prefix on ea...

4 days ago | 0

Answered
Pass two .mat files into a function withing a paralel loop
Hi @omid mousavi, I assume that temp_ui_exp is a constant stored in the MAT files attached during the creation of parpool, and ...

4 days ago | 0

Answered
Speeding up a load file workflow
Hi @Paul, I know of 2 options to load the MAT-files faster, both of which will require the Parallel Computing Toolbox. One app...

11 days ago | 1

| accepted

Answered
Saving GAmultiobj results calculated in the algorithm mid-way, without stopping the code run.
Hi @Rohit Sachdeva, I was able to use OutputFcn to display the Pareto-front values fval and corresponding x, achieving this wit...

12 days ago | 0

Answered
Is it possible to download the license file for the trial version?
Hi @Mikael, To utilize the trial version for running Simulink, there is no need to pass license server or license information. ...

13 days ago | 1

Answered
Solve ODE with array forcing function
Hi @MR, The ode45 function is typically used with continuous functions. When working with custom discrete functions, interpolat...

14 days ago | 0

| accepted

Answered
Delay in displaying messages in parallel threads with fileSystemWatcher
Hi @Quy, I tried to reproduce the issue using the code provided on MATLAB R2023a and observed that the display does lag behind ...

14 days ago | 0

Answered
How to Add Source Control Buttons to the MATLAB Toolstrip?
Hi @Alexander Hedene, Customizing the Toolstrip in the MATLAB IDE is not supported. This feature is only available in Simulink,...

15 days ago | 0

| accepted

Answered
separate the phasic component from the tonic for the analysis of the GSR electrodermal response.
Hi @JENNIFER, Separating the phasic from the tonic components involves developing respective low-pass and high-pass filters and...

15 days ago | 0

Answered
Second Order PDE solving CFD program
Hi @BoYun, The issue appears to be that the theta values become NaN well before reaching the computeNusseltNumber function. Spe...

21 days ago | 0

Answered
Synchronous machine in simscape specialized power system with isolated starpoint !
Hi @Friedrich Schmidt, While reviewing the Simplified Synchronous Machine documentation, it was found that the neutral wire can...

21 days ago | 0

Answered
Inport/Output ordering on subsystem reference in parent model
Hi @nmb, I have encountered a situation where ports can be easily rearranged by dragging, as described in the following documen...

22 days ago | 0

| accepted

Answered
Algebraic Loops in MATLAB
Hi @Goncalo, The following MATLAB documentation provides details on how Simulink solves algebraic loops: https://www.mathworks....

23 days ago | 0

Answered
MATLAB Function to .NET Application Using MATLAB Data API for .NET with complex data structures (OrderedDictionary<DateTime, double[]> <=> timetables)
Hi @Andy, Below is an example of how to pass a .NET Dictionary to a MATLAB function. For more information, refer to the followi...

1 month ago | 0

Answered
install simulink on docker images
Hi @Adrien, To install Simulink into the mathworks/matlab Docker images using mpm, the following Dockerfile can be utilized. Th...

1 month ago | 0

Answered
Installing Addons from docker image failling
Hi @John Harrison, To install additional products alongside a Docker image running MATLAB, consider using the mpm utility to in...

1 month ago | 0

Answered
Documentation as window next to the folder window
Hi @Martin, With the introduction of web-based documentation in MATLAB, all documentation links now open in the system browser ...

1 month ago | 0

Solved


Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 month ago

Answered
How to extracting parameters in iterations in genetic algorithms?
Hi @Kiven, The Genetic Algorithm appears to be running in parallel, as indicated by the following configuration: ga_options = ...

1 month ago | 0

Answered
Memory issues using parfeval
Hi @Andre Zeug, The export_figP and evalAfterAll functions can be enhanced for readability and effective management of figures ...

2 months ago | 0

Answered
Speed up algorithm and memory issues
Hi @Elric, The implementation of the code using a parfor loop has resulted in out-of-memory issues. This may occur if the numbe...

2 months ago | 0

Answered
Multi-User Matlab Docker Setup
Hi @Soul45, The specified reasons for using Docker can be addressed without it. easier version managing (just change the tag o...

2 months ago | 0

Answered
How to install Matlab Compiler on VM or Azure for CI/CD build purposes?
Hi @Gregory Province, The Azure pipeline can be used to set up MATLAB CI/CD by utilizing the following extension: https://mark...

2 months ago | 0

Answered
Run MATLAB Test Suite from Azure Pipeline.yml
Hi @Peter, It appears that the unittest libraries of MATLAB are being used to run Simulink tests. However, the sltestmanager sh...

2 months ago | 0

| accepted

Answered
How do I numerically integrate using the composite trapezoidal rule in Matlab?
Hi @Maclane Keohane, The implementation of the composite trapezoid rule appears correct. Below is an enhanced version of the co...

2 months ago | 0

Answered
expanded matrix wont be bigger than 8 by 8
Hi @Olivier, In the provided code, K_global is being initialized to zeros based on the maximum of unique values from the elemen...

2 months ago | 0

Answered
genetic algorithm with SQP for epidemic models
Hi @FORHAD, The following example from the MathWorks File Exchange can assist in getting started with modeling disease spread u...

2 months ago | 0

Answered
Function behaves unexpectedly on array inputs. To improve performance, properly vectorize your function to return an output with the same size and shape as the input arguments
Hi @Elle, While the formula is correct, the MATLAB code provided works well for scalar values but requires element-wise operati...

2 months ago | 0

| accepted

Answered
How to do AUTOSAR testing?
Hi @Venkat Siddarth Reddy, There appears to be a discrepancy between the title of the question and its content. For comprehensi...

2 months ago | 0

Load more