Respondida
Why am I unable to call the ncread function to read NetCDF files?
Pedro, you might not have the latest version of MATLAB. |ncread| was first shipped with R2011a. If possible, consider upgrading....

casi 8 años hace | 0

Respondida
How to edit a particular variable in a netcdf file?
You could use the <http://www.mathworks.com/help/matlab/ref/ncwrite.html ncwrite> function to overwrite the variable.

casi 8 años hace | 0

| aceptada

Respondida
Take coordinate data from struct, throw it into an array. Why is this hard to find info about?
Does this help? (If not, use this example code to show how you want your Centriod variable to look like) stats = regionpro...

casi 8 años hace | 0

| aceptada

Respondida
NetCDF file grid box extraction
I got this far.. then realized no exact match exists for that lat/lon. So, conceptually, what do you want to do? Pick a point cl...

alrededor de 8 años hace | 0

Respondida
Image area calculation and edge detection...
If you have the latest version, try out the <http://www.mathworks.com/help/images/image-segmentation-using-the-color-thesholder-...

alrededor de 8 años hace | 0

Respondida
How to save a Tiff using signed values with LibTiff library.
You need one extra tag: intFinalImage = int16(magic(10)); tiffFile = 't.tif'; t = Tiff(tiffFile,'w'); %-------...

alrededor de 8 años hace | 2

| aceptada

Respondida
How do I write a netcdf file that ncdump and cdo/GrADS will understand?
James - my guess is that the other utilities you are using are based on an older version of the NetCDF library - they do not rec...

más de 8 años hace | 2

| aceptada

Respondida
Memory Usage and block proc
blockproc will not read the full image, it ought to only read one tile each. However, since your file system is serial, the fina...

más de 8 años hace | 0

Respondida
I am able to read the netcdf file format. But how to calculate average? Suppose I have to calculate the average from 1st January to 5th January, then again 6th January to 10th January and so on.....Below is the program to read the values.
I assume you know about <http://www.mathworks.com/help/matlab/ref/mean.html |mean|> but want to find out how to index into a net...

más de 8 años hace | 0

| aceptada

Respondida
Example 3D netcdf data
If you assume net connection, your example could "download" it. MATLAB can read <http://docs.opendap.org/index.php/Dataset_List ...

más de 8 años hace | 1

Respondida
How to create Linear structuring element in morphological operations
Use <http://www.mathworks.com/help/images/ref/strel.html#bqkf9de |strel|>.

más de 8 años hace | 0

Respondida
How can i create a NetCDF file ?
Felipe, Consider starting with the example in the <http://www.mathworks.com/help/matlab/ref/nccreate.html |nccreate|> doc page ...

más de 8 años hace | 0

| aceptada

Respondida
character recognition
How about <http://en.wikipedia.org/wiki/Template_matching template matching>? Look at a demo, the corresponding source code s...

más de 8 años hace | 0

Respondida
How to extract the data from .nc file based on longitude and latitude,time?
The nc* functions and the netcdf.* functions represent two independent ways to access a NetCDF file. I would recommend sticking ...

más de 8 años hace | 0

| aceptada

Respondida
why does hdf5read function return only 4 decimal places instead all numbers
Look at the documentation for <http://www.mathworks.com/help/matlab/ref/format.html |format|>. >> hinfo = hdf5info('test....

casi 9 años hace | 0

| aceptada

Respondida
How we can check for more than one edge passing through a pixel
When looking for 3x3 (or 2x2) patterns, BWLOOKUP is usually faster and more flexible: function bw = multiedge(bwedge) ...

casi 9 años hace | 0

Respondida
extract portion of netCDF file based on latitide and longitude
Try using <http://www.mathworks.com/help/matlab/ref/ncdisp.html |ncdisp|> first to look at the structure of your file. Usually...

casi 9 años hace | 0

| aceptada

Respondida
Output argument "pixel_location" (and maybe others) not assigned during call to ......
Setting pixel_location to empty ([]) in the else might be the right thing to do. MATLAB often uses [] to indicate 'nothing found...

casi 9 años hace | 0

Respondida
Imageprocessing tool of matlabR2010 doesnot contain 'getHSVColorFromDirectory' function
getHSVColorFromDirectory is not a MATLAB function. Please contact the author of the code you are trying to execute to resolve th...

casi 9 años hace | 0

Respondida
save images as tif 32 bits by using imwrite
Soum, did you click on the documentation link? Andreas was talking about the Tiff class, which is a different interface than IMW...

casi 9 años hace | 3

Respondida
How to get INTENSITY along a spcific curve?
You could try using <http://www.mathworks.com/help/images/ref/improfile.html |improfile|>, it will let you draw the cirle and th...

alrededor de 9 años hace | 0

| aceptada

Respondida
Builder JA Error with private file (dicominfo)
Chris: _The problem turned out to be Java 1.7 being incompatible with Matlab2013a. The documented examples like computing t...

alrededor de 9 años hace | 0

| aceptada

Respondida
How do I optimize this code to run efficiently on the GPU?
A quick 'air' code using <http://www.mathworks.com/help/distcomp/pagefun.html |pagefun|>: tic M = pagefun(@mtimes, A(:...

alrededor de 9 años hace | 0

Respondida
How can i convert an ASCII file to NetCDF?
Kopparthi, I assume you meant to upload only the meta data in the text file. I am not familiar with ADCP so I am not sure how yo...

alrededor de 9 años hace | 0

| aceptada

Respondida
How can delete a variable within a netcdf file
_"Attributes are more dynamic than variables or dimensions; they can be deleted and have their type, length, and values changed ...

alrededor de 9 años hace | 0

Respondida
How do I process this netcdf file?
It looks like you have already discovered |ncdisp|, have a look at other functions in the same family: <http://www.mathworks.com...

alrededor de 9 años hace | 0

| aceptada

Respondida
Regarding file convertion from one format to another format?
First, read the data into MATLAB using |fopen| and |fread|. You could then use the |nc*| family of functions like <http://www.ma...

alrededor de 9 años hace | 0

| aceptada

Respondida
NETCDF GIS coupling creationg problems
I am not familiar with arcGIS, does it show you the variable dimensions? Does it expect time to be first or the last dimension? ...

alrededor de 9 años hace | 0

Respondida
Problem with change a files whitin netcdf
Try the <http://www.mathworks.com/help/matlab/ref/netcdf.renamevar.html |netcdf.renamevar|> function. The doc page in the link h...

más de 9 años hace | 0

| aceptada

Respondida
How to fill inside of binary region?
How about connected component analysis? Use <http://www.mathworks.com/help/images/ref/regionprops.html |regionprops|> to obtain ...

más de 9 años hace | 0

Cargar más