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

4 years ago | 0

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

Answered
How can I extract an entire column from a struct inside a bus?
Hi, I understand what you are trying to accomplish. Please go through the below mentioned links names as Link1 and Link2. Link...

4 years ago | 0

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

4 years 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:...

4 years ago

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

4 years ago | 0

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

4 years ago | 0

| accepted

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 1

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

4 years ago | 0

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

4 years ago | 1

Answered
Simulating the decision of a bagged tree
Hi, I understand that you want to know how predict function in TreeBagger takes its decision. The function predict returns a c...

4 years ago | 0

| accepted

Answered
How to convert pseudo code into MAT LAB
Hi, I understand that you want to convert the mentioned above pseudocode into MATLAB. Below is the mentioned implementation of ...

5 years ago | 0