Feeds
질문
axesm ('eqaazim' + longitude ticket label to not be on the line of the axes?
<</matlabcentral/answers/uploaded_files/107867/Capture.JPG>> Hey, I am using c=axesm('eqaazim','MapLatLimit',[30.1 90],'GL...
6년 초과 전 | 답변 수: 0 | 0
0
답변질문
How to map just USA border (Conus) and not the states with the usamap or worldmap?
Hi, My problem is usamap plots states as well. Or cut part of the southern states when I just plotted the orders. Worldmap, p...
7년 초과 전 | 답변 수: 1 | 0
1
답변질문
extract part of a string with an extension
Hi, I have a long string and I want to just exctract the names that have "hdf" as an extension: I want just to get "MOD11C1....
9년 초과 전 | 답변 수: 2 | 0
2
답변질문
How do I automatically download files from http server? urlread urlwrite
Hi, I know urlread and urlwrite to download files form server but my problem is how I can specify parts of a string resulting...
9년 초과 전 | 답변 수: 1 | 0
1
답변답변 있음
Combining files and mapping them using x and y coordinates
Hi if you already figured it out, would you please help me? I have the exact same question! THanks
Combining files and mapping them using x and y coordinates
Hi if you already figured it out, would you please help me? I have the exact same question! THanks
9년 초과 전 | 0
질문
I have problem with detevec.
Hi, I want to read a='7/17/10 20:36' from excel to MATLAB. b=datevec(a,'mm/dd/yy HH:MM'); I did that but I ended up ...
11년 초과 전 | 답변 수: 1 | 0
1
답변질문
How to change the x ticket lables in a plot?
Hi, I have : x=1:12 %the index of months y=x.^2; plot(x,y) No I want to change the position of x labels from below th...
11년 초과 전 | 답변 수: 2 | 0
2
답변질문
sorting vector with duplicated values in it.
Hey All, I have a vector that I want to sort but remove the duplicated values. I know I can do that with "unique"but I need t...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
change the color of multi lines in a graph
I have a function in a loop in which something plots and hold on the previous ones. After the loop I have a figure with 6 line (...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
How can I find and put zero for missinf data in a time series?
Hi all I have a 30 years of hourly data. Some of the data are missing. It means that I do not have data for example for 1 PM ...
거의 12년 전 | 답변 수: 1 | 0
1
답변질문
question about fun defining
I want to create this fun as below: R=rand(100); diff=rand(25); sum_r1=rand(25);; fun =@(x) x(:)+x(:).*diff(:)...
대략 12년 전 | 답변 수: 0 | 0
0
답변질문
im2col error in size
Hi this is my code: R=rand(162,72); r=im2col(R,[2 2],'sliding'); R1=col2im(r,[2 2],size(R),'sliding'); the size of ...
대략 12년 전 | 답변 수: 2 | 1
2
답변질문
up sampling a matrix with non-zero elements.
Hello I have a matrix A(100 by 100) and I want to upsample the matrix (not by zero arrays) in a way the each cell is replicat...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
std of a logical matrix
I have a 2d matrix (100 by 4 )and I want to calculate the std for each 100 by 1 non-zero vector of this matrix,. But when i wrot...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
Standard deviation of a 3-d matrix
hi I have a matrix with size(y)=(200*1*4). I want to calculate the std for each (200*1) vector separately. When I used "std(y(...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
how can I calculate the Fourier Transform of an image for different angles?
Hi I have an image and I want to plot the Fourier coefficient for different angles of an Image? I know the command is fft2 b...
대략 12년 전 | 답변 수: 1 | 0
1
답변답변 있음
get rid of NaNs
actually it was an simple example. But I want to remove rows with all NaNa and then remove the same rows from another matrix acc...
get rid of NaNs
actually it was an simple example. But I want to remove rows with all NaNa and then remove the same rows from another matrix acc...
대략 12년 전 | 0
질문
get rid of NaNs
I have two matrix A and B I want to remove all row and columns with all NaNa in matrix A and accordingly delete the same row an...
대략 12년 전 | 답변 수: 3 | 0
3
답변질문
create a matrix!
Hello I have row=[1 2]; col=[10 11 13 ]; I want to have b=[10 11 13; 10 11 13] How can i do that? ...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
sort a vecrtor
I have a vector: a = [1 5 7 2 6 8 9 0 2] and b=[5 8 1 0 3 6 9 8 2] (both have the same size) I want to sort vector 'a' and acco...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
delete zeros rows and columns
I try this code to delete all row and column with all zero values in them. It simply works for deleting the columns with all zer...
대략 12년 전 | 답변 수: 3 | 7
3
답변질문
seleting some part of matrix
Q = randi(456,10,15); row=[1 2 5 4 3 6]; column=[5 7 3 4 8 14]; p = Q(row,column); P = zeros(size(Q)); P(1:nume...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
put a some small matrix in a big matris
I have a problem. I have a big matrix that in each loop I search for some data that satisfy some conditions. The result of "find...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
put smaller matrix in bigger matrix
Hello I have row=[1 2 5 4 3 6] and column=[5 7 3 4 8 14]. I want to select and put each Q(row,column) in a new data. for exampl...
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
find x subjected to some limit.
I want to to find a<=x<b and c<=y<d in a matrix. But simply I can't. I would appreciate if you help me.
대략 12년 전 | 답변 수: 1 | 1
1
답변답변 있음
delete zeros rows and columns
data( all( ~any( data), 2 ), : ) = []; % removes all rows with all zero data( :, all( ~any( data ), 1 ) ) = []; % and col...
delete zeros rows and columns
data( all( ~any( data), 2 ), : ) = []; % removes all rows with all zero data( :, all( ~any( data ), 1 ) ) = []; % and col...
대략 12년 전 | 1
질문
select a band of a matrix
Hello I want to select a band of a matrix with slop (S) and save them in another matrix. a = [ 1 2 3 4 ...
대략 12년 전 | 답변 수: 2 | 0
2
답변질문
How can I convert all NaNs to Zero in the image?
Converting all NaNs to zero in an image is my problem.
대략 12년 전 | 답변 수: 1 | 0
1
답변질문
delete NaN rows and columns but
I want to remove the NaN column and row in my image so the size will be decreased, but since I used the "find' command it Matlab...
대략 12년 전 | 답변 수: 2 | 0