답변 있음
Search for elements in a string
For multiple special characters, use a few calls of |regexp| and |any|: s = 'abcd\potatoes\eddie\murphy?martin/lawrence'; ...

11년 초과 전 | 1

답변 있음
Search for elements in a string
Use |regexp| s = 'abcd\potatoes\eddie\murphy'; indicesOfSlash = regexp(s,'\') indicesOfSlash = 5 14 20

11년 초과 전 | 0

답변 있음
How to change labels of contourf when I have no handles?
If the contourf plot is the most recently-plotted object, using |get(gca,...)| should work. Try this: contourf(peaks(20),...

11년 초과 전 | 0

답변 있음
conditional colouring graph problem
First create a logical array the size of vx and vy. It will have a 1 everywhere vy is bigger than vx, and a zero everywhere els...

11년 초과 전 | 0

답변 있음
conditional colouring graph problem
It looks like you're only testing the condition of whether the very last value in |vy| is bigger than the very last value in |vx...

11년 초과 전 | 0

| 수락됨

답변 있음
How to get the subplot number by clicking on it?
If you can add a tag when creating the data like this for k = 1:4 subplot(2,2,k) set(gca,'tag',num2str(k)) e...

11년 초과 전 | 1

| 수락됨

답변 있음
How could I present this spatial data simply?
As I understand your question, the salt marsh edge is a curvy line which can be approximated by many x,y points that moves over ...

11년 초과 전 | 1

답변 있음
NetCDF file grid box extraction
Use t = datenum(1949,12,ncread('test.nc','time')); to get time in Matlab's datenum format, which is days since year 0...

11년 초과 전 | 0

제출됨


ASAID grounding lines
Get and plot grounding line and hydrostatic line data from ASAID.

11년 초과 전 | 다운로드 수: 1 |

0.0 / 5
Thumbnail

답변 있음
bolding x axis label in a subplot figure
Try changing the figure renderer ( |set(gcf,'renderer','opengl')| or |set(gcf,'renderer','painters')| ). Sometimes the fontweig...

11년 초과 전 | 0

| 수락됨

답변 있음
handle graphics in R2014
Indeed, the changes in 2014b have been been a source of frustration for many of us. <http://www.mathworks.com/help/matlab/graphi...

11년 초과 전 | 0

답변 있음
NetCDF file grid box extraction
I think the issue is that the lat/lon grid is not regular--they're in _rotated_ coordinates. If you have the Mapping Toolbox, h...

11년 초과 전 | 1

답변 있음
Trend lines
...Or to streamline the |polyfit| -> |polyval| -> |plot| process, <http://www.mathworks.com/matlabcentral/fileexchange/49119-pol...

11년 초과 전 | 2

답변 있음
How to analyze a three dimensional matrix???
If all you need is a map of slopes or linear trends, <http://www.mathworks.com/matlabcentral/fileexchange/46363-trend/content/tr...

11년 초과 전 | 0

제출됨


polyplot
Easily plot linear trend lines or polynomial fits to scattered data.

11년 초과 전 | 다운로드 수: 1 |

5.0 / 5
Thumbnail

답변 있음
Can anyone please explain the syntax and purpose of plot() function?
If you're trying to plot x,y data on an image, you can do this: imshow('coins.png') hold on plot(1:300,linspace(1,20...

11년 초과 전 | 0

| 수락됨

답변 있음
Issue plotting data points as text
Try this: subjstring = {'S22', 'S29', 'S38', 'S40', 'S41', 'S42', 'S43', 'S44', 'S46', 'S47'}; x = 1:10; y = ra...

11년 초과 전 | 0

답변 있음
Include MATLAB output in LaTeX document?
Does <http://www.mathworks.com/matlabcentral/fileexchange/4894-matrix2latex this> do what you're looking for?

11년 초과 전 | 0

| 수락됨

답변 있음
Save image without the white margin
There are many solutions. The best standby solution is to (almost) always use <http://www.mathworks.com/matlabcentral/fileexcha...

11년 초과 전 | 1

답변 있음
Painter's export problem
Painters does not support transparency. Can you set |'LineStyle'| to |'none'|?

11년 초과 전 | 1

| 수락됨

답변 있음
Create colored vector field with unit vectors that are colored by magnitude.
I suspect |ncquiverref| can be modified somewhat easily to remove Mapping Toolbox dependency. That function is well documented,...

11년 초과 전 | 0

답변 있음
Animate 2D line object
To make an avi, try the <http://www.mathworks.com/help/matlab/ref/videowriter-class.html |videoWriter|> function. To make a gif...

11년 초과 전 | 0

답변 있음
Finding the mean value for five maximum number in matrix
X_sorted = sort(X); mean5 = mean(X_sorted(1:5),'descend');

11년 초과 전 | 0

답변 있음
Save figure between each iteration
There's no need to |pause| anything if all you want to do is save figures. <http://www.mathworks.com/matlabcentral/fileexchange...

11년 초과 전 | 1

답변 있음
How to average GPS data?
Perhaps you can pick one track as a first-guess at a centerline and use <http://www.mathworks.com/matlabcentral/fileexchange/397...

11년 초과 전 | 0

답변 있음
Importing MATLAB Figures into Latex
Instead of |print| I tend to use <http://www.mathworks.com/matlabcentral/fileexchange/23629-export-fig |export_fig|> to export a...

11년 초과 전 | 1

답변 있음
Overlay digital elevation model on hillshade
Another option is to use the <http://www.mathworks.com/matlabcentral/fileexchange/49065-shadem/content/shadem/html/shadem_docume...

11년 초과 전 | 0

답변 있음
How do I connect data points on log scale?
Separate the inputs into x and y arrays: x = 3:2:9; y = [3.371779e-04, 2.148437e-05, 4.417304e-06, 1.305630e-06]; ...

11년 초과 전 | 0

답변 있음
How to plot contourf data on m-map polar stereographic projection?
I have not used M-Map, but you can easily transform your lat/lon coordinates to polar stereographic coordinates with <http://www...

11년 초과 전 | 0

더 보기