Answered
Question using fprintf for words
Curly brackets and |disp| would be a different way: A= {'jan','feb','march','april'} disp(A)

11 years ago | 1

Answered
Interpolation of Data on Different Grids
The best way is to project the elevation data using an appropriate projection. Then interpolation should be no problem with |int...

11 years ago | 1

| accepted

Answered
Making looping plots interactive with zoom and pan
Check out how Carlos Adrian Vargas Aguilera does it with <http://www.mathworks.com/matlabcentral/fileexchange/20645-ginput2-m-v3...

11 years ago | 0

Submitted


gdist
Get distances between points from mouse clicks on a figure.

11 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
How can I create a circle in the middle of the figure which do not touch axis..??
Follow it with this: axis([-2 6 -2 6]) axis equal The first line sets limits of the axes, the second line ensures th...

11 years ago | 0

Submitted


gdistm
Get distances in any length unit from mouse clicks on a map

11 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
How can I draw a filled circle?
A few <http://www.mathworks.com/matlabcentral/fileexchange/45952-circle-plotter/content//circles_demo/html/circles_documentation...

11 years ago | 4

Answered
distances between coordinates
First, convert lat/lons into some projected x/y using an appropriate projection. After projecting lat/lon to x/y, coordinates wi...

11 years ago | 0

Answered
Efficiently saving multislice tiff using Tifflib?
Does <http://www.mathworks.com/matlabcentral/fileexchange/35684-save-and-load-data-as-multi-frame-tiff-format this> help?

11 years ago | 1

| accepted

Answered
Convert MATLAB code compatible with version 2011
Instead of |readtable|, use <http://www.mathworks.com/help/matlab/ref/textscan.html |textscan|>, and you won't need |table2cell|...

11 years ago | 0

Answered
Streamlines from a text file that has the velocity values as a matris
First, get the text data into matrices corresponding to velocity components and locations. Second, use <http://www.mathworks...

11 years ago | 0

Answered
plot three dimensional surface for this code
Indeed, |r3|, |r4|, and |u3| are all 1x100 arrays. Change |mesh(r3,r4,u3)| to |plot3(r3,r4,u3)| to see for yourself. You'll hav...

11 years ago | 1

Answered
Calculating number of specific value in a vector
sum(A==11)

11 years ago | 0

| accepted

Answered
Yaw, Pitch and Roll
Perhaps you could fit a plane to the 4 points using least squares. If you fit that plane with z as the independent variable, th...

11 years ago | 0

Answered
nested for loop assigning to a matrix
It looks like you're assigning |abs_sun_rad(day,hr)=Insd...|, but |day| and |hr| are scalar values that do not change. Perhaps ...

11 years ago | 0

Answered
How do i expand this figure so all graphs fit perfect
Instead of using |subplot(2,2,1)|, try this figure axes('position',[0 .5 .5 .5]) plot(1:10,1:10,'b') axe...

11 years ago | 0

| accepted

Answered
Yaw, Pitch and Roll
Check out the |xyz2rpy| function described <http://www.mathworks.com/matlabcentral/fileexchange/47967-draw-a-3d-airplane/content...

11 years ago | 0

Submitted


paruly
parula-like color map

11 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
Clustering GPS points based on distance between points?
If your data are in lat/lon coordinates, you'll need to convert them to some reasonable x/y coordinates, then you can use <http:...

11 years ago | 0

Answered
How to plot a shape and let the colors change
With <http://www.mathworks.com/matlabcentral/fileexchange/46874-rgbmap-color-maps/content//rgbmapdemo/html/rgbmap_demo.html |rgb...

11 years ago | 0

Answered
I'm trying to integrate the following function but without any luck
First, define some _x_ range over which to plot the function and integrate. Someone (your instructor?) has said the range shoul...

11 years ago | 0

| accepted

Answered
Colorbar axis scaling
<http://www.mathworks.com/matlabcentral/fileexchange/48413-cbdate/content/cbdate/html/cbdate_documentation.html |cbdate|> can do...

11 years ago | 0

Submitted


cbdate
colorbar date formatting.

11 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
How can I plot three catenary functions in one plot?
Here are three function in one plot: x = -10:10; y1 = 10*cos(x/10); y2 = abs(x.^1.2); y3 = -y1; plot(x,y1,'red...

11 years ago | 0

Answered
Is there a way to abort the code inside a function?
Can you use a |while| loop with |continue| in your function?

11 years ago | 0

Answered
Trapezoidal question set, big problems (new user)
Can you use the unfortunately-named <http://www.mathworks.com/help/matlab/ref/cumtrapz.html |cumtrapz|> function? What do y...

11 years ago | 0

Answered
How to read or extract modis HDF aerosol data .
I believe |hdfsd| is obsolete. Consider <http://www.mathworks.com/help/matlab/ref/h5read.html |h5read|> instead.

11 years ago | 0

Answered
How to convert image from rgb space to luv space?
File exchange has a <http://www.mathworks.com/matlabcentral/fileexchange/28790-colorspace-transformations colorspace transformat...

11 years ago | 0

Answered
how to remove the artifact in the Image
Have you tried <http://www.mathworks.com/help/images/filling-an-roi.html |roifill|>?

11 years ago | 0

Answered
Have surfaces in powerpoint
You wrote: "Is there a better alternative..." Better than what? What exactly do you find visually unappealing about the surfac...

11 years ago | 0

| accepted

Load more