# Arnab Sen

### MathWorks

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 .

**Statistics**

**MATLAB Answers**

**0** Questions

**66** Answers

RANK**765**

of 289 510

REPUTATION**90**

CONTRIBUTIONS

**0** Questions

**66** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**20**

RANK

of 19 557

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 143 796

CONTRIBUTIONS

**0** Problems

**0** Solutions

SCORE**0**

NUMBER OF BADGES**0**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

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

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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 ...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år ago | 0

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

Hi junfei, The following links might be helpful: http://www.mathworks.com/matlabcentral/answers/75451-mahalanobis-distance...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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 ...

nästan 8 år 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...

nästan 8 år 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:/...

nästan 8 år 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...

nästan 8 år ago | 0

LineWidth adding square dimensional.

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

nästan 8 år 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...

nästan 8 år 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),...

nästan 8 år 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...

nästan 8 år 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 ...

nästan 8 år 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...

nästan 8 år 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 ...

nästan 8 år 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,...

nästan 8 år 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...

nästan 8 år 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...

nästan 8 år 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' ...

nästan 8 år 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=(...

nästan 8 år 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...

ungefär 8 år ago | 5

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

ungefär 8 år 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...

ungefär 8 år ago | 1

| accepted

Help with Newton's Root Method Code

Hi Jose, I do not find any flaw as such in the code you provide. But the fact is Newton method does not always gives the out...

ungefär 8 år ago | 0