MATLAB® is a high-level language and interactive environment for numerical computation, visualization, and programming.

learn more… | top users | synonyms

0
votes
0answers
92 views

'Out of bounds' Error in profile51 function of matlab

I am trying to Extract long profile data in Matlab. I have followed the steps of this pdf. Now, in Matlab I passed the function profile51(‘file_name’, ‘arcmap_directory’, ‘matlab_directory’, ‘n’); ...
1
vote
0answers
124 views

How do I account for changing latitude with a spatial filter?

I'm working with data in latitude/longitude grid form in a non-GIS specialised package (MATLAB) and wish to apply spatial filters to it. As this data contains a broad range of latitudes and is ...
1
vote
0answers
185 views

Reshape Matrix and perform Zonal Statistics in Matlab

I have 2 grids: 1) n by m - at 100m 2) n*10 by m *10 - at 10m. These grids cover the same area. I have to perform zonal statistics at scale of grid no.2. Cell value of grid no.1 is cumulative for ...
2
votes
1answer
383 views

Evaluate minimum points required to define polygons based on an error threshold

I need to build a model or write an algorithm to do this, which I would like you to share your ideas with me. here is my cadastral problem: I have plenty of polygons and I need to make a report of ...
3
votes
1answer
3k views

How to import ESRI grid into Matlab

I have some ESRI grid data that I would like to import into Matlab. As a typical ESRI grid data I have the two folders with the *.adf files and *.dat, .nit and.dat files. I would like to know how ...
2
votes
0answers
204 views

Coupled Hidden Markov Model Matlab Error [closed]

I want to train CHMM using Matlab and I am new to use this software. I am using BNET CHMM which is this: function bnet = mk_chmm(N, Q, Y, discrete_obs, coupled, CPD) % MK_CHMM Make a coupled Hidden ...
2
votes
0answers
229 views

how to convert lat and longitude into distance near poles?

I am trying to convert latitude and longitude into meters in polar regions. I am looking for higher accuracy upto 0.00 meters preferably. I tried the haversine formula but it doesnt seem to be ...
1
vote
0answers
67 views

how to use a particular output from previous code in my next code in matlab [closed]

I have written a code in matlab and there are several outputs. I have to use only one of the output(containing latitude, longitude, and one parameter) of these several outputs in my next code. Can ...
1
vote
1answer
3k views

importing shp file in matlab

I have digitize 3 rivers on google earth and converted into shp file to use in matlab. I have checked the shp file in Arcgis and they are working. But while opening in Matlab, matlab shows some error. ...
2
votes
1answer
658 views

How to find the closest Edge from a Line

Currently I'm working on a basic 3D model viewer in MATLAB, which can import .OBJ files (modeled in e.g. Blender). The purpose of this viewer is to test different subdivision schemes (like ...
4
votes
1answer
1k views

How to calculate the height of buildings from satellite/aerial images using MATLAB

I want to calculate the height of buildings from satellite/aerial images using MATLAB automatically with no or least possible human interaction. I am not using LIDAR or any DEM information. Can ...
1
vote
0answers
2k views

How to project geographic coordinates (lat/long) to a cartesian system (albers equal-area)?

I am using this matlab package http://www2.ocgy.ubc.ca/~rich/map.html#examples to project the latitudes,longitudes of my data to a specific projection. For this particular case I am using albers ...
5
votes
2answers
2k views

How to calculate area of 1 x 1 degree cells in a raster

I have a simple array (not geo-referenced in any way) in Matlab (which is not a language I know a huge amount about...so I can export it to other languages if needed) which has the dimensions 180 x ...
8
votes
1answer
1k views

Given a line on the earth's surface, how do I plot a line perpendicular to it?

Given a line on the earth's surface, how do I plot a line perpendicular to it? Apologies if this is a very simple question. I thought this would be a straightforward task, but it is proving ...
1
vote
1answer
1k views

Extracting nodes and edges from osm data

I am trying to extract the edges and nodes of a certain city from osm files and save them to a database. How can I accomplish this. I am not sure how much osm2po and osm2pgrouting tools are ...
4
votes
1answer
488 views

Dividing a geographic region

I have a certain geographic region defined by the bottom left and top right coordinates. How can I divide this region into areas of 20x20km. I mean in practial the shape of the earth is not flat it's ...
5
votes
1answer
6k views

How to convert ESRI grid file to ASCII format, or otherwise import into matlab

I need to import a climate map downloaded from WorldClim into Matlab for manipulation with the mapshow command. I am comfortable reading in ASCII grid data into matlab, but this format is not ...
2
votes
0answers
464 views

Using way-points to create pathway - MATLAB [closed]

I'm currently working on a map routing system and am not sure if anyone has done this before. I have collected various way-point coordinates on the map using Google map. How can I create a pathway ...
1
vote
2answers
1k views

How to import matlab data into ArcMAP?

I'm creating regression lines using matlab from points having UTM geographic coordinates. I would like to import those regression lines into a map of the same area in ArcMAP. My question is what ...
2
votes
2answers
5k views

Retrieving Google Map data into Matlab to plot points

First of all, I hope this question isn't too basic, obvious or inappropriate for this forum. I'm very new to using map data. I'm working on a project on more accurate map routing using Matlab. My ...
3
votes
1answer
567 views

Spatial Interpolation Methods like PRISM

I am looking for some kind of software (free software) that allows me to make an interpolation like PRISM software. The interpolation used in PRISM is a local regression and accounts for ...
2
votes
1answer
159 views

Attributes that characterize a geodetic track

I need a way to index and retrieve a large amount of track data. To do this I need to derive from every track as many attributes as I can. For now, I derive Name Tortuosity Speed (average, max) ...
6
votes
1answer
586 views

Programming a Tessellation in MATLAB and Using Map Data As Input

First of all, I hope this question isn't too basic, obvious or inappropriate for this forum. I'm very new to using map data. I'm working on a project on locating service terminals in a geographic ...
9
votes
1answer
2k views

How to using custom point markers in Matlab Mapping Toolbox?

I'm trying to find out if it's possible to create custom point markers (from some image files) in Matlab with Mapping Toolbox. So far, I haven't found anything about this in their documentation. ...