Answered
How is predictor importance for classification trees calculated?
Hi Ryan, Yes, risk means impurity reduction if using the Gini index as the splitting criterion. You can also give 'twoing' or '...

1 month ago | 0

Answered
for loop to use iteration and time
Hi Murat, In order to assign 5th element of T_pu to 1st element of T_pu_time, 10th element of T_pu == 2nd element of T_pu_time ...

1 month ago | 0

Answered
possibility to add inputs
Hi Alberto, You can find the documentation for bagOfFeatures here, where you can see that there are other arguments given along...

1 month ago | 0

| accepted

Answered
how to change color images
Hi, You can find many similar examples in imfuse, imregister and style transfer. Though style transfer may not be applicable i...

1 month ago | 0

| accepted

Answered
Problem with if statement
Hi Francesco, The best workaround in such situations is to place a breakpoint where you feel the problem is and check all the v...

1 month ago | 1

Answered
Saving Data for Each for loop
Hi Sohel, The above function throws an error when we try to run it with n1 and n2 having 5 values. The error displayed is - I...

1 month ago | 0

Answered
Why number of class shows 1 ?
Hi Ceren, The given code and the model seem to work fine for me for a DigitDataset, with an accuracy of 99.4%. Where you might...

1 month ago | 0

Answered
How can I plot this code?
Hi Hdez, You can simply plot using plot command - plot(T2) To know more about plot command, you can refer here, or if you wan...

1 month ago | 0

Answered
Finding global maxima from 3D plot data
Hi John, I could find a very similar question here, which would lead you to an answer here. Additionaly, you can find more res...

1 month ago | 0

Answered
'setprecision', 24
Hi, On running the same code, and then verifying the variable precision being used, I could see that the variable precision wa...

1 month ago | 0

Answered
Viterbi algorith for trellis traceback
Hi Mohamad, You should try printing individual arrays [2,1]+i and [(0:7)',S(:,2+i)-1]' and ensure that the array sizes are same...

1 month ago | 0

Answered
Arrange images from a video in a 2 row 3 column grid to print on a piece of A4 paper
Hi Pieter, You can use subplot function to arrange the images in a 2x3 grid (documentation). Further on, you can print the doc...

2 months ago | 0

Answered
how to compute and plot mean square error for two vectors?
Hi Deepak, You can plot MSE/Loss and accuracy for each iteration of your training/testing. To do this, you can make a network ...

2 months ago | 0

| accepted

Answered
Mathworks example A* pathfinding algorithm problems
Hi Rhys, You can find a few examples of A* algorithm implentation in MATLAB from here - link1 and link2. You can make changes ...

2 months ago | 0

Answered
K fold validation for feedforward net
Hi Abdulaziz, cvparition partitions data for cross-validation. It defines a random partition on data set and uses it to define ...

2 months ago | 0

Answered
For loop error: unable to perform assignment because left and right sides have a different number of elements
Hi, You can plan to use either Structure array, or a Cell array. You could have also constructed variable name from string, how...

2 months ago | 0

| accepted

Answered
Is this code for plotting linear regression in loglog scale and confidence intervals correct?
Hi Gianluca, Yes, the code seems to be correct. Moreover, you can look at the documentation on how to train/test data using l...

2 months ago | 0

| accepted

Answered
create a gif or video using this sequence of figures
Hi, Apart from all the resources provided in the comments above, the below links would surely help you - 1.) Link 1 2.) Link ...

2 months ago | 0

Answered
Reinforcement Learning Toolbox RAM increment
Hi Tech, The RAM utilization is expected to increase significantly. This is because there are multiple number of complex mathe...

2 months ago | 0

Answered
what is the infoC?
Hi Akmal, On doing a quick seach in the code directory of MATLAB, I found that there is no such package or line of code mention...

2 months ago | 0

| accepted

Answered
Matlab compiler - splash screen quality
Hi Jonas, The first thing you can try is to change the splash screen itself. You can find the code here. Then, you should try ...

2 months ago | 0

Answered
function lla2flat in R2020a
Hi, You can look into the references for the function lla2flat for any information.

2 months ago | 0

Answered
Can't train a custom neural network
Hi Alessandro, For any information on using U-Net in MATLAB, you can find the documentation here. Since you are planning to u...

2 months ago | 0

Answered
indexing with cells (need specific value in all the rows of a column
Hi Scott, While using tx_data{:,6}(3,:), you were expected to get an error. That's because intermediate brace {} indexing produ...

2 months ago | 0

Answered
Adding values to cells as the indices increase
Hi Holmbrero, I understand that you wish to add multiples of constants to each row. I am providing with a pseudo-code to help y...

2 months ago | 0

| accepted

Answered
Creating automated multiple variables to store excel table in a loop
Hi Naman, You can use readtable function to create table from an excel file and then create a loop e.g. - for i = 1:3 dat...

5 months ago | 0

| accepted

Answered
Superimpose the graph of a function onto a streamline field
Hey David, You can try using hold on function. One such example can be found here.

5 months ago | 0

| accepted

Answered
Getframe very slow in loop
Hey Manav, getFrame captures the whole frame of the current figure and saves it into a struct. So, it is expected to take this ...

5 months ago | 0

Answered
Counting the number of fine bubbles in a glass bottle/container
Hey Darwin, Kindly look at one such similar question and the suggested answer here which, in turn, would lead you to the follow...

5 months ago | 0

Answered
Where can I find practical examples of unsupervised image super resolution?
Hey Nour, This is an example of supervised image super resolution. You can refer to it, can modify it according to your use cas...

5 months ago | 0

Load more