Community Profile

photo

Swatantra Mahato

MathWorks

Last seen: 15 days ago Active since 2019

I am Application Support Engineer at Mathworks.
Disclaimer: Any articles /ideas/opinions here are my own and in no way reflect that of Mathworks

Statistics

All
  • Knowledgeable Level 2
  • 3 Month Streak
  • Revival Level 2
  • First Answer
  • Introduction to MATLAB Master
  • Solver

View badges

Content Feed

View by

Answered
How can I read big-endian binary files with embedded coder?
Hi Ben, It is my understanding that you wish to be able to change the byte ordering of your input in a code generation settin...

15 days ago | 0

| accepted

Answered
Mexhost out of process crashed or destroyed outside of Matlab after 3 runs
Hi Kristen, This issue might be caused by a known bug where the MEX function out-of-process execution runs out of memory when...

15 days ago | 0

Answered
Retrieving elements of a cell array at regular set intervals
Hi, It is my understanding that you want to determine the number of elements in your array that meet a certain condition. In ...

15 days ago | 0

Answered
How to read and edit excel files in microsoft onecloud storage?
Hi, According to this answer, MATLAB should be able to interact with excel files in OneDrive cloud without issues provided th...

15 days ago | 0

Answered
problem of code of lsqnonlin GMM metrix.
Hi, Judging from the error message, it looks like the variable "congrothw" is not properly defined to use. The variable is pr...

17 days ago | 0

Answered
Unnormalized ACF from autocorr
Hi Avik, The documentation for "autocorr" mentions the algorithm used in calculating the autocorrelation. In particular, you ...

18 days ago | 0

Answered
Speech Command Recognition Code Generation on Raspberry Pi - HelperSpeechCommandRecognitionRasPi
Hi, The "HelperSpeechCommandRecognitionRasPi" function is present in the directory of the example "Speech Command Recognition...

18 days ago | 0

Answered
How to return a vector from C++ MEX to MATLAB?
Hi, Kindly refer to the following documentation link for examples on how to use arrays from a C++ mex file in MATLAB https:/...

22 days ago | 0

Answered
problems with not getting neon call using coder
Hi Barry, In addition to setting the hardware setting you also need to change the "Code Replacement Library" settings from "M...

23 days ago | 0

Answered
Fmincon requires SQP algorithm
Hi, It looks like the error shows up in the MATLAB Funciton Block. Kindly refer the following documentation link on how MATLA...

24 days ago | 0

| accepted

Answered
Error while compiling C code containing mex.h and mexFunction
Hi Rohan, It is my understanding that you want to create a standalone application using mex functions. You can create the app...

25 days ago | 0

Answered
Leaving a line after writing to an excel sheet
Hi Ketan, You can refer the examples in the documentation for the "writematrix" function to get started on writing matrices t...

25 days ago | 0

Answered
Hello everyone, I keep getting this warning "Matrix is close to singular or badly scaled" how can I fix it?
Hi Mohammad, You can also refer to the following answer for more information the warning https://www.mathworks.com/matlabcen...

26 days ago | 0

| accepted

Answered
Symbolic math toolbox: Obtaining real values from an expression of the form log(1-x)
Hi Alexander, As a workaround, you can define the exact expression as an assumption i.e., assumeAlso((1-A1)>0); you can the...

3 months ago | 0

| accepted

Answered
white background only in the video
Hi muhammad, Note that gcf opens an empty figure if a figure is not already open, in which case the empty figure would be cap...

3 months ago | 0

| accepted

Answered
Solve Error in Symbolic Matrix
Hi Ahmet, You can execute the following command (as mentioned under Limitations section for the "symmatrix" funciton) to find...

3 months ago | 0

| accepted

Answered
Could matlab use `nvprof` in cuda profiling?
Hi, I am assuming you want to profile the CUDA code generated in MATLAB. You can refer the link below for an example on how to ...

3 months ago | 0

Answered
How to add mcr cache path while deploying an application?
Hi Shambhavi, You can refer the link below for an example on how to include .mat files in the .exe executable generated from ...

3 months ago | 0

Answered
How to turn off "Result explorer" and "Generate report automatically after analysis" options in the coverage settings through command line
Hi Shashwat, You can refer the answer in the link to understand how to get command line parameters from the Configuration Par...

3 months ago | 0

Answered
How do I receive and use NoteOn messages from a midi device in MATLAB?
Hi Joel, It is my understanding that you want to access the message and note value from the "midimsg" received and use it wit...

4 months ago | 1

| accepted

Answered
how to solve this equation?
Hi I am assuming you want to solve the equation d = solve(eq1==Th1,eq2==Th2,eq2==Th3,eq2==Th4,Rs,Ld,Lq,kexi); You can try u...

4 months ago | 1

| accepted

Answered
I want to use atan2 in my equation. When I use atan2 , I get answer NaN. But when I use 'atan' , i didn't get NaN. Why?
Hi Vishal, You can try with "atan2" after making the following modifications syms alpha1 alpha1_d alpha1_dd real and add th...

5 months ago | 0

| accepted

Answered
How to simplify a symbolic matrix
Hi Sourav, As mentioned in the documentation for "simplify" there is no universal idea to the simplest form of an expression. Y...

5 months ago | 1

| accepted

Answered
how to modulate and demodulate dpsk signal using MATLAB
Hi, From my understanding, you are looking to modulate a DPSK signal and demodulate it using MATLAB. You may want to look into...

7 months ago | 0

Answered
how to count my steps with my mobile and how can i send it to the coumputer?
Hi ron, Kindly refer to the following links for help with counting steps with MATLAB Mobile and sending the data to your comput...

7 months ago | 0

Answered
i have to draw an incircle in a triangle.
Hi Saurabh, Assuming you have calculated the incentre and inradius for the incircle, you can plot the incircle by using the p...

8 months ago | 1

Answered
How do I update a plot in a figure without closing the gui and without the plots stacking on top of each other?
Hi, I am assuming that you want to update the plot generated without closing the GUI and without a new plot being created. A n...

9 months ago | 0

Answered
Getting UTC time from Posix time - leap seconds
Hi, I am assuming you want to convert posixtime to UTC and take into account the leap seconds. This can be done using the "dat...

9 months ago | 1

Answered
Create a mosaic using average color of block given image
Hi, I am assuming you want to get the average of color of each block for each component separately. In your function "myfun" by...

9 months ago | 1

| accepted

Answered
showing "unable to resolve name yout.getElement"
Hi, The above error message "unable to resolve the name yout.getElement" is shown because the variable yout is not present in t...

9 months ago | 2

Load more