Réponse apportée
mutual information calculation for binary sequence
hi, I think Roger gave the clue. Anyway, the mutual information is based on entropy which can be computed for any logarithmic b...

environ 12 ans il y a | 0

Réponse apportée
plot 3, describe centroid
you can this interpretation : representing the coordinates of five centroids in one euclidean space : T= [ 1 2 3 ;4 5 6 ;1...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
set opacity to M x N x P grayscale matrix
Logical operations can divide the elements, here is the starting point : M=rand(262,359,562); Threshold=0.45; % an example...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How can I compute the standard error of the mean for dB values?
I think you should do all the computations either in linear or dB system, you can just compute the std of the 21x3x3 data withou...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Solving an elliptic PDE with a point source
Alex, You can find many tutorials on how to use the PDETOOL, however i recommend that you solve the equation by program , later...

environ 12 ans il y a | 0

Réponse apportée
how to get Gamma pdf from gamma cdf?
You differentiate the Cumulative distribution function with respect to x to get the density : Pdf=diff(Cdf)./diff(x);

environ 12 ans il y a | 0

Réponse apportée
What will the image look like?
There will be a sort of merge , try this example and compare it with your results : A=im2double(imread('moon.tif')); B=im2...

environ 12 ans il y a | 0

Réponse apportée
How can I plot my function?
You need to provide a vector as the input to get a result of the equation Q , but you need to use element wise operations , alte...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How to do the matrix calculations
As you have the formula, you can get C given rho0 and rho are known : *C=(rho-rho0-A*S-B*S^(3/2))*inv(S);*

environ 12 ans il y a | 0

Question


Mathworks : including TEX package .
This question concerns the use of TEX package as feature for MATLAB answers section. Many questions need some theory elaborat...

environ 12 ans il y a | 1 réponse | 1

0

réponse

Réponse apportée
plot multiple PSD lines in single graph in color scale (imagesc)
Yes you can generate the 2D spectrum, here is an example with 13 signals as you said : Fs=80; f=10+rand(13,1)*10; % freq...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
I am using matlab function ' fir1(48, [0.5 3 ])' . But there is an error as 'Frequencies must fall in range between 0 and 1' . Anybody can help me ?
the cut off frequency is in the range [0 1], you divide fc : fc/Fs, per example, the sampling frequency iq Fs=40Hz , and the f...

environ 12 ans il y a | 0

Réponse apportée
Sampling freq in fft, what to put?
There are many tutorials on how to perform this task, understanding the methodology is by learning an example, the things that m...

environ 12 ans il y a | 0

Réponse apportée
Can anyone help me to search for ones in the rows of a matrix and replace the remaining ones with zeros?
Here is the general case: A=round(rand(10)); for n=1:10 for p=1:10 if (A(n,p)==1) A(n,p+1:end)=0; ...

environ 12 ans il y a | 0

Réponse apportée
how can write sigma in matlab???????
You have specify your question, sum as letter, symbolic , numeric?? 1.sum(X), % sums the elements of the vector 2.sum(sum...

environ 12 ans il y a | 0

Réponse apportée
I have a matrix containing force on 5 particles in three dimensions.
if you have initial velocity and position values (vx,vy,vz,x,y,z) then you need add them after each integration, otherwise, you ...

environ 12 ans il y a | 0

Réponse apportée
Converting velocity, time, and force data into acceleration
Like Laurent said, *a=diff(v)./diff(t)*, you compare that result with *F/m* with m being the mass of the considered system,

environ 12 ans il y a | 0

Réponse apportée
Help on Basic Matrices
the representation is only related to the type of formatting the answer, try : >>format bank >>a type *doc format* fo...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How to make(create) a waveform in matlab as shown in the image
You can also create a random signal, delete of the frequencies and transform it back to temporal domain: x=randn(200,1); ...

environ 12 ans il y a | 0

Réponse apportée
mid-point method Integration
Theoretically that integral equals *pi/2*, here is version, try to adjust it : % MidPoint test integration clear; f=inl...

environ 12 ans il y a | 1

Réponse apportée
plotting x vs y but not y vs x.
Nikhil, with the file you posted, it plots correctly y=f(x) which has a peak in the abscissa x=4. G=xlsread('file.xlsx...

environ 12 ans il y a | 0

Réponse apportée
How to get the thresholded gradient of an image?
you can try this essay : I=im2double(imread('image1.tif')); k=-1*ones(5);k(3,3)=23; J=conv2(I,k); figure, imshow(J)

environ 12 ans il y a | 0

Réponse apportée
velocity from accelerometer using numerical intergration
Bran, To make the question clear, you have to describe the nature( dimensions) of the acquired signal, and the sampling frequen...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
Please help me in this Physics Project
Hi Nghia, some functions are missing in that code, instead i wrote a version that can be useful, try : N=100; % numbef o...

environ 12 ans il y a | 1

| A accepté

Réponse apportée
How to make(create) a waveform in matlab as shown in the image
the first signal is similar to sawtooth signal, here is how to produce the signal : t=0:0.01:10; y=sawtooth(2*pi*t); plo...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
How to get a uniform circle?
hi, i tired to write a fast code, try it and see : I=imread('dcircle.png'); % that image with deformed circle. X=rg...

environ 12 ans il y a | 0

| A accepté

Réponse apportée
NAN when we integrate
hi, i think NaN can be logical answer, plus a is not provided , try : figure, plot(f(-100:0.1:300)) is the area b...

environ 12 ans il y a | 0

Réponse apportée
stem-plot difference of equations
Tony, try this iterative method : y1=zeros(10,1); y2=zeros(10,1); y1(1)=1;y2(1)=1; % initial conditions for t=1:9 ...

environ 12 ans il y a | 0

A soumis


Bauer Fike Theorem : Example .
Example of Bauer Fike theorem

environ 12 ans il y a | 1 téléchargement |

0.0 / 5
Thumbnail

Réponse apportée
Drawing two shapes on one image
You can transform I into logical matrix first ( binary), then perform the other operations to add the shape after executing the...

environ 12 ans il y a | 0

Charger plus