Answered
Does MATLAB support YOLOv4
See this FEX package: https://www.mathworks.com/matlabcentral/fileexchange/75305-yolov3-yolov4-matlab

bijna 4 jaar ago | 3

| accepted

Answered
How to measure how long it takes to run on test set ?
See tic toc: https://www.mathworks.com/help/matlab/ref/tic.html or timeit(): https://www.mathworks.com/help/matlab/ref/timeit.h...

bijna 4 jaar ago | 0

| accepted

Answered
Matlab plot ; How to plot figures like the file attached below
See pcolor(): https://www.mathworks.com/help/matlab/ref/pcolor.html or imagesc(): https://www.mathworks.com/help/matlab/ref/imag...

bijna 4 jaar ago | 0

Answered
Different image filtering results with different types
If you apply conv2() to a uint8 image, it will return a double() matrix. You need to convert it back to uint8 to see the same re...

bijna 4 jaar ago | 1

Answered
Loading structs into a script from the Workspace
This is not a dumb question; it highlights one of the common mistakes which new programmer make, i.e., creating variable names l...

bijna 4 jaar ago | 1

Answered
mean returning wrong answer
You have a 305 in second row. I think it is supposed to be 30.5.

bijna 4 jaar ago | 0

| accepted

Answered
Classifying things into kinds
You can use accumarray() x = [2 3 1 3 5 1 2]; c = accumarray(x(:), (1:numel(x)), [], @(x) {x}) Result >> c{:} ans = 3...

bijna 4 jaar ago | 0

| accepted

Answered
How can i plot transfer function with step signal input?
You can multiplythem together and then use the impulse() function s = tf('s'); G = 2/(s+2); R = 2/s; sys = G*R; impulse(sys...

bijna 4 jaar ago | 1

| accepted

Answered
Function returning one value
You need to use element-wise division y = (x.*((x.^2)-1)./((x.^2)+1).^2); %^ put a dot here Read about eleme...

bijna 4 jaar ago | 0

Answered
How to convert numerical array to string array for table formulation.Below is the 2 attached picture of my command window.
I guess in R2015x the table does not allow the column names to begin with a number. You need to add an alphabet at the beginning...

bijna 4 jaar ago | 0

| accepted

Answered
How to store values from an array to another array using Loops
Most efficient option is to create a matrix and store each output in a column B = zeros(200, 10) for i = 1:10 % calculate...

bijna 4 jaar ago | 1

| accepted

Answered
Manipulating Values in an Array with Logical Indexing
You can use B as a mask A=(C.^2+D.^2).*B Only places in which B is not equal to zero will have non-zero output.

bijna 4 jaar ago | 0

Answered
Failing randomization through closing matlab
Read here: https://www.mathworks.com/help/matlab/math/why-do-random-numbers-repeat-after-startup.html . You can avoid the repeti...

bijna 4 jaar ago | 1

Answered
Image matrix dimensions flipped compared to original image
Commonly image resolution is expressed as width x height. However, in MATLAB the size() returns "number of rows (height)" x "num...

bijna 4 jaar ago | 0

| accepted

Answered
Storing the maximum value in each iteration
You are overwriting the value of X in each iteration of for-loop. Do something like this v0 = [0:2:50]; X = zeros(size(x0)); ...

bijna 4 jaar ago | 0

Answered
How to crop an image using matrices
You can use imcrop(): https://www.mathworks.com/help/images/ref/imcrop.html and then apply imresize(): https://www.mathworks.com...

bijna 4 jaar ago | 0

| accepted

Answered
Extracting data from cell array: Unable to perform assignment because the indices on the left side are not compatible with the size of the right side
Can you explain in which form do you want the output? The following show how you can extract those values and store them in a ce...

bijna 4 jaar ago | 0

Answered
simulink scope range from 0 to 5
Change the stop time of your simulation to 5. Why do you need to run simulation after that? The other option is this: In scope ...

bijna 4 jaar ago | 0

| accepted

Answered
Evaluate a vectorial symbolic matlab function through Matrices and vectors directly
The function handle is not being created in the way you want. Change the matlabFunction line to q = matlabFunction(qsym, 'Vars'...

bijna 4 jaar ago | 0

| accepted

Answered
Find, sort and assign values in matrix
Are you trying to get something like this q3 = [ 1.0000 2.0000 90.0000 4.9424 2.0000 3.0000 91.0000 ...

bijna 4 jaar ago | 0

| accepted

Answered
How do I control exponent in plot
You need to set the exponent property of x-axis'. Something like this ax = gca; ax.XAxis.Exponent = 18;

bijna 4 jaar ago | 0

| accepted

Answered
Wrong output from eigs function
According to the documentation of eigs(), by default, it returns 6 largest eigenvalues and their corresponding eigenvectors. Mat...

bijna 4 jaar ago | 0

| accepted

Answered
How to solve non-linear equations having modulus expression?
See lsqnolin(): https://www.mathworks.com/help/optim/ug/lsqnonlin.html. Or fmincon(): https://www.mathworks.com/help/optim/ug/...

bijna 4 jaar ago | 0

Answered
System of linear equations
See solve(): https://www.mathworks.com/help/symbolic/solve.html from The Symbolic Math toolbox.

bijna 4 jaar ago | 0

Answered
MATLAB Function Generates the Vertices of a Regular N-gon with Line Segments
You need n+1 points, because points at angle of 0 and 2*pi are same. t = linspace(0,1,n+1); Can you explain, what do you mean ...

bijna 4 jaar ago | 0

Answered
Converting cell array to matrix
Use vertcat() coord = vertcat(centroid1{:}) following should also work coord = cell2mat(centroid1.')

bijna 4 jaar ago | 1

| accepted

Answered
How to make the y axis 'counts' and x axis the variable on Histograms
One option is to just rotate the view x = rand(1000,1); histogram(x) view(90, 90) Combining histcounts() with barh() is anot...

bijna 4 jaar ago | 0

Answered
Infinite Recursion in own Levenberg-Marquardt Code
Inside the function korrektur, you are again calling korrektur with the same value of input parameter [s,mu]=korrektur(f,DF,x,...

bijna 4 jaar ago | 1

Answered
imwrite error for saving contents of a cell array in a for loop - "colourmap should have 3 columns"?
Why are you getting the indexed image in frame2im(). Getting an RGB image will make things easier. Change the line to figureIm ...

bijna 4 jaar ago | 2

| accepted

Answered
How to Select Specific Time Intervals Over a series of time steps
Is the data loaded in MATLAB? If yes, you can do something like this dts; % datetime vector; Transp_val; % Transpiration value...

bijna 4 jaar ago | 1

| accepted

Load more