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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 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...

12 years ago | 0 answers | 1

0

answers

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 1

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

12 years ago | 0

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

12 years ago | 0

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

12 years ago | 0

| accepted

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

12 years ago | 1

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

| accepted

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

12 years ago | 0

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

12 years ago | 0

Submitted


Bauer Fike Theorem : Example .
Example of Bauer Fike theorem

12 years ago | 1 download |

0.0 / 5
Thumbnail

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

12 years ago | 0

Load more