Community Profile

# Siddharth Sundar

### MathWorks

Last seen: 8 maanden ago Active since 2014

Professional Interests: Statistics, Machine Learning, Data Analysis

All

#### Content Feed

View by

Submitted

Energy Trading & Risk Management with MATLAB Webinar Case Study
MATLAB code for the generation asset risk analysis case study

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

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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 ...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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 ...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar 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...

ongeveer 8 jaar ago | 0

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

ongeveer 8 jaar ago | 0