Respondida
Calculate average size of circles in jpg
"Is there a simple way to calculate size of every bubble on my picture..?" Using the image you provided, I came up with the f...

alrededor de 6 años hace | 0

Pregunta


Create polygons from circles x, y and radii
I have 11k circles with the x/y coordinates and radii, but I want to patch them all with specific colours from the 11000-by-3 RG...

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

Respondida
How do I add values to a vector instead of replacing them?
I think you meant to do allIDs(i,:)

alrededor de 6 años hace | 0

Respondida
How to identify area of a matrix with same values
This question is similar to this one asked before ( <https://mathworks.com/matlabcentral/answers/402080-how-to-find-the-neighbor...

alrededor de 6 años hace | 0

Respondida
Search Excel spreadsheet for specific value
Something like this? %read your sheet X = xlsread('my-excel-sheet.xlsx'); %the value your looking for T = 380; ...

alrededor de 6 años hace | 1

| aceptada

Respondida
readFrame returns nothing on videos with bit depth 10 bits
After carefully checking the differences between some of the videos, I noticed that some had bit depth of 10 bits (didn't work) ...

alrededor de 6 años hace | 0

| aceptada

Pregunta


readFrame returns nothing on videos with bit depth 10 bits
I'm trying to read the frames from MKV/MP4 videos with either `read` or `readFrame` but I noticed the following while doing so: ...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Respondida
How do I call this function into my main code and assign an output to it ?
If I got this correct, you got 2 files: %mainfile.m ... some code and variables CA, CH, CV, CD and %decompose...

alrededor de 6 años hace | 0

| aceptada

Respondida
how to make a video out of sequenced images in order
I had this problem a couple of days ago myself. This is because in `pngFiles.name` you have your filenames, but they are ordered...

alrededor de 6 años hace | 1

| aceptada

Respondida
How to convert a time series to a binary sequence?
I would have suggested to use `de2bi` but then noticed your array contains floats. Someone else already answered a similiar qu...

alrededor de 6 años hace | 1

Pregunta


Voronoi polygon patching without looping
I recently learned that you can patch delaunay triangles easily in one go by using the options `Faces` and `Vertices`, but for t...

alrededor de 6 años hace | 0 respuestas | 0

0

respuestas

Enviada


Crop padding and resize images
Easy to use function for cropping padding and resizing of RGB/grayscale images.

alrededor de 6 años hace | 1 descarga |

Pregunta


Looking for a way to patch 44k polygons fast
The following is a part of a function that patches triangles with the corresponding colours using a for-loop for ...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Crop coloured padding of image
So this is pretty much a follow-up question to <https://mathworks.com/matlabcentral/answers/423864-remove-white-padding-from-ima...

alrededor de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Remove white padding from image
I want to remove white padding from an image (see attachment). The size of the padding is random. So I was thinking of readi...

alrededor de 6 años hace | 2 respuestas | 0

2

respuestas

Respondida
Greek letter and subscript at the same time in axis label
You almost had it xlabel('\Delta H_{B}')

alrededor de 6 años hace | 0

| aceptada

Respondida
Why does Matlab give me the entire string instead of just one element?
It would be usefull if you read the documentation on <https://nl.mathworks.com/help/matlab/ref/string.html?s_tid=doc_ta strings>...

alrededor de 6 años hace | 1

Respondida
Syntax for numerically integrating an anonymous function on one of its variables
You're missing some dots in your expression. Dots stand for element-wise multiplication when using arrays/matrices, so you need ...

alrededor de 6 años hace | 1

Respondida
How do I create a string for values
Well P is of type double and you're trying to smash some strings into them, which results in NaNs. You have several options, but...

alrededor de 6 años hace | 0

Respondida
Error: Why does Matlab keep on saying this?
The problem lies not with the code you provided, but with the code before that. I see that in your second screenshot, you ended ...

alrededor de 6 años hace | 0

| aceptada

Respondida
Using yyaxis how do I limit and select a range for the y and x axis?
If you're question is on how to use <https://nl.mathworks.com/help/matlab/ref/xlim.html xlim>, <https://nl.mathworks.com/help/ma...

alrededor de 6 años hace | 2

| aceptada

Pregunta


Split vector by parts with more evenly distributed length
While my <https://nl.mathworks.com/matlabcentral/answers/397352-split-variable-length-vector-by-parts previous question> got ans...

más de 6 años hace | 2 respuestas | 0

2

respuestas

Pregunta


Superscript/subscript in 'insertText' string
I'm overlaying some text over an image, but `insertText` doesn't interpret subscript/superscript for some reason. IT = inser...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Pregunta


Split variable length vector by parts
So it's probably an easy solution, but can't really find the answer that quick. I have the following vector: V = [1 2 3...

más de 6 años hace | 1 respuesta | 0

1

respuesta

Respondida
could anyone tell me how to set the x axis to (2 4 6 8 10 12)
Like so plot(x,y); xlim([2,12]); set(gca,'XTick',[2:2:12]);

más de 6 años hace | 1

| aceptada

Respondida
for loop n*n matrix with a given formula
I assume your looking for something like this, so you'll end up with a matrix h with size 71x71 (rows = x, columns = y) cle...

más de 6 años hace | 0

Respondida
delete excel rows whose first column is 0
I just created some test data (numeric/text) to try and remove the rows that contain zeros in the first column. Think this is on...

más de 6 años hace | 1

| aceptada

Respondida
how to plot the graph for the following data with respect to x axis and y axis.
You can plot it easily like so: x_data = [2,4,6,8,10]; y_data = [1.35,4.16,4.12,4.83,4.35]; plot(x_data,y_data); ...

más de 6 años hace | 0

| aceptada

Respondida
how can i use Random Forest classifier for dataset with 43 classes?
<https://mathworks.com/help/stats/treebagger.html> or use the Classification Learner app.

casi 7 años hace | 0

Respondida
Manipulate numbers in existing txt file
I don't know if I understand the question correctly, but if you want to change 'l_overall (mm)' to '5000' in your text file, you...

casi 7 años hace | 0

Cargar más