Feeds
질문
Does imread read subsets from cloud-optimized geotiffs
Hi, cloud-optimized geotiff (COG) is a format to work with spatial raster data in the cloud (https://www.cogeo.org/). I am curr...
대략 2년 전 | 답변 수: 1 | 0
1
답변문제를 풀었습니다
Create a cell array out of a struct
Create a cell array out of a (single) struct with the fieldname in the first column and the value in the second column: in: ...
거의 3년 전
문제를 풀었습니다
Flip the vector from right to left
Flip the vector from right to left. Examples x=[1:5], then y=[5 4 3 2 1] x=[1 4 6], then y=[6 4 1]; Request not ...
거의 3년 전
문제를 풀었습니다
Generate a vector like 1,2,2,3,3,3,4,4,4,4
Generate a vector like 1,2,2,3,3,3,4,4,4,4 So if n = 3, then return [1 2 2 3 3 3] And if n = 5, then return [1 2 2...
거의 3년 전
답변 있음
Plot line with points at given distance
Since you are working with TopoToolbox, you might want to use the function getlocation. If you have a STREAMobj S, then you can ...
Plot line with points at given distance
Since you are working with TopoToolbox, you might want to use the function getlocation. If you have a STREAMobj S, then you can ...
거의 3년 전 | 0
| 수락됨
답변 있음
Inverse distance weighting based on direction
Hi Christian, interesting question. First of all, if you follow the IDW-approach, you might save a lot of computing time using ...
Inverse distance weighting based on direction
Hi Christian, interesting question. First of all, if you follow the IDW-approach, you might save a lot of computing time using ...
거의 3년 전 | 0
| 수락됨
제출됨
TopoToolbox
A MATLAB program for the analysis of digital elevation models
3년 초과 전 | 다운로드 수: 146 |
문제를 풀었습니다
Create an n-by-n null matrix and fill with ones certain positions
The positions will be indicated by a z-by-2 matrix. Each row in this z-by-2 matrix will have the row and column in which a 1 has...
거의 4년 전
문제를 풀었습니다
Symmetry of vector
Determine whether the vector is symmetric or not (vector could be even or odd in length). For example: x = [1 2 3 3 2 1] ...
대략 4년 전
문제를 풀었습니다
Vector creation
Create a vector using square brackets going from 1 to the given value x in steps on 1. Hint: use increment.
대략 4년 전
질문
Fit Gaussian mixture model with weighted observations
Hi everyone, looking at the help of fitgmdist, I cannot see that there is the possibility to weight observations. Is there a rea...
대략 5년 전 | 답변 수: 3 | 0
3
답변답변 있음
2D gaussian filter with a variable sigma
Hi Chad, below is some code that does the trick using nlfilter. To be more efficient, I created a look-up table with a finite s...
2D gaussian filter with a variable sigma
Hi Chad, below is some code that does the trick using nlfilter. To be more efficient, I created a look-up table with a finite s...
5년 초과 전 | 0
답변 있음
What makes a Toolbox a Toolbox, and how is it recognized by Matlab?
Hi Chad, the trick is to have a Contents.m-file in the main folder of your toolbox. In TopoToolbox, the file starts with T...
What makes a Toolbox a Toolbox, and how is it recognized by Matlab?
Hi Chad, the trick is to have a Contents.m-file in the main folder of your toolbox. In TopoToolbox, the file starts with T...
6년 초과 전 | 0
제출됨
Non-crossing polynomial quantile regression
Non-crossing polynomial quantile regression
거의 9년 전 | 다운로드 수: 2 |
제출됨
Flow Accumulation (upslope area)
Flow accumulation algorithm that routes through flats
거의 10년 전 | 다운로드 수: 4 |
질문
Customized icons in workspace
Hi all, I have written a couple of MATLAB classes and, as icing on the cake, I'd like to have customized icons in the worksp...
10년 초과 전 | 답변 수: 0 | 1
0
답변문제를 풀었습니다
index of n in magic(n)
let input=5; magic matrix 17 24 1 8 15 23 5 7 14 16 4 6 13 20 22 ...
거의 11년 전
문제를 풀었습니다
Order of things - 1
Let's assume you have a number of calculations to perform, that depend on each other. E.g. 'A' can be calculated, once the outco...
거의 11년 전
문제를 풀었습니다
Count decimal digits of a number
* Given an integer number you have to return the number of its digits. * For example 248 has 3 digits and 1589 has 4 digits ...
대략 11년 전
문제를 풀었습니다
Check if equal
Return true if all the elements of an nD array are equal, false otherwise.
대략 11년 전
문제를 풀었습니다
Add a row of zeros on top of a matrix
Given a matrix, insert a row of zeros as the top row.
대략 11년 전
문제를 풀었습니다
Too Many Zeros, Dump Them!
Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...
대략 11년 전
문제를 풀었습니다
Enlarge array
Given an mxn numeric array (A) and a 1x2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m*p)x(n...
11년 초과 전
문제를 풀었습니다
Pascal's pyramid
In Pascal's triangle each number is the sum of the two nearest numbers in the line above: 1 1 1 ...
11년 초과 전
문제를 풀었습니다
Create an index-powered vector
Given a input vector x, return y as index-powered vector as shown below. Example x = [2 3 6 9] then y should be [...
11년 초과 전
문제를 풀었습니다
Matrix to column conversion
Given a matrix of any size, convert it into a column vector. e.g A=[10 20 30; 40 50 60] then, B = [10; 40; ...
11년 초과 전
문제를 풀었습니다
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
The given function returns the index of the maximum value in a given matrix. such as X=[4,3,4,5,9,12,0,5] Ans= 6 if maxim...
11년 초과 전