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

casi 12 años hace | 1

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 1

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

| aceptada

Pregunta


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

casi 12 años hace | 1 respuesta | 0

1

respuesta

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

casi 12 años hace | 0

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

casi 12 años hace | 0

| aceptada

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

Enviada


circlem
Draw circles on maps

casi 12 años hace | 2717 descargas |

5.0 / 5
Thumbnail

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

casi 12 años hace | 1

| aceptada

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

casi 12 años hace | 1

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

casi 12 años hace | 0

Enviada


fullfig
Simply initialize full-screen figures

casi 12 años hace | 2549 descargas |

5.0 / 5
Thumbnail

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 0

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

casi 12 años hace | 1

| aceptada

Cargar más