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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

Beantwortet
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);

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

Beantwortet
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);*

mehr als 12 Jahre vor | 0

Frage


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

mehr als 12 Jahre vor | 0 Antworten | 1

0

Antworten

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Beantwortet
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,

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 1

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

mehr als 12 Jahre vor | 0

Beantwortet
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)

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 1

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

| akzeptiert

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

mehr als 12 Jahre vor | 0

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

mehr als 12 Jahre vor | 0

Gesendet


Bauer Fike Theorem : Example .
Example of Bauer Fike theorem

mehr als 12 Jahre vor | 226 Downloads |

0.0 / 5
Thumbnail

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

mehr als 12 Jahre vor | 0

Mehr laden