Question


Setting text units in R2014b very slow.
When I run an old code on R2012b it takes just a second to render a complex figure. When I run the same code it takes 48 seconds...

10 years ago | 0 answers | 0

0

answers

Answered
Problem after interp1.
Try this: A = [1 1.5 2 2.33 2.67 3 150.75 151 101 51 1 1.5 2 2.33 2.67 3 3.33]; % A has these corresponding x ...

10 years ago | 0

Answered
Calculating Curl from Velocity field input in column vectors
Sounds like your data are essentially scattered data, so you'll need to grid them before computing curl. Different versions of ...

10 years ago | 1

| accepted

Answered
How to generate sound in Matlab?
Use soundsc(y,fsampling) which scales the sound before playing it.

10 years ago | 1

| accepted

Answered
Find value in interpolated data
Use <http://www.mathworks.com/help/matlab/ref/interp1.html |interp1|>. It's exactly what you need yi = interp1(t,y,2.2334...

10 years ago | 6

| accepted

Answered
3D Plot points as spheres instead of dots?
Another option using built-in commands: [x,y,z] = sphere(30); s1 = surf(x,y,z); shading interp hold on axis eq...

10 years ago | 0

Answered
3D Plot points as spheres instead of dots?
You might be able to do it with the <http://www.mathworks.com/matlabcentral/fileexchange/53518-bubblegum-plot bubblegum plot> fu...

10 years ago | 0

Answered
extract matrix value based on lat lon data
I think you want <http://www.mathworks.com/help/matlab/ref/inpolygon.html |inpolygon|>. To get the indices of all data inside t...

10 years ago | 0

| accepted

Answered
How to get whether the given input pair exist in given stanadrd list or not
The standard <http://www.mathworks.com/help/matlab/ref/ismember.html |ismember|> function should tell you what you need to know....

10 years ago | 0

Answered
Prompt user for a text string
I think you want name=input(prompt,'s'); to specify a string.

10 years ago | 14

| accepted

Answered
How can I average data from June,July, and August into one matrix
If I understand your question correctly, you should be able to use <http://www.mathworks.com/matlabcentral/fileexchange/48361-do...

10 years ago | 0

Answered
hide NaNs in geoshow
Hey Sagar, Yeah, that set AlphaData trick works for |imagesc| but not for geoshow. You can try to work around it by convert...

10 years ago | 1

Answered
RGB information about a specific point in a image
To get the RGB of row 30, column 45, I = imread('pears.png'); squeeze(I(30,45,:)) Or to get the values by mouse clic...

10 years ago | 1

| accepted

Question


Linking axes or using addlistener
I have two x axes associated with the same y data. It looks like this: x1 = 1:10; x2 = 10*x1; y = x1.^2; ...

10 years ago | 0 answers | 0

0

answers

Answered
how to mark the highest white pixel through bottom to the top? using grayscale image.
The white pixels are the ones where all three color components R, G, and B equal 255, so you can get a 2D logical matrix of eith...

10 years ago | 1

| accepted

Answered
find the mean of values which are inside the inpolygon
The <http://www.mathworks.com/help/matlab/ref/inpolygon.html |inpolygon|> function makes this pretty easy. It tells you the ind...

10 years ago | 1

| accepted

Answered
Threshold contour without changing colormap
The <http://www.mathworks.com/matlabcentral/fileexchange/7943-freezecolors---unfreezecolors |freezeColors|> function on file exc...

10 years ago | 0

Submitted


ICPcampaign
Returns UTIG ICECAP field seasons associated with input times.

10 years ago | 1 download |

0.0 / 5
Thumbnail

Answered
write a program script to solve the problem
http://www.mathworks.com/matlabcentral/answers/8626#answer_11872

10 years ago | 0

Answered
Write a script for the problem.
http://www.mathworks.com/matlabcentral/answers/8626#answer_11872

10 years ago | 0

Answered
password and username program
I'd start with <http://www.mathworks.com/help/matlab/ref/inputdlg.html |inputdlg|>. The first example in the documentation show...

10 years ago | 0

Answered
Is medfilt1 not valid anymore?
Do you no longer have the Signal Processing Toolbox? Type license('test','signal_toolbox') to find out. If it returns...

10 years ago | 0

| accepted

Answered
How to rotate subplots at the same time
Check out <http://www.mathworks.com/help/matlab/ref/linkprop.html |linkprop|>. The example in the documentation shows how to li...

10 years ago | 0

| accepted

Answered
Array dimensions must agree vertcat
My guess is both arrays are not 1x157. Is one of them 157x1? Because this works fine: x = rand(1,157); y = rand(1,157...

10 years ago | 0

Answered
How to plot a quiver plot on top a Geographic Map
I see a few problems here. 1. |quiverm| does not want the limits of your axes, it wants one latitude location and one longit...

10 years ago | 0

Answered
checking input from user
To see if |x| is an integer greater than or equal to zero, all([mod(x,1)==0 x>=0])

10 years ago | 0

| accepted

Answered
How can I apply a function to each column pair of a matrix?
You can use <http://www.mathworks.com/help/matlab/ref/nchoosek.html |nchoosek|> to get the permutations, then loop to call your ...

10 years ago | 0

| accepted

Answered
i want a matlab code for shannon fano?
Is <http://www.mathworks.com/matlabcentral/fileexchange/41727-shannon-fano-encoder this> what you want? If not, be *specific* a...

10 years ago | 0

Answered
How to load data without reloading?
As I understand it, you have some variables in your workspace, let's call them |x| and |y|. You want to load some |test.mat| fi...

10 years ago | 0

Load more