Feeds
提问
How can I plot a latitude / longitude point on a geotiff? (Without mapping toolbox.)
Hi. I have some geotiffs in geographic coordinates (WGS84) from various areas around the globe. I also have a list of points, de...
8 years 前 | 1 个回答 | 0
1
个回答已提交
RivMAP - River Morphodynamics from Analysis of Planforms
Toolbox for analyzing channel masks - centerlines, banklines, widths, migration rates, cutoffs
8 years 前 | 9 次下载 |

已回答
How to get different scaling with the same range on the same axis?
I don't know of any commands that accomplish what you want, but you could rescale your y-axis, plot normally, then set your tick...
How to get different scaling with the same range on the same axis?
I don't know of any commands that accomplish what you want, but you could rescale your y-axis, plot normally, then set your tick...
9 years 前 | 1
已回答
Assigning a variable to any value in a matrix
Try this for x = 1:10 if sum(x + Matrix(:) == 5) > 0 disp(x) end end
Assigning a variable to any value in a matrix
Try this for x = 1:10 if sum(x + Matrix(:) == 5) > 0 disp(x) end end
9 years 前 | 0
已回答
I am writing a code where user clicks a point in hole and it has to be filled with white.I am not allowed to use imfill.
A possible but perhaps slow solution is: 1. Get list of all holes in the image. There are a few ways to do this; you can use ...
I am writing a code where user clicks a point in hole and it has to be filled with white.I am not allowed to use imfill.
A possible but perhaps slow solution is: 1. Get list of all holes in the image. There are a few ways to do this; you can use ...
9 years 前 | 0
已回答
In a sequence of 0 and 1, how to make sure that no same values appear more than 2 times consecutively?
Just modify your loop a little bit: for i = 3:length(nums) if nums(i) == nums(i-1) && nums(i) == nums(i-2) ...
In a sequence of 0 and 1, how to make sure that no same values appear more than 2 times consecutively?
Just modify your loop a little bit: for i = 3:length(nums) if nums(i) == nums(i-1) && nums(i) == nums(i-2) ...
9 years 前 | 0
已回答
How do I find more than one max, min and intersections values for different segments of the graph?
On the file exchange, look for peakdet.m for peaks/valleys and intersections.m for intersections (there are many types of both f...
How do I find more than one max, min and intersections values for different segments of the graph?
On the file exchange, look for peakdet.m for peaks/valleys and intersections.m for intersections (there are many types of both f...
9 years 前 | 0
已回答
Plot a variable against multiple independent variables.
http://www.mathworks.com/help/matlab/creating_plots/plotting-with-two-y-axes.html Also search plotyy on the file exchange. ...
Plot a variable against multiple independent variables.
http://www.mathworks.com/help/matlab/creating_plots/plotting-with-two-y-axes.html Also search plotyy on the file exchange. ...
9 years 前 | 1
已回答
How do I find fork points of a skeleton? By fork point, I mean, a skeleton point having more than two adjacent points. Please help.
Have you tried branchpoints? http://www.mathworks.com/help/images/ref/bwmorph.html
How do I find fork points of a skeleton? By fork point, I mean, a skeleton point having more than two adjacent points. Please help.
Have you tried branchpoints? http://www.mathworks.com/help/images/ref/bwmorph.html
9 years 前 | 1
| 已接受
已回答
x = [12 54 21 36 27 19 16 78 65 43 38 91 5 8 3 18] how can i find elements of x (the values of x) such that xi<=30 and 30<=xi<=50
Look at the find() function. You can use logical operators like < , > , and = . Just try some things and see what happens.
x = [12 54 21 36 27 19 16 78 65 43 38 91 5 8 3 18] how can i find elements of x (the values of x) such that xi<=30 and 30<=xi<=50
Look at the find() function. You can use logical operators like < , > , and = . Just try some things and see what happens.
9 years 前 | 0
已回答
How to remove first three columns from a text file?
blah = importdata('1_rowdel.txt'); datayouwant = blah.data; save('mydata.txt','datayouwant','-ascii')
How to remove first three columns from a text file?
blah = importdata('1_rowdel.txt'); datayouwant = blah.data; save('mydata.txt','datayouwant','-ascii')
9 years 前 | 0
已回答
how would I create a 6x6 matrix with evenly distributed values from -10 to 10?
Not entirely sure how you want the values distributed (by row or column), but see if this helps: Msize = 6; n = Msize^2;...
how would I create a 6x6 matrix with evenly distributed values from -10 to 10?
Not entirely sure how you want the values distributed (by row or column), but see if this helps: Msize = 6; n = Msize^2;...
9 years 前 | 1
| 已接受
提问
Is it possible to get signed curvature from splines of a non-single-valued curve?
I am trying to compute the curvature of a meandering river centerline. I have been using a method of finding the angle of the ce...
9 years 前 | 0 个回答 | 2
0
个回答已回答
any size of matrix
Kinda confusing what you're asking. If your input matrix is M, just write ones(size(M)) for a matrix of ones the sam...
any size of matrix
Kinda confusing what you're asking. If your input matrix is M, just write ones(size(M)) for a matrix of ones the sam...
9 years 前 | 0
| 已接受
已回答
How do I stop a code from continuing ifelse statements?
http://www.mathworks.com/help/techdoc/ref/return.html http://www.mathworks.com/help/techdoc/ref/break.html Take your pick....
How do I stop a code from continuing ifelse statements?
http://www.mathworks.com/help/techdoc/ref/return.html http://www.mathworks.com/help/techdoc/ref/break.html Take your pick....
9 years 前 | 0
| 已接受
已回答
Looking to plot a known, single value variable, against another, single value variable, for a range of figures
y = 0:1:100; % can change this range to whatever you want; the middle number is the interval R1 = (m*(L*7.22)*(f*cosd(y...
Looking to plot a known, single value variable, against another, single value variable, for a range of figures
y = 0:1:100; % can change this range to whatever you want; the middle number is the interval R1 = (m*(L*7.22)*(f*cosd(y...
9 years 前 | 0
已回答
How to generate vectorgraphic pdf from MATLAB?
http://www.mathworks.com/matlabcentral/fileexchange/23629-export-fig
How to generate vectorgraphic pdf from MATLAB?
http://www.mathworks.com/matlabcentral/fileexchange/23629-export-fig
9 years 前 | 0
已回答
Stop for loop if F <= 0
Why are you opposed to using break? If you mean that you want to redraw a random number if F <=0, you could do something like th...
Stop for loop if F <= 0
Why are you opposed to using break? If you mean that you want to redraw a random number if F <=0, you could do something like th...
9 years 前 | 0
已回答
combine 2 image results of segmentation, into one of axes
I may not understand the question, but why not just use segmented portions 5 and 6 as a mask on the original BW image? I guess t...
combine 2 image results of segmentation, into one of axes
I may not understand the question, but why not just use segmented portions 5 and 6 as a mask on the original BW image? I guess t...
9 years 前 | 0
| 已接受
已回答
resizing all images in a folder
Yep. Try the following function: dc = dir('*.jpg'); but set the filetype to whatever the images are. Make sure your work...
resizing all images in a folder
Yep. Try the following function: dc = dir('*.jpg'); but set the filetype to whatever the images are. Make sure your work...
9 years 前 | 0
| 已接受
已回答
Terminate function after 5 minutes
Using Google, I found this: http://www.mathworks.com/matlabcentral/answers/20237-time-dependent-programs
Terminate function after 5 minutes
Using Google, I found this: http://www.mathworks.com/matlabcentral/answers/20237-time-dependent-programs
9 years 前 | 0
已回答
how to make comments *not* wrap?
Did you even look through the Editor options in Preferences? There is a button you can uncheck to turn it off.
how to make comments *not* wrap?
Did you even look through the Editor options in Preferences? There is a button you can uncheck to turn it off.
9 years 前 | 2
已回答
Error: The expression to the left of the equals sign is not a valid target for an assignment.
I can't figure out why you're getting an error, but it works if you put square brackets around the expression, like this ra...
Error: The expression to the left of the equals sign is not a valid target for an assignment.
I can't figure out why you're getting an error, but it works if you put square brackets around the expression, like this ra...
9 years 前 | 1
已回答
displaying only even values in a for loop?
Use the _rem_ command. If the remainder is zero after dividing the number by 2, display it. I'm purposely not writing the code.
displaying only even values in a for loop?
Use the _rem_ command. If the remainder is zero after dividing the number by 2, display it. I'm purposely not writing the code.
9 years 前 | 0
已回答
repeating values in the loop
You are looping over j, but nothing in your equation is changing with respect to j. Only after all the j's are finished and i ch...
repeating values in the loop
You are looping over j, but nothing in your equation is changing with respect to j. Only after all the j's are finished and i ch...
9 years 前 | 0
| 已接受
已回答
Noob problem: Defining a fumction and passing values issues an error "Subscript indices must either be real positive integers or logicals."
Runs fine on my machine-no errors. 2015a. Do you have a variable named SSD or zeros?
Noob problem: Defining a fumction and passing values issues an error "Subscript indices must either be real positive integers or logicals."
Runs fine on my machine-no errors. 2015a. Do you have a variable named SSD or zeros?
9 years 前 | 0
| 已接受
已回答
When you dilate and erode a binary image of a skeleton does the skeleton keep its proportion?
I do this exact procedure in the context of skeletonizing rivers to find their centerlines. I have to add the ends back after ru...
When you dilate and erode a binary image of a skeleton does the skeleton keep its proportion?
I do this exact procedure in the context of skeletonizing rivers to find their centerlines. I have to add the ends back after ru...
9 years 前 | 0
已回答
Getting the mean value of a row in an array?
If you have an array called myarray that is mo x yearidx (as you state in your question) and you want the average of all mo == j...
Getting the mean value of a row in an array?
If you have an array called myarray that is mo x yearidx (as you state in your question) and you want the average of all mo == j...
9 years 前 | 0