Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 3

Réponse apportée
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...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
visualizing a matrix using imagesc
You can sample the matrix with higher Frequency rate or use the following technique : imshow(M,'notruesize'); Using th...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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); %... ...

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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 ...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
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)];

plus de 12 ans il y a | 0

Réponse apportée
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...

plus de 12 ans il y a | 0

Réponse apportée
To order min to max value for matrix's row
Try : a=sort(a,'ascend');

plus de 12 ans il y a | 0

Réponse apportée
What do the components of eigenvector represent?
N dimensional matrix is associated with N dimensional canonical base, in this case N=2, you have a plane (x,y), after eigendecom...

plus de 12 ans il y a | 0

Réponse apportée
Quickly create a vector of ones and zeros
vectorization is possible : N=10; vec=zeros(N,1); positions=[2:4]; vec(positions)=1;

plus de 12 ans il y a | 5

| A accepté

Réponse apportée
how to find average pixels value from matrix 3*3
try : H=mean(M(:));

plus de 12 ans il y a | 1

Réponse apportée
What is the difference between functions imhist and hist?
Imhist function is designed to work with images which can have different numeric types such as uint8, uint16, while hist is for ...

plus de 12 ans il y a | 0

| A accepté

A soumis


Wigner's Semicircle Law
Wigner's semicircle law : modelling the distribution of the eigenvalues of symmetric random matrix.

plus de 12 ans il y a | 505 téléchargements |

5.0 / 5
Thumbnail

Réponse apportée
How to create a vector in which numbers increase at first, then remain constant, then reduce back to 1 ?
To accomplish this task without loop, you need two variables, the maximum value m and the number of redundancy n : First exam...

plus de 12 ans il y a | 0

Réponse apportée
What is norm 2 function ?
norm(X,2) returns the largest singular value, in your case , i propose that you test with the three existing norms : Forbenius,...

plus de 12 ans il y a | 0

Réponse apportée
How to create a 2d colormap having temperature reading at specific Longitudes and Latitudes
Cristina, Here is an alternative approach, the third column represents the color, but it is not easy to create a color map ( ...

plus de 12 ans il y a | 0

Réponse apportée
Trying to finish code for numerical integration on matlab but keep getting error
hi Sarah, First there is a problem with the input, you have to define the range x then the function input, R represents the bou...

plus de 12 ans il y a | 0

Réponse apportée
How can i Resample?
hi, You can use the resample function, to get the idea clear here is an example : Fs1= 999.9917; Fs2= 99.9976; t1=0:...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
out of memory error while mutiplying large matrices
This multiplication goes beyond the limit of Read-Only-Memory, the solution is to use the multiplication per blocks, see the exa...

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
Image use for further processing in project.
Change the name of the image to X as example, and execute the steps you described, the only operation you need is to separate ch...

plus de 12 ans il y a | 0

Réponse apportée
How to create a continuos surface in 3D
Try to use this method : % X is the 8950*3 matrix x=X(:,1)'*X(:,1); % 8950x8950 y=X(:,2)'*X(:,2); z=X(:,3)'*X(:,3); ...

plus de 12 ans il y a | 0

Réponse apportée
Matlab Plotting Error Problem
Graph of one dimensional function is made with vectors X,Y with the same length, add this to your program : Clementi_P...

plus de 12 ans il y a | 0

Réponse apportée
I'm not sure what is wrong with this code regarding the sin and cos function.
Like Azzi said, pi contains infinite decimal numbers, To avoid this ambiguity i recommend you to use the degree functions instea...

plus de 12 ans il y a | 2

| A accepté

Réponse apportée
What is wrong with this line of script?
Change r0 to : r0=linspace(0.01,0.1,length(r));

plus de 12 ans il y a | 0

| A accepté

Réponse apportée
What is wrong with this line of script?
The problem resides in the function "cylinder_tank_drain", if it is possible you post the function to study its input and output...

plus de 12 ans il y a | 0

A soumis


Phase Interferometry : Figure
numeric figure for one dimensional phase interferometry using Uniform Linear array.

plus de 12 ans il y a | 859 téléchargements |

1.0 / 5
Thumbnail

Réponse apportée
Script that asks for matrix as input
For a single input , what you described is sufficient : >>A=input(' Matrix :\n'); >> % Enter the matrix , example [4 5 6;...

plus de 12 ans il y a | 0

| A accepté

Charger plus