Community Profile

# Arnab Sen

### MathWorks

66 total contributions since 2015

I am Engineer at Mathworks India pvt ltd and a master in computer science by education.

In my free time I like to read, ,puzzle, travel and play.
My professional interest includes programming, Algorithm design,MATLAB, Simulink .

View details...

Contributions in
View by

Recreating a Traffic Simulation Model from a Book -> I fail...
Hi Elisabeth , The following link might be useful for you as it shows how can you use SimEvents for traffic modeling. htt...

alrededor de 4 años ago | 0

| accepted

Date and Hour Vector extraction
Hi hdiba, For a sample datetime you can compute as following script. The same script should work for a Date Time vector...

alrededor de 4 años ago | 0

Can anyone help me with calculating the 1st derivative of a ppg signal ?
Hi Rajeev, You can use gradient function. You can see following links for more details: http://www.mathworks.com/help/mat...

alrededor de 4 años ago | 0

Error in debug mode: Method not defined or removed from search path.
Hi per, If rehash path resolves the issue at least fro the current session, you can save the path by executing the following ...

alrededor de 4 años ago | 0

Editor window cursor line is highlighted - how to disable?
Hi Initial, To Disable this current line highlight feature, do the following: 1. Go to MATLAB preference. 2. In the pre...

alrededor de 4 años ago | 1

Removing linearly dependent rows (or linearly dependent columns) from large matrices (bigger than 250,000 x 250,000)
Hi Riley , From MATLAB preference you can try increasing the JAVA Heap size and see if the issue gets resolved. For this d...

alrededor de 4 años ago | 0

how to use mahalanobis.m to calculate mahalanobis distance of an image

alrededor de 4 años ago | 0

How can i speed up the following?
Hi Bill, You can try to replace the loop by vectorization. Something like below: a = rand(31,31); TmTn = rand(301,301,31,31...

alrededor de 4 años ago | 0

Attempting connection with Arduino and Matlab
Hello Bryan, The origin of this issue could be that the MATLAB serial command is taking longer to respond. Try opening the ar...

alrededor de 4 años ago | 1

| accepted

Divide and conquer inspired sorting
Hello Francesco, MATLAB does not have any function to directly achieve this. As <http://www.mathworks.com/matlabcentral/p...

alrededor de 4 años ago | 0

How to configure to generate DLL from SIMULINK and use the DLL
Hi Dingguo, 1. For model configuration you can have a look into the demo model 'rtwdemo_shrlib'. For this in MATLAB Command ...

alrededor de 4 años ago | 0

What does DT means in the "Fixed-step size (fundamental sample time)" of the Simulink?
Hi Yanhua, There is nothing inbuilt as per documentation as the Fixed step size is DT. One possibility is that there is a cus...

alrededor de 4 años ago | 0

Is there a method to create network using graph(A,node_names) and then displaying it using geoshow()
Hi Mariya, You can draw lines on map using function 'wmline'. For more details, refer to the documentation link: http:/...

alrededor de 4 años ago | 0

| accepted

How do i make two dots, that are going in different direction in a vertical line, crash and then go to different directions?
Hi Sebastian, The following script might address you requirement where a horizontal and vertical moving points crossing each...

alrededor de 4 años ago | 0

Hi Steinar , I think you are missing the coordinate the point for which you want to join by the line. The commands you hav...

alrededor de 4 años ago | 0

How to Cut a 3D plane with a line?
Hi Mahmoud, You can set the value of the F matrix to 0 for the specific region before plotting. You may consider the follo...

alrededor de 4 años ago | 0

P-Median Example Question
Hello Danielle, I observe the error is coming because of the following statement: F = [sum(y)== p, x <= repmat(y',896,1),...

alrededor de 4 años ago | 0

Ignore Deletions with Edit Distances (String Editing)
Hello Marcel, I am assuming that between two strings s1 and s2, s1 is known to be the one which is wrapped with some redundan...

alrededor de 4 años ago | 1

Estimating GARCH(1,1) model with fmincon
Hello Alex, I am not able to see the same example in the link you provided. However there is a possible explanation for this ...

alrededor de 4 años ago | 0

Share Matlab files in the cloud storage with multiple mobiles
Hello Seyedhamidreza, It's seems not to be possible to share the files directly amongst multiple MATLAB mobiles. It's possi...

alrededor de 4 años ago | 2

| accepted

Best way to sort & save num data+indexof1st column ?
Hello Taro, I understand that you would like sort all the columns of a matrix based on the a single column. You can consider ...

alrededor de 4 años ago | 0

| accepted

Wave file creation with Sine
Hi Karthik, In the script linear interpolation is done which might create the issue. Try interp1 with spline option as below,...

alrededor de 4 años ago | 0

Plot Graph Based Pair of Columns
Hi Amritpal, You may consider the script below for this purpose toPlot=zeros(size(data(:,1))) x=[]; y=[]; f...

alrededor de 4 años ago | 0

| accepted

How to post on Facebook using MATLAB?
Hi, The MATLAB built in function 'webwrite' might be helpful for this purpose. For details refer to the following link. htt...

alrededor de 4 años ago | 0

I need to generate in a separate window, the absolute difference (error) between the two functions.
Hello Giannakos, This script outputs approx._output as NAN becasse f(pi/2) is evaluated to be NAN. The anonymous function 'f' ...

alrededor de 4 años ago | 0

Could someone perhaps guide me in the right direction to figure out a way to start this code?
Hi Collin, In this case there would be multiple velocity and launch angles. The formulae for projectile distance is d=(...

alrededor de 4 años ago | 0

How can I resolve this mcc runtime error "cannot open shared object library"?
Hi Clay, Assuming you are using linux machine, there can be several reasons behind this issue, the primary reason being the inc...

más de 4 años ago | 4

Split or extract a part of the data in a cell
Hi greta, My understanding is that you would like to extract a part of cell from a cell array. You can directly access the ...

más de 4 años ago | 0

how to use certain values to write a for loop?
Hi Siddharth, My understanding from your problem statement that you want to check whether the values of the variable 'i' is p...

más de 4 años ago | 1

| accepted