photo

Tala


Last seen: 20 giorni fa Attivo dal 2020

Followers: 0   Following: 0

Statistica

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

Visualizza badge

Feeds

Visto da

Domanda


Retrieve information from a .h5 file
Hello, During an experiment, the data acquisition system unexpectedly failed, resulting in a *.h5 file instead of the usual *.m...

9 mesi fa | 1 risposta | 0

1

risposta

Risposto
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...

oltre 2 anni fa | 0

Risposto
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... ...

oltre 2 anni fa | 0

Risposto
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 ...

oltre 2 anni fa | 1

Risposto
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;

oltre 2 anni fa | 0

Risposto
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) ...

oltre 2 anni fa | 0

Risposto
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>

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 1

| accettato

Risposto
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...

oltre 2 anni fa | 0

| accettato

Risposto
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...

oltre 2 anni fa | 0

| accettato

Risposto
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...

oltre 2 anni fa | 0

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

oltre 2 anni fa | 0

Risposto
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;

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 0

Risposto
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]; ...

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 2

| accettato

Risposto
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)....

oltre 2 anni fa | 0

| accettato

Risposto
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!

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 0

Risposto
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);...

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 1

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

oltre 2 anni fa | 0

| accettato

Risposto
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...

oltre 2 anni fa | 0

Risposto
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

oltre 2 anni fa | 0

Risposto
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...

oltre 2 anni fa | 0

| accettato

Domanda


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...

oltre 2 anni fa | 1 risposta | 0

1

risposta

Carica altro