Réponse apportée
invalid use of operator for matlab loop?
This works: % Load the data from the .xlsx file data = readtable('Final_COVID_Data (1).xls'); % Initialize count values for e...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
how to write exponential equations in matlab
This works: x = [0.3, 0.4]; % [x1, x2] g = MyFunction(x) function g = MyFunction(x) g(1) = 2+4*x(1)*exp(2*x(1)^2+x(2)^2); ...

plus de 3 ans il y a | 0

Réponse apportée
can someone help with this error please
x1 has 41 elements while x2 has 45 elements, so how can you subtract them?

plus de 3 ans il y a | 0

Réponse apportée
How to classify image in standard alone application ?
Are you sure you shipped all the files you were supposed to (like the .exe and the .mat files)? Did you ship a sample image tha...

plus de 3 ans il y a | 1

Réponse apportée
ocr not recognizing some numbers
ocr needs the image of the letters or numbers to be at least 20 pixels high. I don't think yours are. If your digits are alway...

plus de 3 ans il y a | 0

Réponse apportée
Help in creating video for particle trajectory
Try this: % Demo to create a movie file from a quadratic curve plot, and then optionally save it to disk as an avi video file. ...

plus de 3 ans il y a | 0

Réponse apportée
Referenced White Balance of an image
This is the best algorithm I've run across: Mark Grundland Color Histogram Specification by Histogram Warping Sorry, I don't h...

plus de 3 ans il y a | 0

Réponse apportée
Function for visualisation of raw data -Ovarian cancer
Try this: load('OvarianCancer.mat') plot(X, '-'); grid on; Do you want to make a model of it? Do you have any ground truth ...

plus de 3 ans il y a | 0

Réponse apportée
Help in creating video for particle trajectory
See attached demo where I make a movie of a graph that changes over time. Adapt as needed.

plus de 3 ans il y a | 0

Réponse apportée
I have the following signal with some peaks and some valleys. Is it possible to make the baseline zero?
How about you threshold to extract everything between 0 and -0.5? Then fit a line to it and subtract it from the original signa...

plus de 3 ans il y a | 0

Réponse apportée
Finding an Object with multiple labels in another image
What do you know about that trashman? Do you know it's always in the lower left? What do you know about the other images? Wil...

plus de 3 ans il y a | 0

Réponse apportée
fill a matrix within a loop
Here's what I get, after adding comments and clarifying the variable names.: fileName = 'resh_matr_mat_fil_non_bool.mat'; load...

plus de 3 ans il y a | 0

Réponse apportée
How do I get the a/y axes labels to show correctly?
You're not setting all the labels for those plots, specifically, you're not setting the vertical axis label for the bottom two p...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Coordinates of markers in picture
Use regionprops to find the centroid. Then use bwboundaries to find the coordinates of the boundary of the square. Find the di...

plus de 3 ans il y a | 0

Réponse apportée
image processing questions. i have been coding all night and i dont know if some one could help me with this last code please
See attached blockproc demos. Adapt as needed.

plus de 3 ans il y a | 0

Réponse apportée
How do I find unique points in an array in a certain context?
Try this: time = [ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19]'; x_coord = [ 1 1 1 rand(1,6) 1 1 1 rand(1,5) 1 1]'; y_co...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
How to find the closest rows (positions/entities) in two mby3 matrixes?
Try this. Adapt as needed: % Create sample data. xyz1 = rand(4, 3); xyz2 = rand(4, 3) + 1.5; plot3(xyz1(:, 1), xyz1(:, 2), ...

plus de 3 ans il y a | 0

Réponse apportée
Difficulty in understanding Dynamic time warping plots
The x axis is in elements or indexes. If you want it in millseconds you have to create an x vector and use it in plot x1 = lin...

plus de 3 ans il y a | 0

Réponse apportée
Why do I get a 0s list with just the first value is correct?
You didn't look at the size. Try s = numel(X) or s = size(X, 2)

plus de 3 ans il y a | 0

Réponse apportée
How to deseasonalize this temperature record?
If you have the Signal Processing Toolbox, I'd use a Savitzky-Golay filter, sgolayfilt, with a third order polynomial and a wind...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Moving standard Deviation and Average
If you want to slide the 15 element window along an element at a time, use movmean and movstd. If you want to move in "jumps" ...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
A faster and more compact way to create a list of distances among all the pairs of points
Try pdist2 % Input (x and y coordinates of 6 points) x = [1 2 2 3 4 5]; y = [1 2 3 7 2 5]; xy = [x(:), y(:)] % Get distance...

plus de 3 ans il y a | 1

Réponse apportée
The cause of the error related to statistical functions when using EEGLAB
I have this problem with Eigenvector's PLS toolbox. There are several functions (skewness, dataset, etc.) that they claim they ...

plus de 3 ans il y a | 1

| A accepté

Réponse apportée
Create a series of variables with names that include numbers
See the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_create_variables_A1,_A2,...,_A10_in_a_loop?

plus de 3 ans il y a | 0

Réponse apportée
How to find curved length of an object inside a channel with reference to channel height?
Why can't you keep your camera still so that your tube is always in the same location instead of being virtually anywhere in the...

plus de 3 ans il y a | 0

| A accepté

Réponse apportée
Error in my code
You can't do this: 51=1; 52=1; 53=1; Fifty one is NOT one, and it makes absolutely no sense to try to send a constant n...

plus de 3 ans il y a | 0

Réponse apportée
Why do I get "Array indices must be positive integers or logical values"
See the FAQ for a thorough discussion: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_int...

plus de 3 ans il y a | 0

Réponse apportée
object recognition in image
Depends on your images and your target object. For widest range of how things look, you should investigate Deep Learning CNN cl...

plus de 3 ans il y a | 0

Réponse apportée
I am a begginer. I got error saying "Not enough input arguments." etc
Try this: IndexImg = ones(size(InputImg), class(InputImg));

plus de 3 ans il y a | 0

| A accepté

Charger plus