Respondida
How to make contour smooth
Looks like you used contourf on some gray scale image. You can get smoother contours by blurring your image before calling cont...

casi 3 años hace | 0

Respondida
comparing two matrices of different dimensions
Here is an alternate way using pdist2 in the Statistics and Machine Learning Toolbox. % Create simple, sample integer data. A ...

casi 3 años hace | 0

Respondida
I have 2D images of black balls and white inter-balls spaces. I want a CNN to recognise the white area. I think it's a grayscale binary image segmentation task
Training with synthetic images and then running on real world images will likely produce inaccurate segmentations and porosity e...

casi 3 años hace | 2

| aceptada

Respondida
Turning all elements of a column array into the same factor of 10
Try round X = [19.9, 20, 20, 20.1, 20.12, 19.81, 20, 32, 46]; rounded = round(X, -1)

casi 3 años hace | 1

| aceptada

Poll


My preferred vacation is to visit

casi 3 años hace | 13709 votes | 15 comments

Respondida
Saving and reloading a table
That should work. You'll need to show us how you actually saved it with the save function. What I'd do is %------------------...

casi 3 años hace | 0

Respondida
I'm finding it difficult to execute loadcase functions using MATPOWER toolbox.
You have a file called loadcase.m. The code in that file is a script, not a function. So it cannot take an input argument. Ye...

casi 3 años hace | 0

| aceptada

Respondida
Write a MATLAB program which will ask the user for a number. If the number is equal to two times a predefined number, the program should print out a welcome message. Otherwise
This looks like a homework problem. If you have any questions ask your instructor or read the link below to get started: How d...

casi 3 años hace | 1

Respondida
saving the R G B values displayed with impixelinfo in an image into a matrix
Use imread to read it into an array before you display it. Then you'll have all the RGB values. It's much easier to do it this...

casi 3 años hace | 0

Respondida
save the RGB numbers of an image inside a cell
I know you said you want a cell but I think you really don't want a slow, inefficient, memory hogging cell array. I think you s...

casi 3 años hace | 1

Respondida
Tracking Surface Features Over Multiple Images
I'm still not sure what feature you want to measure in those images, like mean intensity/color, area, centroid, number of blobs,...

casi 3 años hace | 0

| aceptada

Respondida
How would I perform a weighted least-squares regression analysis with x and y error?
Do you want to simply use polyfit to fit a polynomial? If so, see attached demo.

casi 3 años hace | 0

Respondida
Setting graph colour also visible in greyscale
If you want you can set up your own colormap. You might want to use gray and then use just specific rows from it, like you did ...

casi 3 años hace | 0

Respondida
How to add different shaded Color to the back ground of a graph?
Try fill or patch

casi 3 años hace | 1

| aceptada

Respondida
I'm trying to make an image with data from a .txt file
I get this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imto...

casi 3 años hace | 1

Respondida
How to make loop over numbered folders?
See the FAQ for code snippets: https://matlab.fandom.com/wiki/FAQ#How_can_I_process_a_sequence_of_files?

casi 3 años hace | 0

Respondida
how to make the size of 2 boards equal
If they have the same number of columns and you just want to stitch them together, one atop the other, try AB = [A; B]

casi 3 años hace | 1

| aceptada

Respondida
Doubt in a program
Don't use time as the name of your variable since it's a built-in function. Call it "theTime" or something. Don't have line 20...

casi 3 años hace | 0

Respondida
what can MATLAB do with tif files
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

casi 3 años hace | 2

| aceptada

Respondida
How to quantify the object shift between projection images using Matlab?
I don't see any images attached, but try imregister or imregcorr Or try normalized cross correlation. See attached demo.

casi 3 años hace | 0

Respondida
How to remove inner edge of the target?
What do you want to do? Why did you use edge() instead of simply thresholding? Anyway, if you want a list of outer boundary co...

casi 3 años hace | 1

Respondida
calculate sum month and annual
Some functions for you to look at splitapply, findgroups, grpstats, groupsummary

casi 3 años hace | 0

Respondida
function definition in a script must appear at the end of the file.
Try this: %============================================================================== % SCRIPT STARTS HERE % Load the Mat...

casi 3 años hace | 0

| aceptada

Respondida
MATLAB Fundamentals course problem
Call the Mathworks TODAY, before the weekend. We can't help you here.

casi 3 años hace | 0

Respondida
How to get rid of error: Column headers from the file were modified to make them valid MATLAB identifiers before creating variable names for the table.
See attached function. Follow instructions in the comments to get the identifier of the error(s) you want to suppress and add t...

casi 3 años hace | 0

Respondida
Anyone else having issues with MATLAB 2023a hanging after some period of inactivity?
Happens to me sometimes. Like if I and click on MATLAB after not using it for a few hours, it seems to take a while to "wake up...

casi 3 años hace | 0

Respondida
Accessing matlab outside my registered address
Your fastest route to success is to do exactly what it says to do in the FAQ: https://matlab.fandom.com/wiki/FAQ#After_installa...

casi 3 años hace | 0

Respondida
circle detection from drones camera
Since you have high contrast circles, see my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It...

casi 3 años hace | 0

Respondida
Can ROI object interactions be limited to only one direction?
The help for the Rectangle ROI and drawrectangle both have documentation for setting up a listener where you can update the rect...

casi 3 años hace | 0

Respondida
code to convert audio file into text without using machine learning
What about it? You did not ask any questions. Do you have some code you're wanting to submit to the File Exchange? If you have...

casi 3 años hace | 0

Cargar más