Community Profile

photo

Michael


Last seen: 5 mois il y a Actif depuis 2015

Statistiques

  • First Review
  • Thankful Level 3

Afficher les badges

Content Feed

Afficher par

A répondu
Finding the difference between one idex and the remaining indices
If you're using 2016a or earlier, you'll want to use bsxfun: >> A = [1 2 3 4 5]; >> bsxfun(@minus, A.', A) ans = ...

environ 6 ans il y a | 0

| A accepté

Question


Finding the difference between one idex and the remaining indices
I have a vector: A = [1 2 3 4 5]; I want to find the difference between A(1) and the remaining indices: A(1) = 1; 1 - A...

environ 6 ans il y a | 1 réponse | 0

1

réponse

Question


How to load in NC file with '/directory/' like this before variables??
When loading in an nc file with this info: ncinfo(ncfile) Filename: '/directories/A2016105124000.L2_LAC_OC.x.nc' ...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

Question


This has bugged me for ages...How to stop MATLAB writing/drawing outside the plot area (I've tried past suggestions but no luck!!)
I have the plot attached. You can see on the right side text goes outside the box area and the scattered data at the top and bot...

plus de 7 ans il y a | 1 réponse | 0

1

réponse

Question


Plot google map with nice m_map borders / projections
I would like to create a google satellite image of an area using the function plot_google_map but with a fancy border or on a ce...

plus de 7 ans il y a | 1 réponse | 0

0

réponse

Question


Why funny straight lines contour plots? especially when saving..
I get strange lines when trying to save a plot with contour lines (see attached pic). How do I get rid of these straight lines? ...

presque 8 ans il y a | 1 réponse | 0

0

réponse

Question


Contour lines over contourf 2D matrix
I would like to plot thick lines where y = n as a contour line on top of a contourf plot (like the image attached). How can I do...

presque 8 ans il y a | 1 réponse | 0

1

réponse

Question


How do I shade plot area with increasing and decreasing shades of a color
Hello, I want to plot an area of a graph (x = 1:24, y = -1:1) with one color (black), which I then want to decrease/increase ...

environ 8 ans il y a | 1 réponse | 0

0

réponse

Question


I can't change the contour colorbar of the font properties or contour labels!!!
This is my simplified code: h = axes; set(h,'position',[0.511805555555556 0.131326949384405 0.393194444444445 0.71545827...

environ 8 ans il y a | 1 réponse | 0

0

réponse

Question


Annotation position driving me mad!! changing the position values won't work...
I have a position for my annotation on an axis, but it keeps being placed in another location and changing the position values d...

plus de 8 ans il y a | 2 réponses | 0

2

réponses

Question


How to do scatter/plot overlaying an imagesc/pcolor plot?
I have a matrix (200 x 200), which I do: imagesc(v(1:200),v2(1:200), matrix); This is an extrapolated Matrix, and now I wish to...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


How do I calibrate array in MATLAB using 3 variables??
I have: a = (1000,1) b = (1000,1) c = (1000,1) diff = (1000,1) a and b should have similar values (i.e. profile...

plus de 8 ans il y a | 1 réponse | 0

1

réponse

Question


I want to fill in the gaps in a matrix (extrapolation) and produce nice looking plots such as this ->
I have a plot attached (17.02.17) which was created using vectors and interpolation via binning (bindata2: http://xcorr.net/2013...

presque 9 ans il y a | 2 réponses | 0

2

réponses

Question


create structure variable within loop using strings??
within a loop I would like to do something along the lines of the following: for dive = 1:10 for n = 1:3 ...

presque 9 ans il y a | 2 réponses | 0

2

réponses

Question


How to add 'metadata' or similar to 3d gridded matrix on Matlab
I have created a 3D matrix 100x200x14 where; 100 = longitude 200 = depth 14 = time; and it seems to be fine, however...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Question


if any variables empty in workspace, continue?
There have been times when this would be useful... How can I continue in a for loop to the next index when any variable in th...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Question


How to bin data in 3 dimensions - 3/4 done but stuck!
I'm trying to create a 3d matrix gridded as depth x longitude x time with a field of temperature, so that I can select the data ...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Question


How do I interpolate usng vectors? and they are large..
I have a series of data points as vectors: depth, time, lon, & temperature all of the same size (6882 x 1), which I have obta...

presque 9 ans il y a | 1 réponse | 0

1

réponse

Question


How to save values into a data structure within a loop?
Hello, I have a loop in which I find data points that are within a certain hour (e.g. 0 - 1 am) for a given day, and I want t...

environ 9 ans il y a | 1 réponse | 0

1

réponse

Question


How to make the cleaner smoother loop for the following example?
d21a = DIC(d.station == 21); u = unique(d.depth(d.station == 21)); n = histc(d.depth(d.station == 21),u); uu = u(n>1); for...

environ 9 ans il y a | 1 réponse | 0

1

réponse

Question


Read csv file into two ouput variables - text & numbers
I have inherited a script that reads in a csv file, where the first column is text and the other columns are numbers. For exampl...

environ 9 ans il y a | 2 réponses | 0

2

réponses

Question


Problem using xlsread!! Unable to read XLS file - File is not in recognized format
Hello, I have inherited a script from someone which loads in an excel spread sheet in the format csv. However, I am stuck as ...

environ 9 ans il y a | 1 réponse | 0

1

réponse