Respondida
Image motion frequency estimation from scanned image
It looks like you can determine the waviness wavelength by examining the dark blobs at the last line of the image. Otherwise, I...

más de 2 años hace | 0

| aceptada

Respondida
Day of Week data plot
Look into splitapply, grpstats. and groupsummary They will do functions, like mean, based on what group the data is in.

más de 2 años hace | 0

Respondida
How to find out area under the curved shape of the attached figure?
Try the attached code to automatically find the lower dark shape. It produces.

más de 2 años hace | 0

| aceptada

Respondida
Writing tiff file with multi channel and slices
What is z and t? If you want the loop to only go from c=1 to c=2, instead of this: for c = 1:dims(3) have this: for c =...

más de 2 años hace | 1

Respondida
The function is debugging too long...
Steve said youi have an infiite loop. You should never have one if you code it up properly. ALL while loops need a failsafe to ...

más de 2 años hace | 1

Respondida
I am looking for advice on the best way to learn matlab. I am a second year PhD student trying to familiarize myself with problems or projects. Any advice?
Try this link: Best way(s) to master MATLAB? - MATLAB Answers - MATLAB Central To learn fundamental concepts, invest 2 hours...

más de 2 años hace | 0

Respondida
How I Can Change language to English?
To change the language and server of what you're using on the Mathworks web site, go to www.mathworks.com and scroll way down to...

más de 2 años hace | 3

Respondida
Could anyone help me solve the problem below that i am facing
You have a function (method) of a class and when you execute that function, for some reason, the output variable never gets assi...

más de 2 años hace | 0

| aceptada

Respondida
Problem with converted TIFF image
Try img_uint16 = uint16(double(img) / double(max(img(:))) * 65535); or img_uint16 = uint16(mat2gray(img) * intmax('uint16'));...

más de 2 años hace | 0

| aceptada

Respondida
Saving a Script from another script
What you should do is to put all of your parameters that you want to vary in a text file or a workbook. Then read it in with so...

más de 2 años hace | 0

Respondida
AM Demodulation code error
time is a built in function so your use of it is not recommended. What is filt_received? Specifically what is its size (rows a...

más de 2 años hace | 0

Respondida
How do i detect background from any image given to me?
If you have the Computer Vision Toolbox, you can use the foreground detector: https://www.mathworks.com/help/vision/ref/vision....

más de 2 años hace | 0

Poll


My favorite sport to watch is

más de 2 años hace | 3712 votes | 15 comments

Respondida
i have ascii data converted into columns and rows seperatby str2num command now i want to add all rows in orderly in one cell by using for loop can you give me ans
Try this: fileName = "radio.txt"; data = readmatrix(fileName, 'NumHeaderLines', 5) % Turn nans into 0's. data(isnan(data)) =...

más de 2 años hace | 0

Respondida
how can I view each individual superpixel?
The superpixels algorithm gives you the labeled image, where each superpixel is assigned an ID number. To view them all you cou...

más de 2 años hace | 0

Respondida
Creating a safety distance from an obstacle in occupancyMap
If you have the Image Processing Toolbox, you can use imdilate - it does what you ask for. If you don't want blobs to join/conn...

más de 2 años hace | 0

Respondida
How can I extract the region of interest and its features of the highest moving energy/intensity area
Try this: % Demo by Image Analyst clc; % Clear the command window. close all; % Close all figures (except those of imtool...

más de 2 años hace | 0

Respondida
Image segmentation with different lighting conditions (Color Thresholder)
Try this. I tested it only with the first image. See attached demo to convert to pixels. Through you could do that automatica...

más de 2 años hace | 0

Respondida
How do I avoid the mistake?
There is a thorough discussion in the FAQ: https://matlab.fandom.com/wiki/FAQ#%22Subscript_indices_must_either_be_real_positive_...

más de 2 años hace | 0

Respondida
Make the colours of my graph continuous
I would just blur the image before displaying it. windowWidth = 15; % Whatever.... blurKernel = ones(windowWidth, windowWidth)...

más de 2 años hace | 0

Respondida
Unrecognized function or variable
Try this: t = 1:1:2960; t2= t/128; t2 = t2'; %rc is raw data %rcf is segmented data fs = 128; Lab5 = lowpass(realLab5...

más de 2 años hace | 0

Respondida
Finding mean of data in array inside another array
Did you try the obvious brute force for loop method: theMeans = zeros(numel(X), 1); for k = 1 : numel(X) % Get the mean o...

más de 2 años hace | 0

| aceptada

Respondida
Implementation of Moving target Indicator
Not sure what that means. Explain "zeroing the velocity axis near zero". You can certainly plot a symbol at a certain (x,y) ...

más de 2 años hace | 0

Respondida
Function that makes Anonymous Functions
Did you try something like this: x = [5, 10]; y = [15, 25]; % Get parameters. [a, b] = GetFit(x, y) % Define anonymous func...

más de 2 años hace | 0

Respondida
Simulating a 2D Random Walk
See attached demos for random walks. I think all of them are 2-D.

más de 2 años hace | 0

Respondida
How Can I Calculate Displacement Of An Object (it can be a point on object) Out Of A Video Record
See my Image Segmentation Tutorial in my File Exchange: Image Analyst's File Exchange It's a generic, general purpose demo of ...

más de 2 años hace | 0

Respondida
mcc insensitive to -a and -I options
Your folder might have spaces in it, like "C:\Program files\" Try enclosing the folders in double quotes: mcc -o output_fcn_na...

más de 2 años hace | 0

Respondida
k-means segmentation for Raman analysis
I don't know if kmeans is the best, unless you know for a fact that there are definitely exactly 6 classes present in all images...

más de 2 años hace | 0

Respondida
reading images from different folders
See attached demo. Adapt as needed.

más de 2 años hace | 0

Respondida
attach variabe in image
See https://www.mathworks.com/help/vision/examples.html?category=tracking-and-motion-estimation

más de 2 años hace | 0

Cargar más