Answered
I want to add the author's name and title of word document file using the matlab code. I get the error: 'Index exceeds matrix dimensions'.
See Mathworks support article: https://www.mathworks.com/matlabcentral/answers/99160-how-to-change-the-internal-properties-of-a...

3 years ago | 0

Answered
add image to legend label
See attached inset demos.

3 years ago | 0

Answered
Kmeans clustering to detect pothole
@Muhammad Zulkifli I agree with DGM and Walter's answers above, with the caveat that it will work only with potholes filled with...

3 years ago | 0

Answered
How to solve exponential variables
OK, here it is adapted with your actual data. Note that it does not look like an exponential decay at all. % Uses fitnlm() to ...

3 years ago | 0

| accepted

Answered
How to solve exponential variables
See attached demo. Adapt it to use your data instead of the data created by the demo code.

3 years ago | 0

Answered
Fitting 3D data into a function
Have you tried the Regression Learner app on the apps tab of the tool ribbon? You give it a set of input predictors, and a set ...

3 years ago | 1

Answered
I get an error when trying to plot
Try making V a vector, and then using ./ and .^ because it's a vector: clear q=38.89 ; %W/m^3 r_o=0.04 ; T_oo=5 ; k=0.5 ;...

3 years ago | 0

| accepted

Answered
We keep getting this error, how can we fix it?
I am not aware of a strcmps() function. Try strcmpi or contains and try [rows, columns, numberOfColorChannels] = size(im1) i...

3 years ago | 0

Answered
remove negative values from one column and the corresponding data in another coloumn
Try this: rowsToDelete = data(:, 1) < 0; % Where values in column 1 are less than 0 data(rowsToDelete, :) = []; % Delete all c...

3 years ago | 0

| accepted

Answered
Annoying Matlab feature enhancements or changes in 2021 update5
You say you're using "Matlab R2011update5". There have been lots of improvements in the last 12 years. Perhaps it's time for y...

3 years ago | 0

Answered
Not detecting one of the classes
Do you have enough of that class? If you didn't use many of that class in training, then perhaps it won't learn how to find it....

3 years ago | 0

Answered
error message - Unrecognized function or variable ‘rec’.
You try to use the variable rec in your code, or try to call a function called rec. But that function or variable does not exis...

3 years ago | 0

Answered
Dot indexing is not supported for variables of this type.
You have PHI_o=O. conj(O); So, because there is a dot after O you're telling MATLAB that the (poorly named) "O" is a structure...

3 years ago | 0

Answered
How can I detect the object in this noisy image?
Why can't you just threshold? mask = grayImage > 35; Beyond that I'm not sure what you want to do. There are functions to thr...

3 years ago | 0

Answered
How to draw a CIELAB color chart?
The best I can offer is https://www.mathworks.com/matlabcentral/fileexchange/51560-get_xyz?s_tid=srchtitle and the attached de...

3 years ago | 0

Answered
Extract RGB values, shape and size of many objects in all images inside a folder.
See the FAQ: Process a sequence of files See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchan...

3 years ago | 0

Answered
Convert bwboundaries to graph
I don't think that is the right approach. Usually what is done is you find the centroid and find the distance of the boundary p...

3 years ago | 0

Answered
How to make normal distribution curve from the bar chart?
That's not a single Gaussian you have there. There are at least two of them. See attached code that can fit the data (your his...

3 years ago | 0

Answered
Color's histogram and histogram's comparasion.
You're going to have to round r, g, and b because they're not integers and can't be used as indexes. Don't use image as the nam...

3 years ago | 0

Answered
How to apply Gaussian blur to a specific area (oval) in an image?
Use imgaussfilt on the whole image. Then get an annular mask that is just the edges of the oval. Replace the pixels in that an...

3 years ago | 1

Answered
Calculate intensity of bright and dark blobs in the image
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

3 years ago | 0

Answered
Calculate intensity of bright and dark blobs in the image
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

3 years ago | 0

| accepted

Answered
Is it possible to save a corrupted .mlapp file?
The problem is you gave the name of your .mlapp file as the name for your MAT file when you saved it. This is a disaster. Basi...

3 years ago | 0

| accepted

Answered
3d plotting error - incorrect dimensions
Try using ./ instead of / and .* instead of *

3 years ago | 0

| accepted

Answered
How to remove rows in table?
Try this (untested): % Nahratie tabulky LabelData load('LabelData.mat'); % Zadanie ciest k obrazkom, ktoré chceš vymazať p...

3 years ago | 0

Answered
Help with importing data from Excel
Evidently readtable is calling strtrim internally according to your description of its behavior. If you want the space to remai...

3 years ago | 0

Answered
what is the implementation code for this ?
Click on the "Code view" button just above and to the right of the graph to see the source code, which is what I think you're ca...

3 years ago | 0

Answered
I need to save a value stored in a variable in a matlab function in a separate Excel file
You need to create your output inside the function then return it to the calling routine: function output = pde_TwoTemperature_...

3 years ago | 0

Answered
How to improve object detector?
Train with more images and train for longer.

3 years ago | 0

| accepted

Answered
How to apply a mask to a list of same-size face images?
You can just apply your mask to each color channel. [r, g, b] = imsplit(r, g, b); r(mask) = desiredRedValue; g(mask) = desire...

3 years ago | 0

Load more