Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [matlab]

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

0
votes
0answers
29 views

Calculating transgression velocity on the continental shelf [closed]

I am attempting to use ArcMap in tandem with Surfer and MATLAB to create a visualization similar to the attached image. The transgression velocity (TV) is defined as "the velocity at which the ...
0
votes
1answer
51 views

Plotting data only inside polygon in MATLAB?

We can plot data with polygon in MATLAB as a data size of 651*1200*12 S.X and S.Y shows the X and Y values of polygon. for i = 1:12 subplot(4,3,i) pcolor(lon1,lat1,data(:,:,i)) ; shading interp ; ...
1
vote
0answers
42 views

How to detect the edge of the the curve?

I'm using MATLAB edge function to find the edge of an item in a picture. It's easy to deal with some individual item, like: I can use edge function to get the boundary However, when the picture ...
0
votes
0answers
23 views

How to export images to JPEG images in Matlab/Ubuntu

I have processed my Landsat 8 data for previewing Band754, now I would like to export composite Band 754 image into JPEG images .I have used following codes in Matlab: system ([gdal_translate -ot ...
-1
votes
1answer
549 views

Read raster data in Matlab

I have a GeoTIFF image (satellite image) and I need to read the values of every pixel to calculate the sum. How do I do that? I'm new in both Matlab and the geographic field.
3
votes
0answers
135 views

Pixel shifts from its actual position in Matlab geospatial plots?

I am plotting a spatial map in MATLAB, where I have LAT-LON info for corresponding fill values. Though the grid lines follows the meridian and parallels drawn in MATLAB plot domain, the fill values ...
1
vote
0answers
131 views

How to add metadata such as geokeydirectory, geoasciiparams, modelpixelscale and modeltiepoint to a compressed tiff image?

I have resized my original tiff file (1.5gb) to a tiff file (170mb). But there was no geo reference points in the resized image which was present in my original tiff file. I have attached the ...
0
votes
1answer
73 views

Running MFmask in MATLAB: Error using imfill

I am trying to create a cloud and cloud shadow masking raster using MFmask (https://www.sciencedirect.com/science/article/pii/S0034425717303073) for a Landsat 8 scene. MFmask 1.1 is modified version ...
0
votes
1answer
423 views

How can i use the Geotiffwrite or Worldfilewrite for global TIF in MATLAB?

In MATLAB I have written the code: [image,geo]=geotiffread('africa.tif'); info=geotiffinfo('africa.tif'); geotiffwrite('Wafrica.tif',image,geo); but there was error: geotiffwrite>validateR (line ...
1
vote
0answers
74 views

Getting the area of a polygon from Google Earth or .xyz digital elevation model INCLUDING area due to topography

I'm doing some analysis for a study on geomorphology. For this I'm comparing the 'bumpiness' of lava fields to the 'bumpiness' of the surroundings. What I'm trying to do for this is measure the ratio ...
0
votes
0answers
419 views

How to convert an image .jpg to GeoTIFF (with georeference)

I did a linear regression of 26 images with the same structure (rows, columns, resolution, DATUM, projection) using MATLAB. The result that I have got is an image without spatial reference, other ...
2
votes
1answer
319 views

Reading LiDAR attributes from a .mat file?

I am working on some LiDAR dataset. I am used to importing the LiDAR data from .las files. I generally use liblas library in Python to import the same. Recently, I found the dataset in .mat format ...
1
vote
1answer
139 views

Read Matlab file as raster in R

I have a .mat file I got from someone, and it's supposed to represent global gridded data. I wanted to read it as a raster in R. Importing was ok, I was able to import using the R.matlab package >...
2
votes
0answers
158 views

Shortest path creation between two lines

I've a raster of temperature of a river, I'd like to extract values horizontally, so from bank to bank, shortest path. so basically extract pixel values along the red lines in the schema I did. What ...
0
votes
1answer
35 views

interferometry vertical wavenumber

I want to process a stack of Sentinel 1 SLC images (4) to produce tomographic layers for above ground biomass estimation. To do that, I need to generate the interferometric vertical wave number images ...
0
votes
1answer
179 views

Write referenced GeoTiff with 4 corners on matlab

I have some matlab raster matrix to export to geotif. I also have the location of each corner in Decimal degrees (WGS84). I know how to export and write the data into a geotiff but i'm having a ...
0
votes
0answers
361 views

Correctly display the colors in MATLAB colormap and colorbar?

I am plotting spatial maps with fill values ranging from 0.05 to -0.05 Below is the part of code for plotting colormap and colorbar colormap(brewermap([10],'RdYlBu')); caxis([-0.05 0....
2
votes
0answers
117 views

ENVI shows colors of different RGB code the same in a bitmap image wrongly?

As you see in this picture which I've captured in MATLAB, there are two colors. Red with the RGB code (255,0,0) Brown with the RGB code (138,139,1) I've tried to show the same picture in ENVI, ...
1
vote
0answers
301 views

Allign shapefile polygons and underlying image in MATLAB spatial plots?

I am plotting a map in MATLAB. For this I have values at corresponding Latitude-Longitude. I am creating meshgrids for Lat, Lon, and values for plotting the map. Somehow plotted map does not exactly ...
0
votes
2answers
75 views

How to adjust rows and columns, retaining cell sizes in arcmap?

The Situation: I have a vector data map with all the countries in the World, including a unique landcode for every country. I need to convert it into a raster map, so I can eventually analyse (with ...
2
votes
1answer
1k views

Sentinel-2 Reflectance calculation

which is the proceddure for reflectance calculation from Sentinel 2 1C products downloaded from ESA Scientific Hub?
0
votes
1answer
91 views

Lena Histogram 8 bit unsigned image

I am working on Lena image (unsigned 8 bit grayscale 512*512 pixels). I tried to plot the histogram using matlab (inbuilt imhist function) and in arcgis. I am getting different pixel count, appx duble ...
1
vote
1answer
381 views

from .hdf to .geoTIFF of product MOD35

I am trying to create a geoTIFF from an .hdf MOD35_L2, I am trying either a Matlab code, either I heard something about LDOPE-1.7 + MRTSwath but I am not really succeeding. Have anyone ever tried to ...
1
vote
1answer
228 views

Easiest way to create an area raster

The objective is to create a global geotiff raster at 30s resolution (appr 1km) with the pixel value the area of that pixel. I have multiple tools but struggle to find the easiest way. I am aware of ...
-1
votes
1answer
180 views

Voronoi Polygon Coordinates

I am using Voronoi polygon coordinates and respective node coordinates together. To apply the load to that particular node which is obtained by summing up the loads that lies within the polygon. By ...
1
vote
0answers
134 views

Solar Potential roof-top analysis using GIS and Remote Sensing [closed]

3D Building models were generated by using Google Sketchup Pro and Google Earth. Then shadow casted 2D orthographic raster models were exported as TIFF or JPEG format. For further analysis with ...
2
votes
1answer
200 views

Using spectral library provided by USGS Spectroscopy Lab?

In the USGS Spectroscopy laboratory, the researchers there have worked very hard to measure reflectance of a hundreds of minerals (and plants). Look at this site I downloaded the splib04a - FTP ...
-2
votes
1answer
348 views

Exporting data from ArcGIS for use in Fuzzy Logic in Matlab?

How can I export layers from ArcGIS for use in Matlab software for working with Fuzzy Logic, and what extension?
1
vote
0answers
50 views

SPOT 6 parameters to open data in matlab

I'm trying to open SPOT 6 data on Matlab using multibandread, but since I don't have some of the paremeters I'm only getting a black image. I've been looking on the web for these parameters but I ...
0
votes
1answer
292 views

Define polygons with structured data points

I am doing image processing and I get some scatter points (blue) now, filled with random points (red) on it. I want to find the random points lay inside scatter blue circles. So I tired with MATLAB ...
1
vote
1answer
490 views

How to remove cloudy pixel from MODIS NDVI (MOD13Q1)

I am using MODIS NDVI product (MOD13Q1) for the vegetation changes study. I want to remove cloudy or bad pixel from MODIS NDVI data. I am not getting any suitable method or software or any program to ...
0
votes
1answer
509 views

PSO for solving shortest path in matlab

I crate a file that represents 16000 edges with information of start node, end node and cost in a table. In MATLAB i want to solve shortest path with PSO algorithm. How i can solve it?
0
votes
1answer
189 views

ArcMap highlight features from code

I have a shapefile of lines containing an amount n of elements. I exported these features and analyzed them with another program (Matlab), which provided me as an output a row vector of length n ...
3
votes
0answers
301 views

Hot Spot Map in ArcMap and MATLAB [closed]

I've tried out the Hot Spot Map tutorial for ArcMap, which is working just fine, and I'm now starting to make some modifications so that it fits my data sets. Instead of aggregating the points as in ...
3
votes
1answer
1k views

Set NaN values to Transparent in Matlab 'geoshow' function?

I am trying to plot rainfall values in MATLAB using geoshow function. NaN values should be transparent in the map. However, the plot I am getting comes with dark blue color for NaN values. I have ...
1
vote
0answers
1k views

Creating spatial plot with colored polygons in MATLAB from shapefile?

I have a shapefile of that has 1800+ polygon features. Each polygon has unique value. How to create a spatial map for visual interpretation. Here is what I have tried in MATLAB. clear all; clc; ...
1
vote
0answers
203 views

Georeferenced Image Overlay and export to new image

I have two Geotiffs (one satellite image, one clipped image). I want to put the clipped image over the satellite image, because it shows flow velocity from this shown glacier (see image below). I ...
2
votes
0answers
79 views

Converting u and v from WGS84 to NZTM2000 - Do I need to do vector conversion?

I have u and v wind component values in latitude and longitude in WGS84. I want to convert this to NZTM2000. I've converted the lat/lon in ArcView - (and will try in R) - but do I need to also do some ...
3
votes
3answers
2k views

Flow Accumulation Python or MATLAB Script

does anyone have any resources for scripting the D8 flow accumulation in Python or MATLAB after obtaining the flow direction values and filling in 'sinks' and 'flats'? I am trying to understand the ...
3
votes
1answer
409 views

Spatio-temporal statistical analysis

I need to perform an anomaly analysis in both space and time. I have 4 data parameters: latitude, longitude, time and temperature. What I’m trying to do is to find temperature anomalies that are ...
3
votes
1answer
168 views

How to transform unknown coordinates?

I have two lists of coordinates in lat/long format which are showing the same points but in different coordinate systems. I need to find the corresponding points in two datasets using distance but ...
7
votes
6answers
3k views

Estimating river Channel Width using Python/ArcGIS/MATLAB/R?

I am trying to estimate the river channel width from digitized polygon or poly-lines shapefiles. To do so, I converted poly-line shape files to points.shp at regular intervals (at 1 cm). Later, I ...
3
votes
1answer
2k views

How to add a map created in QGIS to a Matlab plot

I am generating a number of plots in Matlab. I want to overlay these over maps I have created in QGIS. I thought the best way would be to import the maps as a geotiff into Matlab and then overlay my ...
0
votes
1answer
179 views

How to create grid from 2 separate images of latitude and longitude

I have two separate images of latitude and longitude, and want to create a grid from them so I can assign it to my Non-Geo referenced file... How can I create it, particularly in Matlab... But other ...
2
votes
1answer
905 views

How to label feature of shapefile on the color map in matlab

I am trying to make color map from text file data. I am using geoshow to call shapefile of the region and to set it as back ground of the color map. My shapefile is of the country. I have digitized ...
1
vote
1answer
1k views

how install shapely on windows so it can be imported from matlab?

i'm on windows 7/64. shapely doesn't offer windows installers on their pypi page, even though they seem to have recently (github issues 104 and 109 -- i don't have the rep to post links. their pypi ...
2
votes
0answers
146 views

Publishing Linked Datasets Format [closed]

This past summer for research I was working on linking the NOAA Rivers Database (http://water.weather.gov/ahps/forecasts.php), The National Atlas Lake Database, and the the USBGN datasets so that ...
4
votes
1answer
315 views

Obtaining sink morphometry from local minima points

I am working on LiDAR data from GIS and R and I want to extract landforms from the DEM. I have found a method to obtain local minima points of my LiDAR data. However, I would like to obtain the ...
1
vote
1answer
1k views

Matlab array to KML

I am trying to use the KML toolbox for Matlab in http://www.mathworks.com/matlabcentral/fileexchange/34694-kml-toolbox-v2-7 to create a KML file from a Matlab array to be shown in Google Earth. ...
0
votes
1answer
254 views

Connect MATLAB to cartoDB using Database Explorer?

I set up a database on cartoDB. I'm trying to use MATLAB to connect to the database using Database Explorer. I've downloaded the PostgreSQL driver. MATLAB asks for connection Parameters: Server ...