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

learn more… | top users | synonyms

-3
votes
0answers
26 views

Calculating NDVI and NDWI from MOD09A1 using MATLAB? [closed]

I want to calculate NDVI values (ranges from -1 to +1) and NDWI from MOD09A1 data. Do I need to multiply by a scale factor(0.0001)? What can I do for the fill area (no data)? How can I accurately ...
0
votes
0answers
19 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
36 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
41 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 ...
0
votes
0answers
32 views

Using gdal inside matlab in ubuntu

I'm trying to use the gdal_rasterize inside matlab via unix or system matlab command system('gdal_rasterize'). Despite that this command is working in my console terminal I got yhe following error ...
1
vote
2answers
84 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
41 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
124 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
101 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
52 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
67 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
51 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
87 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
254 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
109 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
66 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
1answer
118 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
133 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
16 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
136 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
213 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
62 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
21 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
170 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 ...
0
votes
0answers
44 views

How can I access the Bands 7-2-1 from a Modis 7-2-1 image from Matlab?

I am able to read the modis image into Matlab. And I want to do some simple calculations. But, how do I access the different bands in Matlab (or ArcGIS Desktop 10,0)?
0
votes
0answers
54 views

Using MODIS Terra TIF file to get land-water map

So, I have downloaded the 7-2-1 tif data (Not HDF) from the MODIS website and I want to create a map that shows flooded and non-flooded regions. I would like to do ISODATA classification in Matlab ...
2
votes
3answers
103 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 ...
1
vote
1answer
84 views

How to reduce the resolution of satellite imagery data for used in matlab

When I am using the 4band multispectral data for NDVI calculation, after successful completion of runtime, it shows some warning message like "loading 17%..."How could I rectify it? should I do any ...
2
votes
0answers
275 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
153 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
53 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
75 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
78 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
182 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
1k 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
137 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
156 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
49 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
411 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
834 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
775 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
778 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
562 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
206 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
3k 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
330 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
493 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 ...
3
votes
1answer
390 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 ...