Answered
how do i obtain several output with a "function" function?
An example of |varargout| is described <http://www.mathworks.com/help/matlab/ref/varargout.html here>.

11 years ago | 1

Answered
worldmap does not work
It looks like your license for the Mapping Toolbox is expired, in use by someone else, or somewhere Matlab can't find it. Type ...

11 years ago | 0

Answered
how to add external image in a matlab picture
Run this code: figure plot(1:100,(1:100).^2,'b') axes('pos',[.3 .5 .3 .3]) I = imread('eight.tif'); imshow(I)...

11 years ago | 0

| accepted

Answered
Problem with datenum (R2012a)
Here's 40 days worth of hourly datenums: t_hourly = datenum(2014,1,1,0:40*24,0,0); datestr(t_hourly) Or, if you have ...

11 years ago | 0

Answered
I am having trouble understand what this command does. Can anyone help me?
Let's give the matrix we're operating on |[1 2]| a name. Let's say A = [1 2]; Then |repmat| repeats |A| in a two-by-t...

11 years ago | 0

| accepted

Answered
How to assign a handle in set function for figures?
Does this do what you're looking for? x = linspace(0,2*pi,100); markers = {'x','+','s','p','^'}; colors = colormap...

11 years ago | 0

| accepted

Answered
How to calculate the volume of bathymetry
Is your x,y,z data set gridded? If not, grid it, perhaps with <http://www.mathworks.com/matlabcentral/fileexchange/8998-surface...

11 years ago | 1

Answered
Getting the exact coordinates of some location on a map (longitude, latitude) using MATLAB
Does your image have georeferencing information associated with it? If so, <http://www.mathworks.com/help/map/ref/pix2latlon.ht...

11 years ago | 0

| accepted

Answered
overlay geotiffs with transparency using different colormaps
I do this often when I <http://www.mathworks.com/matlabcentral/fileexchange/screenshots/22366/original.jpg overlay semitranspare...

11 years ago | 0

| accepted

Question


Interpolate a continuous velocity time series from particle-tracking displacement measurements.
I am tracking particle velocity by measuring its displacement between image pairs. Snapshots are taken at irregular intervals i...

11 years ago | 1 answer | 0

1

answer

Answered
how to rotate cube not parallel to axis
You can use <http://www.mathworks.com/help/matlab/ref/rotate.html |rotate|> and specify any origin about which to perform the ro...

11 years ago | 0

Answered
How to find corresponding value in two arrays?
A = rand(1,100); B = rand(1,100); MyBElements = B(cumsum(A)<10) Above, |MyBElements| is all the elements in |B| unt...

11 years ago | 0

| accepted

Answered
How to change coordinate projection system of a shapfile
There's <http://www.uwgb.edu/dutchs/usefuldata/utmformulas.htm no magic to coordinate transformations>. If you have to perform ...

11 years ago | 0

Answered
How to change coordinate projection system of a shapfile
Do any of <http://www.mathworks.com/matlabcentral/fileexchange/9696-geodetic-transformations-toolbox these tools> help?

11 years ago | 0

Answered
How to change coordinate projection system of a shapfile
Can you unproject the polygon data with <http://www.mathworks.com/help/map/ref/projinv.html |projinv|>, then use |projfwd| to pr...

11 years ago | 0

Answered
How to change coordinate projection system of a shapfile
I've never mixed coordinate systems, but it doesn't seem like it'd be a problem to plot one dataset using <http://www.mathworks....

11 years ago | 0

Submitted


circlem
Draw circles on maps

11 years ago | 2 downloads |

5.0 / 5
Thumbnail

Answered
Equally spaced markers in a loglog plot
x=linspace(1000,10000,1000); data=x.^-0.5; loglog(x,data) hold on evenMarkers(x,data,11); where |evenMarkers| i...

11 years ago | 1

| accepted

Answered
Stacking several Geo-tiff into 3d array.
Can you explain the step you're getting hung up on? If all of your images are the same size and resolution with corners pinned ...

11 years ago | 1

Answered
Equally spaced markers in a loglog plot
You can use <http://www.mathworks.com/help/matlab/ref/logspace.html |logspace|>. :)

11 years ago | 0

Submitted


fullfig
Simply initialize full-screen figures

11 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
Using polyfit to fit power function including the initial point x=0
x=[0 0.0005 0.001 0.005 0.01 0.05 0.1]; y=[0.43 0.47 0.51 0.77 1 1.9 2.44]; plot(x,y,'ko') hold on linearF...

11 years ago | 0

Answered
I have data of 10000 points of nonlinear fit. I want to have an equation that gives me the trend of that data.
<http://www.mathworks.com/help/matlab/ref/polyfit.html |p = polyfit(x,y,n)|> will give you that equation. If |n=1|, |p| will ha...

11 years ago | 0

Answered
Having trouble with some homework.
Your |age| variable is given in units of days. So |age_year = age/365.25| and |age_day| should equal |age|.

11 years ago | 0

Answered
Having trouble with some homework.
If you want to go above and beyond, you could look up data for life expectancy based on birth year (could also take into account...

11 years ago | 0

Answered
Invalid parameter/value pair arguments using Mapping Toolbox
Have you called the |colorbar| command? Instead of using |set(gca,...|, I recommend giving the color bar a handle of its own, w...

11 years ago | 0

Answered
Please help I need to rotate a rectangle
I've never used the psychtoolbox, but in plain old Matlab you could plot a <http://www.mathworks.com/help/matlab/ref/rectangle.h...

11 years ago | 0

Answered
how to turn elements in matrix to 0?
If it's a matter of numerical noise <http://www.mathworks.com/help/matlab/ref/eps.html |eps|> may help.

11 years ago | 0

Answered
how to turn elements in matrix to 0?
If you'd like to change all values in |T| that are less than some threshold (we'll call the threshold |thresh|), all you need is...

11 years ago | 0

Answered
Matlab how to find the list of available built-in functions
How about <http://www.mathworks.com/help/simulink/functionlist.html this>?

11 years ago | 1

| accepted

Load more