Community Profile # Ham Man

Last seen: 2 dagen ago Active since 2020

#### Statistics

• #### Content Feed

View by

Question

Fit 2D gaussian function to data
I have a 2D matrix C data as bellow. This shows particle distribution in a pipe flow: I want to fit Gaussian model to this 2D d...

27 dagen ago | 0 answers | 0

### 0

Question

text file with multiple section of headers
I have a txt file data like bellow:(multiple section and each section with different column of data) u v w p q ...

29 dagen ago | 0 answers | 0

### 0

Question

shade area between two yline
I want to shade the area between two yline: p1 = yline(5,'-','color',[177 177 177]./255,'LineWidth',2);hold on p2 = yline(4,'...

ongeveer een maand ago | 2 answers | 0

### 2

Question

how to use string in eval function
I'd like to use eval for this expression: sheet ='p1_Q1_test'; It works for num2str(x) but does not work for string y. How can...

ongeveer een maand ago | 1 answer | 0

### 1

gaussian fit to 2D pcolor map
Thank you so much Matt for replying. what I'm doing is: xx =[ -1.2000 -1.0000 -0.6000 -0.2000 0.2000 0.6000 ...

ongeveer een maand ago | 0

Question

gaussian fit to 2D pcolor map
I have a 2D map using pcolor function. Now I want to fit gaussian to this 2D map P1. How can I do that? %[xx,yy] = meshgrid(x,y...

ongeveer een maand ago | 2 answers | 0

### 2

Question

what is the best way of showing legend?
could anyone tell me what is the best way of showing legend in this example? plot(x1,y1,'o-r',-x1,y1,'o-r');hold on; plot(x2,y...

ongeveer 2 maanden ago | 1 answer | 0

### 1

Question

how to make something between quotation automatic!
I want to make 'poly2' automatic by changing n? How can I do this using for example eval function? n=2;% 3,4,.... f1 = fit(x,y...

ongeveer 2 maanden ago | 1 answer | 0

### 1

Question

save two variables using num2str
I want to save two variables using num2str, but I get error. what is wrong with this? x1=1; y1=2; ty_c=1; pathdatasave = (['...

3 maanden ago | 1 answer | 0

### 1

Question

using eval with save function
I'm using eval function to save a .mat file and I'm getting error: I appreciate any hints! try_num = 1; pathdatasave = (['E:\...

3 maanden ago | 2 answers | 0

### 2

Question

multiple legend not showing in plot
I have 5 plots and try to show the legend using handle. h= [plot1(1);plot2(2);plot3(3);plot4(4);plot5(5)]; legend(h,'pln1','pl...

3 maanden ago | 0 answers | 0

### 0

Question

why surf function does not show complete data
I have a plot from pcolor function which is a grid of 8X5. but when plot these data with surf function one grid of row and one o...

3 maanden ago | 1 answer | 0

### 1

Question

calculate intensity of a part of images
I have sequence of gray scale images (35000 images) with the size of 2048X700 and 12bit. I want to calculate the intensity of a ...

4 maanden ago | 1 answer | 0

### 1

Question

how to plot streamline
I have the 2-D PIV data like below and I am not able to get streamlines in matlab: ix,iy,iz = image coordinate X,Y,Z [pixel] d...

ongeveer een jaar ago | 1 answer | 0

### 1

Question

creating images and make a movie in matlab
I have a code tracking particles in a pipeline. I used scatter3(x,y,z) and then baseFileName = sprintf('%03d.png', iw) t...

bijna 2 jaar ago | 1 answer | 0

### 1

Question

winopen command in linux
what is the alternative for 'winopen' command in Linux?

bijna 2 jaar ago | 1 answer | 0