# 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**681**

of 265 149

REPUTATION**90**

CONTRIBUTIONS

**0** Questions

**66** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**20**

RANK

of 18 112

REPUTATION**N/A**

AVERAGE RATING**0.00**

CONTRIBUTIONS**0** Files

DOWNLOADS **0**

ALL TIME DOWNLOADS**0**

RANK

of 116 241

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

mer än 6 å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...

mer än 6 å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...

mer än 6 å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 ...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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 ...

mer än 6 å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...

mer än 6 å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:/...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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),...

mer än 6 å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...

mer än 6 å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 ...

mer än 6 å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...

mer än 6 å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 ...

mer än 6 å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,...

mer än 6 å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...

mer än 6 å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...

mer än 6 å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' ...

mer än 6 å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=(...

mer än 6 å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...

mer än 6 å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 ...

mer än 6 å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...

mer än 6 å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...

mer än 6 år ago | 0