Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

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

más de 10 años hace | 0

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 1

| aceptada

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

más de 10 años hace | 6

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 0

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

más de 10 años hace | 0

| aceptada

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

más de 10 años hace | 0

Respondida
How can plot rainfall data with latitude longitude information? I have matrix of rainfall,latitude and longitude all are in 757*208 dimensions.
The simplest solution is pcolor(lon,lat,rainfall) shading interp

más de 10 años hace | 0

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

más de 10 años hace | 14

| aceptada

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

más de 10 años hace | 0

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

más de 10 años hace | 1

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

más de 10 años hace | 1

| aceptada

Pregunta


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

más de 10 años hace | 0 respuestas | 0

0

respuestas

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

casi 11 años hace | 1

| aceptada

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

casi 11 años hace | 1

| aceptada

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

casi 11 años hace | 0

Enviada


ICPcampaign
Returns UTIG ICECAP field seasons associated with input times.

casi 11 años hace | 1 descarga |

0.0 / 5
Thumbnail

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

| aceptada

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

casi 11 años hace | 0

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

casi 11 años hace | 0

Cargar más