Answered
How to resize one axis and keep proportionality?
What if you set |axis equal| before setting axis position? Then you can tinker with |xlim| however you please. This is wha...

10 years ago | 0

Answered
White space in map grid.
The |surfm| function discards a row and column of data on the edges. Here's a brute-force solution: % Repeat columns on e...

10 years ago | 0

Submitted


grainsize_interp
Get optical grain sizes from Antarctic MODIS data

10 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
GeodataLogger via Matlab with plot_google_map
I think your whole script can be replaced by this: lat = [48.8708 51.5188 41.9260 40.4312 52.523 38.274179]; lon = [2.4...

10 years ago | 1

| accepted

Answered
Euclidean Distance (Back to the Math...complete with two loops)
The euclidean distance is a strange term to apply to this particular problem. For each row,column pair you have a value in |A| ...

10 years ago | 0

Answered
How to make a plane rotating with roll, pitch and yaw?
I wrote a function to do this, it's called |xyz2rpy|. You can download it and check out the documentation <http://www.mathworks...

10 years ago | 3

Answered
How to draw transparent grey lines on each other to make darker joints?
http://www.mathworks.com/matlabcentral/answers/103074-how-can-i-set-the-transparency-of-line-objects-in-matlab-7-14-r2012a

10 years ago | 1

Answered
How do i count the flashes of a lightning discharge within my time of interest and plot them in per square km ?? I want the plot to look like this(capture.jpg --attached below).
The first step is to convert lat,lon to some projected x,y values because lats and lons are not equally spaced. If you have the...

10 years ago | 0

| accepted

Answered
How can I call a function for a specific amount of time, using a Timer function?
The |sendval| function has no outputs. Perhaps you want the first line of |sendval| to be function m = sendval(val) w...

10 years ago | 0

| accepted

Answered
Different File locations: multiple delimiters in text files.
You can use <http://www.mathworks.com/help/matlab/ref/textscan.html#namevaluepairarguments |textscan|> instead of |dlmread| and ...

10 years ago | 0

Answered
Do I need nested loops?
The loop you've written overwrites the results each time through the loop. Any information you want to log such as |newcoord.la...

10 years ago | 0

| accepted

Answered
i try to convert image into polar coordinates
Sophia is correct. The problem is on this line: c = ((m+1)/2,(n+1)/2); %make center of the image to be the origin Do y...

10 years ago | 1

| accepted

Answered
Add and Reduce Salt & pepper noise
http://www.mathworks.com/help/images/ref/medfilt2.html

10 years ago | 0

Answered
How to sort one field of a structure based on the values of another field?
The <http://www.mathworks.com/help/matlab/ref/sort.html |sort|> function returns the order of indices of an array for sorting. ...

10 years ago | 0

| accepted

Answered
Data Cursor and inputting RGB values
Try <http://www.mathworks.com/matlabcentral/fileexchange/53656-colorpicker |colorpicker|>.

10 years ago | 0

Answered
how to display points from very light red to dark red?
I recommend <http://www.mathworks.com/matlabcentral/fileexchange/45208-colorbrewer--attractive-and-distinctive-colormaps |brewer...

10 years ago | 1

Answered
How to create image from array with millions of rows and 3 columns?
In your txt file, are the x and y values some regularly-spaced repeating pattern? By that I mean, does it look like: x y ...

10 years ago | 0

Answered
what's the error??
This error means Matlab is looking for something called |detectFASTFeatures|. That something could be a function or it could be...

10 years ago | 0

Answered
Color area outside of polygon/shapefile?
Hi Ryan, Perhaps you're looking for |setm| with the |'ffacecolor'| option. worldmap('world') geoshow('landareas.shp...

10 years ago | 1

Answered
How to export an image from matlab after processing it and save it in any location
You can use <http://www.mathworks.com/help/matlab/ref/imwrite.html |imwrite|>.

10 years ago | 1

Question


ifft2 surface generation
I'm trying generate a random surface based on the frequency spectrum of a known surface. I suspect I am making a conceptual err...

10 years ago | 0 answers | 0

0

answers

Answered
Right now im trying to make average grades on matlab from a chart on excel. How do I say on matlab the hw row is 15% of my final grade and the test is 30%.
If E is worth 30% of the final grade and D is worth 10% of the final grade, FinalGrade = A*Aweight + ... + D*0.1 + E*0.3 +...

10 years ago | 0

| accepted

Answered
How does one plot this fractal?
For the two parts of your question: 1. When you call plot you're only plotting x(k),y(k), which is only the very last value....

10 years ago | 0

| accepted

Answered
How do I identify columns with leading ones and generate a separate matrix with matching columns?
For some random matrix |A|: A = randi(3,10); The columns that have a |1| in the first row can be found like this: ...

10 years ago | 0

Answered
Matrix concatenation from different rows inquiry
Is this what you want? A = [1 2; 3 4]; B = A(:,1)+A(:,2)/10 = 1.2 3.4

10 years ago | 0

Question


histogram equalization based on a pixel region
I have a sequence of grayscale images that were taken in different sunlight conditions. In the sequence, there are no moving ob...

10 years ago | 0 answers | 0

0

answers

Answered
Building a structure of data from a .nc file
Try replacing data= struct(tmpname,tmpval); with data(jj) = struct(tmpname,tmpval);

10 years ago | 0

Answered
how to plot two graphs ?
Is this what you want? set(gca,'xtick',1:8,'xticklabel',{'jan','feb','mar','apr','may','jun','jul','aug'})

10 years ago | 0

Answered
How do I find the mean for 42 rows for one column, but for the second column only the first 3 rows, which is pulled from an excel table.
If your dataset looks like this: X = rand(100,3); You can get the mean of the first 42 rows of the first column of |X|...

10 years ago | 0

| accepted

Answered
Fitting one histogram to another
Take a look at the <http://www.mathworks.com/help/images/ref/histeq.html |imhist|> function.

10 years ago | 0

Load more