# Siddharth Sundar

### MathWorks

Professional Interests: Statistics, Machine Learning, Data Analysis

**Statistics**

RANK**1 062**

of 276 024

REPUTATION**54**

CONTRIBUTIONS

**0** Questions

**20** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**9**

RANK**785** of 18 585

REPUTATION**2 233**

AVERAGE RATING**4.90**

CONTRIBUTIONS**1** File

DOWNLOADS **16**

ALL TIME DOWNLOADS**21647**

RANK

of 125 804

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

Submitted

Energy Trading & Risk Management with MATLAB Webinar Case Study

MATLAB code for the generation asset risk analysis case study

mer än 6 år ago | 16 downloads |

How to show Sample Size at Each Split in Tree using fitctree?

If I understand correctly, you want to be able to extract the subset of observations used at each split in a node. The CutPr...

mer än 8 år ago | 0

How to have Tree able to do Multiple Splits at each Node rather than just 2 using fitctree?

As mentioned in <http://www.mathworks.com/help/stats/classification-trees-and-regression-trees.html this doc page>, Statistics T...

mer än 8 år ago | 0

| accepted

What is the difference between quadratic and mahalanobis distance with stratified covaraiance estimates when using classify

The first place I would look at when trying to get some details about the Math behind the implementation would be the references...

mer än 8 år ago | 0

| accepted

maximization problem with random variables.

From what I understand, you want to maximize an expected value functional. Since there are random numbers involved, the optimiza...

mer än 8 år ago | 0

How to find first crossing of a threshold, then ignore n datapoints after?

If I understand correctly, you just want to be able to find the indices where your values in a vector cross a certain threshold ...

mer än 8 år ago | 2

How can I turn new dummy variables into the same dummy variables I used to create a model?

There is no direct way to tell *dummyvar* to use a previously created *dummyvar* predictor matrix as a reference. So, in this ca...

mer än 8 år ago | 0

| accepted

How to put big text into an array

Though I do not quite understand what you mean by 'sort it with a loop', a good place to start with would be the <http://www.mat...

mer än 8 år ago | 0

| accepted

Invalid Matrix Dimensions Error with frprintf

Nothing in the above code seems to point towards any error. You might have a variable called *fprintf* defined in your workspace...

mer än 8 år ago | 0

| accepted

HELP.....running on different monitors has messed up GUI

Setting the Resize behavior property to "Proportional" causes all the units of the objects to be set to 'normalized'. This will ...

mer än 8 år ago | 0

| accepted

Error when using kmedoids with custom distance function

Within the *kmedoids* function, there is a check on the distance metric to see if it is a string or a function handle. In your c...

mer än 8 år ago | 0

| accepted

How do I suppress the splash screen for compiled applications in 2014b?

This is not possible directly. As a workaround, do NOT distribute the splash screen image file from the *for_redistribution_fil...

mer än 8 år ago | 0

physical vs. logical core allocation for Matlab in slurm

For optimal performance, I would say that you should have one worker per physical core. Even though you have hyperthreading enab...

mer än 8 år ago | 1

Solved the graph. Drawed the function. How to plot the x solution marked with a ring...

I would suggest that you rework your code in the function *my_newton* to handle multiple x0 values in one call by passing a vect...

mer än 8 år ago | 0

MATLAB crashes when I try to plot.

I would suggest that you use the *-softwareopengl* startup option and see if that resolves the issue. This startup option forces...

mer än 8 år ago | 2

| accepted

Calculate VaR for equity portfolio

You could first create a *PortfolioCVaR* object. The PortfolioCVaR object has a method to compute the value-at-risk of portfolio...

mer än 8 år ago | 0

Error when running patternnet example code from Help documentation

From the error, it looks like you could have another function *softmax* that shadows the one shipped with the product. So you mi...

mer än 8 år ago | 4

| accepted

Finding cluster centre in hierarchial clustering

Hierarchical Clustering does not use a cluster center based clustering. This doc page talks about what goes on under the hood wh...

mer än 8 år ago | 0

Compiling MATLAB applications with LARGEADDRESSAWARE

If you are running it on a 32 bit OS, then your applications are limited to using 2GB and the rest of it used by the OS in itsel...

mer än 8 år ago | 0

Step size adjustment of ODE15s

I understand that you want to some information about how *ode15s* adjusts the time step size. In general, in the absence of s...

mer än 8 år ago | 0

Why do mattest and ttest2 produce two different p-values?

I understand that you want to know why the functions *mattest* and *ttest2* behave differently for the same input. Both func...

mer än 8 år ago | 0