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

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

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

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

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

plus de 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);

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

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

plus de 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);*

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

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

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

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

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

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

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

plus de 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,

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

plus de 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); ...

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

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

plus de 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)

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

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

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

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

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

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

presque 13 ans il y a | 0

A soumis


Bauer Fike Theorem : Example .
Example of Bauer Fike theorem

presque 13 ans il y a | 231 téléchargements |

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

presque 13 ans il y a | 0

Charger plus