Answered
How to just plot the data inside the minimum and maximum values in a figure?
Not sure what you mean but you can use xlim and ylim to set the ranges that are visible inside the plot box. Regarding making s...

2 years ago | 0

Answered
How to get a plot out of a .csv data from a sensor?
Try this: fileName = 'Sample_0012023-11-30 15.05.48.343_A0000.csv' t = readtable(fileName) times = t.Var1; distances = t.Var...

2 years ago | 0

| accepted

Answered
when i tab getimagetype function it appears "Unrecognized function or variable 'getimagetype'."
The I and T should be capitalized getImageType. MATLAB is case sensitive. help getImageType

2 years ago | 0

| accepted

Answered
how to plot x= 0:0.01:10
Your badly-named "x" variable (almost everyone else would have called it y) goes from 0 to 10 in a thousand and one steps. When...

2 years ago | 0

Answered
How can I get the license number of MATLAB 2023b?
>> ver

2 years ago | 0

Answered
How to enter a sigmoidal equation for a curve fit with lsqfitting
See my attached demo where I fit data to the rate equation (a sigmoid type of formula). Adapt as needed, like using a differe...

2 years ago | 1

| accepted

Answered
Show img in coordinate system and perform transformations
"I want to show my image in xy-coordinate system" <== Did you try calling axis xy? axis xy Call it after you call imshow.

2 years ago | 1

Answered
Can we generate best fitted nonlinear equation between 4 inputs and 1 output, if we dont know the equation initially
There are an infinite number of models that could fit your data. I believe you need to know at least the form of the equation, ...

2 years ago | 0

Answered
How can I retake the fundamentals course after completing it?
We volunteers here don't have access to any of the web software the Mathworks uses. Maybe there is a bug in it, or maybe that's...

2 years ago | 0

Answered
Plot image in 2d plain and apply operations like translation/rotation and reflection
rgbImage = imread('peppers.png'); title('Original') nexttile imshow(rgbImage); img2 = imrotate(rgbImage, 90); title('Rotate...

2 years ago | 0

Answered
kmeans with centroids from previous analysis
I think some explanation is needed here; The second time you call kmeans, it will do a kmeans all over again but starting with ...

2 years ago | 0

Answered
How easy is it to give a Matlab toolbox as a Christmas present?
Here's one 😆 I'm pretty sure the Mathworks will not take it though!

2 years ago | 2

Answered
imwrite result of viscircles instead of creategraphic
Try this if you have the Computer Vision Toolbox. % Initialization steps. clc; % Clear the command window. close all; % C...

2 years ago | 0

Answered
MATLAB License Keys when using functions from a toolbox
The license is not checked out and back in again after every call. I'm not sure when they're checked back in : after a while, o...

2 years ago | 0

Answered
Is there a variant of nlfilter for color images?
You can use imsplit and then operate on each individual color channel. Or you could transform to LAB color space and operate on...

2 years ago | 0

Answered
How would i write this str?
I always use fprintf MyAge = 6; FreindName = 'Joe'; FreindAge = 4; fprintf("My friend %s's age is %d years.\n", FreindName, ...

2 years ago | 1

Answered
What does this error mean?
If idx is a single number, then acc(idx) needs to be a single number. Evidently something in your expression is an array. Try ...

2 years ago | 0

Answered
Update string with new line in edit Field (text) in mlapp
Yeah, kind of weird. But I found that if you make it a Text instead of an Edit box, it will work and show up on multiple lines:...

2 years ago | 0

Answered
Create 2D mask from nonzero values in 3D array
I recommend processing the volumetric image one slice at a time. Try this: s = load('3Darray.mat') FAtp2_DA = s.FAtp2_DA; % ...

2 years ago | 0

Answered
How to rename a structure array with a string stored in character
Just make copies of the originals if you need to keep them Signal_1_original = Signal_1; Signal_2_original = Signal_2; Signal...

2 years ago | 0

Answered
How to remove sine shaped noises from a signal?
How monotone is your "real" signal? Can you just zero out the FFT outside the known range of your signal? Or, if not, maybe ju...

2 years ago | 0

Answered
How to save files with Canny edge detection and Feature extraction
You need to look over all files in a for loop instead of a while loop in performCannyAndSave allFileNames = imds.Files numFile...

2 years ago | 0

Answered
how I can represent it in MATLAB
See if the attached manual convolution helps you at all. Adapt as needed.

2 years ago | 0

Answered
To create a false color image
See the attached article on a variety of ways to convert hyperspectral channels (wavelength bands) into RGB images.

2 years ago | 0

Answered
Connecting/Activating license without license number/activation key
We don't usually handle installation questions here. See the FAQ: https://matlab.fandom.com/wiki/FAQ#During_installation,_the_i...

2 years ago | 0

Answered
Counting and measuring size of particles flowing in a video
The Computer Vision Toolbox has motion tracking capabilities. https://www.mathworks.com/help/vision/tracking-and-motion-estimat...

2 years ago | 0

Answered
Last Saved .PNG uploaded on all PPT slides
What does this line do: dataSlides = add(ppt,'Title and Content'); What is ppt? I'd use ActiveX if you're using Windows. Why...

2 years ago | 0

Answered
My function to read data from three csv files is only reading one file and storing it in 'ans' instead of the variable K.
How did you run it? You didn't just push the green run triangle did you? Did you do something like this: [K, K_sub, Q] = inpu...

2 years ago | 0

| accepted

Answered
automatic threshold based segmentation
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

2 years ago | 0

Answered
What does this mean: K12_global(1:3:6,1:3:6)?
Another example indexes = 1 : 3 : 6 The next index would be 7 since 4 + 3 = 7, but since it was told to stop at 6, the 7 does ...

2 years ago | 0

Load more