Is random forest a classification ensemble methode?
I suggest you read the documentation on TreeBagger. "Treebagger grows the decision trees in the ensemble using bootstrap sampl...

meer dan een jaar ago | 0

How to save file as pdf?
Well I don't think you can call saveas with an output argument which is why it gave you the error (see saveas documentation here...

meer dan een jaar ago | 0

Question

rng(s) takes previous seed instead of current one
I've encountered this problem when using functions in combination with user input and rng(s). To clarify my problem, I've got th...

meer dan een jaar ago | 2 answers | 0

2

An iteration Code causing error
You say you're getting an error, but you didnt specify it in the description of your question. I ran the script and I assume you...

meer dan een jaar ago | 0

How to get the columns of non zero matrix?
Your example is a bit vague, but if the main question is to find the non-zero values in the matrix, I would suggest using the fo...

meer dan een jaar ago | 1

| accepted

Loop the Functions and store the values (placeholder) for Plotting
There are 2 ways to solve this Hold on and plot the result within the loop figure(); hold on; for t=1:0.1:10 [q_kp1,e]...

meer dan een jaar ago | 0

| accepted

How to evaluate an array filled with symbolic integrals?
I don't know if this is exactly what you're looking for, but I would do something like this clear all; syms ss; T = [2e-...

meer dan een jaar ago | 0

Uning Only Interger Values
You could use round(), floor(), ceil() to first round the floats to integers and then use unique() to remove possible duplicates...

meer dan een jaar ago | 0

| accepted

How can i stop the loop iteration using pushbutton callback in MATLAB GUI?
If you want to stop your iteration (for/while loop), you could try break instead of return.

meer dan een jaar ago | 0

Find the number of rows and columns of non-zero number from certain row.
You can do something like this [r, c] = find(Matr(1:6,:)); res = [r c] %res = % % 3 1 % 5 1 % 6 2...

meer dan een jaar ago | 2

| accepted

HOW TO DISPLAY VALUE OF BARS USING BAR3

meer dan een jaar ago | 0

Write Large Video Files
You could've clarified on which lines your error(s) occured, but like the error says, it's most likely that that one of your fra...

meer dan een jaar ago | 0

| accepted

Can I build an app of game with Matlab? I am trying to apply what i know for now
Yes you can. Many examples of (simple) games and other "fun" applications can be found on <https://mathworks.com/matlabcentral/f...

meer dan een jaar ago | 0

missing frames in mp4
From the documentation on *VideoReader* v = VideoReader('stefan.mp4'); currAxes = axes; while hasFrame(v) v...

meer dan een jaar ago | 0

How to retrieve an unknown value from a matrix
Instead of det(A) = 0; %which should've created an error for you You could use *solve* like this to find _w_ syms ...

meer dan een jaar ago | 0

Undefined operator '-' for input arguments of type 'cell'.

meer dan een jaar ago | 0

| accepted

How do i write a loop for x=1:10

meer dan een jaar ago | 0

how can I display one of the images instead of displaying all? can anybody help me please
Well you've created a for-loop, so it shows all of the images in those figures. If you only want to display 1 specific image, yo...

meer dan een jaar ago | 0

| accepted

How to detect circles in the this image?
If you have the "Image Processing Toolbox", you can try *imfindcircles* & *viscircles* > <https://mathworks.com/help/images/ref/...

meer dan een jaar ago | 0

Hey please assist me with plotting this function, not sure why im getting indexing error
First off % \/ you missed a * sign here y1=(3/10)*(1-exp(-6*t)(cos(sqrt(14*t))+(((3*sqrt(14))/7)*sin(...

meer dan een jaar ago | 0

Problem using subs function
Even without being an expert in Matlab, the error should be pretty clear. Division by zero. This makes sense because *X*...

meer dan een jaar ago | 0

How do I automatically run an .m file?
Make a function out of it... %% GraphFunction.m [outputarguments] = function GraphFunction(inputarguments) %leave empt...

meer dan een jaar ago | 0

Can anybody help me for recognizing 0-9 printed digits?
I think <https://blogs.mathworks.com/loren/2015/08/04/artificial-neural-networks-for-beginners/ this post> is a good start

meer dan een jaar ago | 0

| accepted

How to solve this weird problem in Matlab?
So I've tried this and got the same result. syms x3 a = 10e6; b = 10e6; x1 = 1.001; x2 = 0.9998; eqn = a*x...

meer dan een jaar ago | 0

How to plot a 3D image through its coordinates?
After a quick search, I found <https://mathworks.com/matlabcentral/fileexchange/1420-scatterbar3 this> useful function on FEX ca...

meer dan een jaar ago | 0

how to add date in the title ?
%get days only \/ output format t = char(datetime({'14-4-...

meer dan een jaar ago | 0

| accepted

It says : Not a valid input. You must enter freshman, sophomore, junior, or senior. How can i fix it ?
Your variable *studentsYear* returns a value 1, 2, 3 or 4 as defined by the order in your menu. So you should use the integers 1...

meer dan een jaar ago | 0

"Array indices must be positive integers or logical values error" for histogram equalization implementation?
Normally when you get the error... Array indices must be positive integers or logical values error ...this should ring a...

meer dan een jaar ago | 1

How to make a histogram plot show as many lines (bars) instead of one long line showing the high points?
Without looking at the code, I've already seen that you used `plot` instead of `histogram` or `bar` function. You see, when you ...

meer dan een jaar ago | 0

| accepted