已回答
Finding Point of Increased Event Frequency
From the graph 3700 is approximately the point, from theoretical view point, you can search the inflection point using second d...

10 years 前 | 0

| 已接受

已回答
Quarter of an image.
Using vector function,the problem becomes simple, here is an example to select 1/4 of matrix : N=400; H=randn(N)...

10 years 前 | 1

已回答
How to perform Monte Carlo simulation for Chromosome modelling?
You need to provide the variables needed for this description, is it simple Monte Carlo method or you need other criteria such a...

10 years 前 | 0

已回答
Plotting the beamwidth from a matrix
Another way to compute the beamwidth is to plot the azimuth and Gain : Data=load('data_ABS_antenna_CASMA.mat'); X=Data...

10 years 前 | 0

| 已接受

已回答
Help with simple FFT problem
You have to change the sampling rate, try the following : fs=4000; t=0:1/fs:2-1/fs; VarName1=1.41.*sin(2.*pi.*1000.*...

10 years 前 | 0

已回答
Plotting the beamwidth from a matrix
Here is the proposed solution, i suggest that you use the polar coordinates as the following : Data=load('data_ABS_antenna_...

10 years 前 | 1

已回答
For standard eigenproblem EIG(A), A must be square
For a non square matrix, you need either to compute the covariance T*T' or you can adjust the dimensions , try the following pr...

10 years 前 | 1

已回答
RGB TO GRAY ERROR
This is numeric problem, no need for images processing tools, in fact you are computing a type of two dimensional exponential fu...

10 years 前 | 0

| 已接受

已回答
What does the notation x[n|n+1] mean.
The notation X[n+1|n] means the equation that relates the state a discrete instants n+1 and n ( eventually X[n|n-1]), in probabi...

10 years 前 | 1

已回答
how to generate an abitrary length colored noise when the PSD is know !
You proceed using Inverse Fourier transform , here is how you can start , let us consider zero mean random variable of length 20...

10 years 前 | 0

已回答
Scatter3 and surf yields a bug?
To get uniform color, delete the light commands : colors = colormap('summer'); color = colors(end,:); surf([0 0; 1 1],[0...

10 years 前 | 0

已回答
How to extract the value pixel values from an image or masked image?
Accessing a pixel is similar to retrieving element from matrix, here are two examples : for gray scale image : X=imread(...

10 years 前 | 0

已回答
Probability Density Function using ksdensity is not normalized
The ksdensity produces a Probability density function, no need to divide by the length of the x vector : x=randn(200,1); ...

10 years 前 | 0

已回答
how can i make a music using matlab??
There are many files that you can load and study using frequency analysis, here is simple example : data=load('gong.mat');...

10 years 前 | 0

已回答
Interpolating a double array
There is an alternative to interpolation functions : % Given the vector r of 33x1 : r=randn(33,1); y=upsample(r,30); ...

10 years 前 | 0

| 已接受

已回答
How can i increase the number of circles in a polar grid?
In new version , there might be an option for increasing the number, however i made manual example here, in order to use it, tr...

10 years 前 | 0

已回答
Conversion error while plotting
change the cell to vector : y=cell2mat(y);

10 years 前 | 0

| 已接受

已回答
Error using chol Matrix must be positive definite.
this an interesting problem, Generally, the matrix C must contain some negative and positive eigenvalues ( eig(C)) according ...

10 years 前 | 0

已回答
convert binary image to RGB image
The technique you used failed because the function does not provide a visualization of three dimensional logical matrices, besid...

10 years 前 | 1

已回答
How to compute the short time Fourier transform of a signal z(n) in a time frame that is centered at n?
The Short time Fourier transform use overlapping fragments of the signal, the computed transformations are concatenated into sin...

10 years 前 | 0

| 已接受

已回答
orientation of static text
I think this solution will work plot(randn(100,1)); h=text(1,1,' My description'); set(h,'Rotation',60); The text...

11 years 前 | 3

已回答
How can I add the values of each iteration of a for loop, where the index is k=0:0.001:.30, into a matrix so that I can plot the values?
If H is scalar you can vectorize the problem : k=0:0.001:0.30; H=2; y=3.065-(8.871*(k/H))+(14.036*(k/H).^2)-(7.219*(k/H...

11 years 前 | 0

| 已接受

已回答
visualizing a matrix using imagesc
You can sample the matrix with higher Frequency rate or use the following technique : imshow(M,'notruesize'); Using th...

11 years 前 | 0

| 已接受

已回答
How can we divide an image into 16 sub images each of size 128x128
you can select a block as : P=(512)/sqrt(16); B11=M(1:P,1:P); B12=M(1:P,P+1:2*P); %... B14=M(1:P,3*P+1:4*P); %... ...

11 years 前 | 0

已回答
number of nearest neighbous around each element of a matrix
This problem can be solved using the equation of radius in three dimensional space such as if x²+y²+z² < R² then the point is in...

11 years 前 | 0

已回答
hi i have mean and standard deviation in one image now i want to find entropy for RGB color and skewness..
To find the entropy, you have two ways, using predefined function or by programming : H=imread('autumn.tif'); % RGB sample ...

11 years 前 | 0

| 已接受

已回答
Plot the integral of a discrete function
Trapz function returns a scalar value, numeric primitive can be calculated using the following function : function itg=inte...

11 years 前 | 0

已回答
How can I create following matrix using code
try : N=3; A1=[ones(1,N);zeros(2,N)]; A2=[zeros(1,N);ones(1,N);zeros(1,N)]; A3=[zeros(2,N);ones(1,N)];

11 years 前 | 0

已回答
How do I plot the data as patches rather than vertices in a grid or a mesh?
Tensor product can be efficient in representing each number with different color, but try this way i think it is convenient to y...

11 years 前 | 0

已回答
To order min to max value for matrix's row
Try : a=sort(a,'ascend');

11 years 前 | 0

加载更多