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

learn more… | top users | synonyms

1
vote
0answers
16 views

Auto generate waypoints for a map

I am working on a project where I need a function which generate way-points considering the obstacle in the area. For example, if a shoreline world-map is given and the requirement is to generate 100 ...
1
vote
0answers
27 views

Retrieving Aerosol Optical Depth (AOT) from Landsat multispectral data

I need to retrieve Aerosol Optical Depth from Landsat multispectral datasets. Has anyone successfully tried something like that before?
1
vote
0answers
90 views

Calculating distance in m in xyz between GPS coordinates that are close together

I have a set of GPS Coordinates and I want to find the speed required for a UAV to travel between them. Doing this by calculating distance in x y z and then dividing by time to travel - m/s. I know ...
1
vote
1answer
44 views

Maintaining spatial integrity of Matlab matrix with missing data

I am working with MODIS Terra imagery (MOD13Q1). I am currently trying to compute the autocorrelation structure of the pixels in an MODIS NDVI raster. The problem is that I have clipped the original ...
0
votes
0answers
20 views

how to transform sinusoidal cordinates in MATLAB [duplicate]

I am working with the Mod10a2. I want to convert MODIS HDFs with sinusoidal projections to WGS84 in MATLAB. i want to find the corresponding X & Y of the each pixel and then convert them ...
0
votes
0answers
62 views

Bi-Weekly NDVI data into monthly Datasets

I have NDVI data in both Ascii Grid format (0.250 degrees resolution) and raster format twice a month like: ndvi1981_07a ndvi1981_07b I would like to combine these bi-weekly values (average) into ...
0
votes
0answers
99 views

Extracting rooftops using MATLAB

I am using Matlab to extract rooftops of buildings and I want an orthoimage i.e. a .jpg file, a world file .jgw and a shape file .shp as input. A mask is needed to "hide" the pixels of the image ...
1
vote
1answer
91 views

Using GDAL inside MATLAB in Ubuntu

I'm trying to use gdal_rasterize inside MATLAB via UNIX or system MATLAB command system('gdal_rasterize'). Despite this command working in my console terminal, I get the following error inside ...
1
vote
2answers
176 views

Calculate actual Landsat image corner coordinates to derive azimuth (heading)

This is the continuation of an unsolved problem I had (see this thread if you like). I have a Landsat image and I would like to estimate the satellite azimuth for my location. As the satellite follows ...
0
votes
1answer
126 views

How to convert GeoDa .GAL or ArcMap .SWM file to Matlab (.dat)?

I want to convert a spatial weight matrix from either ArcMap (.SWM file) or GeoDa (.GAL file) to an .dat Matlab file. So far, I only found the STATA package spwmatrix to do this. But the command line ...
1
vote
1answer
386 views

MATLAB mapping toolbox: write multiple feature mapstruct

I have a few hundred road segments, described as lines, which I am trying to write to a single shape file using MATLAB's mapping toolbox. However I can only manage to get one feature per shapefile, ...
0
votes
2answers
172 views

Matlab script - how to access from/run in GRASS GIS?

I am currently working on shell script in GRASS GIS and Ubuntu. At some point, I must run a calculation (based on an ascii grid) that I have available as Matlab script and .exe (created from Matlab I ...
1
vote
1answer
102 views

Taxi fleet simulation - MATSim a useful tool?

I am working on a university project and I would really appreciate some advice: My project consists in modeling the taxi fleet of a major city and investigating if replacing a percentage of the fleet ...
-2
votes
2answers
149 views

Saving in arc ascii grid format

This might be a really simple question but I can't figure it out! I need to save a DEM in Arc ascii grid format so that I can load it in to Matlab. If I explain a bit about what I am doing maybe it ...
1
vote
1answer
73 views

convert XML to PostgreSQL using MATLAB

In a weeks time I should be able to transfer the GIS data provided in the XML format to PostgreSQL database. I have prepared the PostgreSQL database (empty) and looking at Matlab scripts. (I am on ...
0
votes
0answers
142 views

How to export raster from ArcGIS for Desktop to MATLAB using Tiff without losing projection?

How do I export data from ArcGIS for Desktop and import to MATLAB using Tiff without losing projection (lat lon) information? ASCII is too slow for my application. I manage to export a raster ...
2
votes
0answers
340 views

How to extract road line pattern from satellite images using Matlab? [closed]

Firstly we applied canny edge detection to the image, then detected lines using houghlines, then we got start and end points of the lines. Then we applied delaunay triangulation and voronoi diagram ...
0
votes
0answers
203 views

QGIS/MATLAB add geo-coordinates flag

I've created some polygons in QGIS with which I'd like to create some thematic maps. Unfortunately, if I want to import the shapefile in MATLAB with: shaperead('nameoffile, 'UseGeoCoords') i get an ...
1
vote
1answer
84 views

QGIS combine Vectorlayer and Rasterlayer to one shapefile

I have to create some Thematic Maps, especially Choropleth Maps on Matlab. Therefore i've found a shapefile which I can use, but need to draw some lines there. I've imported my shapefile as a Vector ...
2
votes
2answers
325 views

Conversion of Latitude/Longitude to different map projection

I have two m*n matrices coming from a WRF-ARW simulation: one exclusively with longitude values and one with only latitude values. For both matrices I know the originatin projection (lambert conic ...
0
votes
0answers
239 views

How to convert a shapefile to binary grid?

I have a polygon shapefile with a UTM projection which I read into MATLAB: s = 'C:\path\to\shapefile.shp' % Read the shapefile shp = shaperead(s); How can I convert this simply polygon into a ...
0
votes
0answers
18 views

How to Use .tif File as a separate input for neural network Toolbox

I am facing some problems in building neural networks for flood prediction. The problem i am facing is i have basically 4 attributes which i am taking into consideration for flood prediction in my ...
-1
votes
1answer
238 views

how to calculate area of triangles formed by delaunay triangulation

After applying delaunay triangulation 160 triangles were formed and i need to calculate the area of each triangles. Kindly help us please.
1
vote
1answer
427 views

Convert from eastings and northings to latitude and longitude without ArcGIS

I am not a GIS user, but I was given some shapefiles to work with. I do not have ArcGIS or any other GIS tool, but I do have Matlab with the mapping toolbox and R. From what I can tell, the data is ...
1
vote
0answers
98 views

How to represent the time(weekly/monthly) variationof a polygon map using one image?

I have a base map made up of three hundred polygons, each polygon get lots attribute values(For example, each week/month get a value). But I want to draw only one picture(due to page limitation) to ...
0
votes
0answers
25 views

buffer of clusters in a sparse matrix

I work with MATLAB. I have a sparse matrix where I identified different clusters. The value within each cluster is equal, while each cluster has its own unique value. I have 0s as background (outside ...
0
votes
0answers
246 views

Using Matlab to build adjacency matrix from Arcmap OD Matrix table

I was trying to use the function Network Analyst in Arcgis to generate the network to display the small world phenomenon, so i have to transport the shapefile (which contains originalID ...
2
votes
3answers
112 views

How to analyze and combine overlaping elevation maps into one?

I have 30 overlapping maps that contain tree density heights (measures between 1-100%) of a large area, and I need to get the highest point by pixel and create a new map with all these highest points ...
2
votes
2answers
153 views

How to reduce the resolution of satellite imagery data for use in MATLAB

When I am using the 4-band multispectral data for NDVI calculation, after successful completion of runtime, it shows some warning message like "Loading 17%..." How should I rectify it? Should I do ...
2
votes
0answers
409 views

How to limit a specific area in order to have a topographic 3D map using MatLab?

I am using MatLab, I want to build a topographic 3D map, I am following this guide, I have been doing the steps listed on the section Draping Geoid Heights over Topography, and I do not have any ...
2
votes
0answers
185 views

Iteration based positioning on Matlab - retrieving coordinates between iterations

This is my first question on SE so let me know if I'm not asking my question in the right place. So basically, I have an algorithm which uses UMTS measurement events for positioning estimation, which ...
0
votes
0answers
63 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
88 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
100 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
230 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
2k 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
153 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
164 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 ...
2
votes
0answers
53 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 ...
2
votes
1answer
471 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
979 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
1k 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 ...
4
votes
2answers
1k 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
909 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
672 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 ...
3
votes
1answer
245 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
4k 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
359 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
629 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
3k 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 ...