![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/19680772_1600918387786_DEF.jpg)
Ham Man
Followers: 0 Following: 0
Feeds
질문
How to avoid counting elements in each row of matrix multiple times?
I have written this function to calculate the location distribution in a form of a grid pattern(2D map of distribution). x&y wh...
6개월 전 | 답변 수: 1 | 0
1
답변질문
average of matrix cells
what would be an efficient way to calculate the average of cells 1, cells2 , cells 3 from a matrix?
대략 1년 전 | 답변 수: 2 | 0
2
답변질문
down sampling a vector keeping the order of elements values
I have a vector of u with size of 45X1. I want to down sampling it to u_new with size of 7X1. u here is the velocity profile in...
대략 1년 전 | 답변 수: 1 | 0
1
답변질문
how to calculate the area of each bin of intersection of a circle and mesh grid?
I have divided a circle of D=16mm into a grid of 7X7. (8 vertical lines by 8 horizontal lines) How can I estimate the area of e...
대략 1년 전 | 답변 수: 3 | 0
3
답변질문
how to combine matrices
I have 4 matrix xp1,...xp4 and I want to combine them into one(xp): I'm getting this error from the last line of script Erro...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
two x-axis plot
I want to plot with two x-axis on top and bottom and also set the x values of both x-axis in the same vertical line: for exampl...
1년 초과 전 | 답변 수: 2 | 0
2
답변질문
eval function using in load command
whay I'm getting this error when I use eval function to make it dynamic: dp=500;flow='Q1',d=16/1000;try_num=1;,..... load(eval...
1년 초과 전 | 답변 수: 1 | 0
1
답변질문
using fill function to make shaded area
Hi every one! Is it possible to draw a shaded area (e.g., +- STD of a value) when we have a categorical values on x-axis? Base...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
rotate points on a line
I have some blue and red points located on a line with a center at solid white circle (attached screen shot). I want to rotate t...
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
break x axis in multiple points
I have a set of point data spreads along x-axis and I want to break x-axis in multiple points(3-4 points) for better visibility....
거의 2년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
거의 2년 전 | 답변 수: 0 | 0
0
답변질문
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,'...
거의 2년 전 | 답변 수: 2 | 0
2
답변질문
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...
거의 2년 전 | 답변 수: 1 | 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 ...
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 ...
거의 2년 전 | 0
질문
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...
대략 2년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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 = (['...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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:\...
대략 2년 전 | 답변 수: 2 | 0
2
답변질문
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...
대략 2년 전 | 답변 수: 0 | 0
0
답변질문
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...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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 ...
대략 2년 전 | 답변 수: 1 | 0
1
답변질문
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...
대략 3년 전 | 답변 수: 1 | 0
1
답변질문
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...
3년 초과 전 | 답변 수: 1 | 0
1
답변질문
winopen command in linux
what is the alternative for 'winopen' command in Linux?
거의 4년 전 | 답변 수: 1 | 0
1
답변질문
Make NaN value part of matrix
I have a 4d velocity matrix in a circular pipe: x,y,z,t size are as follows:(number of grid points) x=60,y=60,z=40,t=80 I wan...
거의 4년 전 | 답변 수: 1 | 0