Community Profile

photo

Tala


Last seen: 1 month ago Active since 2020

Statistics

  • 3 Month Streak
  • Knowledgeable Level 2
  • Thankful Level 3
  • First Answer
  • First Review

View badges

Content Feed

View by

Answered
How to crop an irregular shape from the image?
Image analyst beautifully explains here https://www.mathworks.com/matlabcentral/answers/1683749-how-to-crop-a-masked-area-pol...

9 months ago | 0

Answered
How to read in several 16-bit images and store their filenames?
Depending on how your filenames, you can alter this code. The current code assumes your images are 145p56, 145p57, 145p58... ...

9 months ago | 0

Answered
Hello, I have two vectors (1X1510) that make up a graph. How can i find when the graph slop aims to zero?
You would get a better help if you attach your data! without seeing your grah, you can use this and see the behaviour of your ...

9 months ago | 1

Answered
How do I resolve these two lines separately?
try this B=rand(3,5); A=[0 0 0 1 0;1 1 1 0 0;1 0 1 1 0]; B1=B>0.6; A(B1)=1;

10 months ago | 0

Answered
Calculating u and v components from wind direction and speed
I have done similar tasks before. If you have experimental data, your sensor should generate two time histories; velocity (Mag) ...

10 months ago | 0

Answered
how to display multiple images or dicom images in one figure window?
Several ways, I would start with <https://www.mathworks.com/help/images/ref/montage.html montage>

10 months ago | 0

Answered
How to upload multiple images in matlab
you have several options depending on your goal. look at Batch Processing App. or this simple code: for i=1:400 Fil...

10 months ago | 0

Answered
how to find the tumor area using newton divided difference interpolation method?
you can combine somesteps in this code, but for educational purposes I have all the steps: I0=imread('image.jpeg'); % read the...

10 months ago | 1

| accepted

Answered
Moving graph along x-axis
I would subtitute the other 2 array in the main one and plot that. something lik ethis: id1 = find(blue==yellow(1)); % the ind...

10 months ago | 0

| accepted

Answered
How to make the grey area completely black, so it's a binary image?
you mean you want to have the whole tumor area white and the rest of the image black? just threshold your image I=imread('image...

10 months ago | 0

| accepted

Answered
Count objects labeled in image
I would plot the centroids as filled black circles and threshold colors smaller than 10! then you only have the centorids and le...

10 months ago | 0

Answered
Extruding a 2D plot to 3D
Take a look at this https://www.mathworks.com/matlabcentral/answers/82917-extend-line-plot-to-a-surface

10 months ago | 0

Answered
Finding gradient of a part of a graph
A=your signal; dx=epsilon(2)-epsilon(1); % assuming the sampling frequency is constant [M,I] = max(A); B=diff(A(1:I))./dx;

10 months ago | 0

Answered
How do I make specific intervalls on a graph with 2 'dips'
islocalmin would do the job! If your data is sharable, I will take a look. You probably need to smooth your data before using is...

10 months ago | 0

Answered
Convering 4 data vectors into 3d matrix
You can use the fourth dimension as colormap. take a look at this. in your example you could use: x=[1,2,3,1]; y=[1,2,3,2]; ...

10 months ago | 0

Answered
Compute the average of pwelch
not sure what the avarage of pwelch means! maybe avarage energy of your signal? there are better ways to do so...anyways...you c...

10 months ago | 0

Answered
how to correlation plots from image
I needs to be grayscale image. you want to convert your image to grayscale before passing ut to your filter. use imgtype = getIm...

10 months ago | 0

Answered
How can I improve regionprops() use?
To Matt's point, you do have an object and you should expect to see it's centroid. to avoid this, you can use imcrop to crop out...

10 months ago | 2

| accepted

Answered
Welch's method implementation
Instead of the for loop, I would reshape the array first. temp0 = reshape(ecgn,[256,4]); temp1=fft(temp0); temp2=abs(temp1)....

10 months ago | 0

| accepted

Answered
comparing the variables of values of two tables
are you sure there is any matching numbers in variables t1.Date3 and t2.date2? Lia2 is an array of 0!

10 months ago | 0

Answered
How to solve trigonometric equation x*cos(x)+sin(x)=0 with function fsolve?
trigonometric equations have many solutions. the intersection of blue and black lines are your answers. f = @(x) x.*cos(x)+s...

10 months ago | 0

Answered
Help with the below question
x = -10:0.1:10; y = [1 6 0.03 0.08 10]'; A = 23 * (atan((0.005 + y)./x.^2)); B = diff(A,1,2)/0.1; plot(x(1:end-1),B') [v...

11 months ago | 0

Answered
I'm new to Matlab and would like to create a moving window for average for contraction force against time data set. Would appreciate any help
I am not sure if I understand what you need! If you want to calculate the moving avarage, try this. M = movmean(yoursignal,k);...

11 months ago | 0

Answered
How to crop a masked area (polygon shape) out of an image?
I cannot see your image. But I used a photo of my dog (because she wont sue me :D) to show the concept: I=rgb2gray(imread("Tal...

11 months ago | 1

Answered
Plotting 3D scattered data using CSV
T= readmatrix('Participants.csv'); x=T(:,1); y=T(:,2); z=T(:,3); scatter3(x,y,z)

11 months ago | 0

| accepted

Answered
How to do background subtraction on a video that has constant movement
If your background is not moving, try foreground detector. If you dont have enough frame that represents your background, reduce...

11 months ago | 0

Answered
How can I change an array name within a for loop using the value of the index?
for i= 1988:2020 month{i} =['month_',num2str(i)]; end

11 months ago | 0

Answered
How to plot 3d surface plot from excel data
Source is Here. Use this: T = readmatrix('Data.xlsx'); x = T(:,1); y = T(:,2); z = T(:,3); [Ux,iax,ixx] = unique(x); [Uy...

11 months ago | 0

| accepted

Question


Filter out small dust in image!
Hello, I am trying to detect and count moving rocks! Below is a frame from a video. I did the following to get this frame: re...

11 months ago | 1 answer | 0

1

answer

Question


Tangent line to the edge of binary image
Attached please see a binarized image of water droplets spraying out of a sprinkler. I am trying to define a the angle betwe...

12 months ago | 1 answer | 0

1

answer

Load more