How to create a structural array from a txt file?
Hi, I understand that you want to extract data from a txt file and further save it in a struct or a matrix. There are two ways ...

12 months ago | 0

I want to make a background black and foreground is same as original.
Hi, You can try activecontour and lazysnapping. Both of them are for segmenting image into background and foreground using con...

1 year ago | 0

From a matrix, Pick one element from each row and not from same column for all possibilities. Only for non zero elements.
Hi, Your requirements are answered in a similar question mentioned in this link. Also, selecting set of elements from a matrix...

1 year ago | 0

| accepted

How to find a correlation coefficient of each variable from a multivariable dataset?
Hi, Correlation can be observed between all pair of features and it can tell you how strongly are those variables related. C...

1 year ago | 0

Help needed in solving differential equation
Hi, I understand what you are trying to accomplish. Please refer to this link for solving it using direct method and refer to ...

1 year ago | 0

| accepted

I have some data at hand, I want to correlate them, but I do not know what is the equation I should need, how can I do it ?
Hi, Assuming your data has more than one features/variables, say M features and N data points. Now, correlation can be obser...

1 year ago | 0

classificationLearner/machine learning question
Hi, I understand you are trying to find a metric to measure your model performance. K-Fold: Usually, we split the data set in...

1 year ago | 0

| accepted

How to import table from website
Hi, You might want to check out the below mentioned links. They will hopefully meet the needs of your problem. Link 1 : web...

1 year ago | 0

How can I extract an entire column from a struct inside a bus?

1 year ago | 0

Is there a way to clean the image such that the smaller pieces are not included?
Hi, I understand what you are trying to achieve, please have a look at this. It might help you filter out the smaller pieces th...

1 year ago | 0

| accepted

Solved

Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...

1 year ago

Utilizing fmincon or fminsearch
Hi, I understand that you want to solve this optimization problem. This can be achieved using linprog. Please go through the fo...

1 year ago | 0

I would like to extract tweets from twitter for a specific timerange, help me! How could i do?
Hi, I understand that you want to extract tweets for a specific time range. statuses = d.Body.Data.statuses; %This will g...

1 year ago | 0

| accepted

Dummy variable or if statement
Hi, As far as I understand, you want to analyse the variable "shots" and its impact on the final result. I think the following...

1 year ago | 0

How to get accuracy rate, error rate, precission, recall and kappa for fitglm model?
Hi, I understand that you want to compute the following metrics to evaluate your model. I hope the following explaination help...

1 year ago | 0

View the tree ensemble trained by fitcensemble
Hi, I understand that you want to visualize your ensemble after training it on a dataset. You can try replacing 2nd line of co...

1 year ago | 0

Is there any way to have live editing in MATLAB?
Hi, I understand that you want to do collaborative editing within same file with other members of your team in real time. It i...

1 year ago | 1

Train_X must be a float.
Hi, I see that you are not able to train your model because of the data type of your training data. I think the following snipp...

1 year ago | 0

Multivariant regression, fitting the curve with multiple variables .
Hi, I understand that you want to fit a line/curve to your dataset. Assuming X is your data matrix with NxM dimensions where N ...

1 year ago | 1