Respondida
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...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

Enviada


grainsize_interp
Get optical grain sizes from Antarctic MODIS data

alrededor de 10 años hace | 1 descarga |

0.0 / 5
Thumbnail

Respondida
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...

alrededor de 10 años hace | 1

| aceptada

Respondida
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| ...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 3

Respondida
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

alrededor de 10 años hace | 1

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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 ...

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 0

| aceptada

Respondida
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...

alrededor de 10 años hace | 1

| aceptada

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

alrededor de 10 años hace | 0

Respondida
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. ...

alrededor de 10 años hace | 0

| aceptada

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

alrededor de 10 años hace | 0

Respondida
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...

alrededor de 10 años hace | 1

Respondida
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 ...

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 1

Respondida
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|>.

alrededor de 10 años hace | 1

Pregunta


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...

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

Respondida
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 +...

alrededor de 10 años hace | 0

| aceptada

Respondida
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....

alrededor de 10 años hace | 0

| aceptada

Respondida
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: ...

alrededor de 10 años hace | 0

Respondida
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

alrededor de 10 años hace | 0

Pregunta


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...

alrededor de 10 años hace | 0 respuestas | 0

0

respuestas

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

alrededor de 10 años hace | 0

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

alrededor de 10 años hace | 0

Respondida
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|...

alrededor de 10 años hace | 0

| aceptada

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

alrededor de 10 años hace | 0

Cargar más