Answered
How can I use lorentzian norm in 2D gray scale image segmentation?
rasha Lorentizian metric requires 4 dimensions x,y,z,t, but here for image processing the matrix is 2D so then where there is...

12 years ago | 0

| accepted

Answered
finding the dominant frequency via fourier transform
Your data is sampled with Fs=10 Hz, Your Frequency spectrum is : Fs=10; N=length(x); fx=fft(x)/N; f=(0:N-1)*Fs/N; fi...

12 years ago | 0

| accepted

Answered
Writing a function that stops after three odd numbers have been found in a list.
try to enhance this version : function Y=MyMod(X) % List X N=length(X); Y=zeros(N,1); % solution ctr=1; % Counter ...

12 years ago | 0

| accepted

Answered
How to separate noise from signal?
Try Kalman Filter : <http://www.mathworks.com/matlabcentral/fileexchange/38353-1d-standard-kalman-filter-simulink-model-progr...

12 years ago | 0

Answered
how do i write a function that splits a 16x1 matrix into a 4x4 matrix
Use reshape as mentioned by @Image Analyst , or use standard method : function Y=split16144(X) Y=zeros(4,4); ctr=1; fo...

12 years ago | 0

Submitted


PSD (Power Spectral Density), and Amplitude Spectrum with adjusted FFT
FFT computes PSD and one sided amplitude spectrum Y[f] of 1d signal

12 years ago | 10 downloads |

4.5 / 5
Thumbnail

Answered
Help with Plotting a Pulse Train as function of time in MATLAB
Start from this version : f0=1e+6; % 1MHz Fs=3e+6; Tf=0.001; % 1 millisecond t=0:1/Fs:Tf-1/Fs; td=0.1; % duty cycle ...

12 years ago | 0

Answered
calculating rmse between observations and estimates of different size
You can padd the small vector with zero or Interpolate as mentioned by @Thomas : % Given your vectors r1 r2 r1=randn(315...

12 years ago | 0

Answered
How to save a figure with inside an image and a plot ?
Axel, By using the format TIFF, you can control the resolution horizontally and vertically , that is also available for other...

12 years ago | 0

Answered
how to find similarity between two imges or two audio signals using matlab?
there are many statistical tools that can be used for this purpose , ( rmse, Correlation, cross spectral density, ...etc), try t...

12 years ago | 0

Answered
To desing low pass FIR filter analysis and application
Generally the returned values from filter design function are two vector a and b that represent the nominator and denominator of...

12 years ago | 0

| accepted

Answered
How to draw a weighted graph G=(V,E)
is the original graph a sparse matrix? generally you can delete the values using this example : % given a vector( or matr...

12 years ago | 0

Answered
how to color a surface?
I think your data have many isosamples, that makes the colormap concentrated because of the interpolation,add this command befor...

12 years ago | 0

Answered
Area under autocorrelation function.
hi, You evaluate the integral of the auto-correlation function with respect to your boundaries , here is an example : y=s...

12 years ago | 0

Answered
error reading Philips dicom images
hi pom, You mean that your samples are named : 'IM_0022.dcm1, 'IM_0022.dcm2, 'IM_0022.dcm3 ? If this is the case then you ...

12 years ago | 0

Answered
another FFT amplitude question
Try my submission, : <http://www.mathworks.com/matlabcentral/fileexchange/40002-psd-power-spectral-density-and-amplitude-...

12 years ago | 0

Submitted


Parseval's Theorem : 1D,2D and 3D functions
Computing the total energy of waveform in time & frequency domains.

12 years ago | 1 download |

5.0 / 5
Thumbnail

Answered
I wrote a code for determining the volume need for each stage of a rocket
Steven, The error i can see is that the volume is negative, because you substract the height from 138 & 219.5 while its the re...

12 years ago | 0

Answered
Gaussian High Pass Filter
hi lina, I tried your program and it works fine, replace the first command with : a=im2double(imread('circuit.tif')); ...

12 years ago | 1

| accepted

Answered
Help: How to plot like this ?
contour(your_data) % your data is M*N matrix colormap gray

12 years ago | 0

Answered
Urgent: How do I perform FFT on a time signal
hi, given your signal X, Fs=2e+4; Resolution=512; Ts=1/Fs; N=4e+4; T=N*Ts; Fx=abs(fft(X,Resolution)); Frequency...

12 years ago | 0

Answered
Replacing a for loop with a while loop?
hi, Using while, you need to increment the variable manually, : y=1; time=1; while time<6 y=y*time; time=time+1;...

12 years ago | 1

Answered
How can I plot this vector
hi, The data must also contains time data where a second vector or an <N by-2> matrix, You can use plot function, *plot(data...

12 years ago | 0

| accepted

Answered
How do I perform envelop on a time signal
hi,you have Analog methods : 1. Frequency Modulation : Fs = 8000; % Sampling rate of signal Fc = 3000; % Carrier freque...

12 years ago | 0

Answered
How to match matrix dimensions?
hi Jackie, The mistake is obvious, its the last component 1, replace it with ones(1,length(X))

12 years ago | 0

| accepted

Answered
what is the support of the rgb2gray function?
hi, There is not big difference between the different formulas, try your own way using the weight *0.3333* : I=imread('a...

12 years ago | 0

Answered
what is the support of the rgb2gray function?
hi, Here is paper that describes a derivation : <http://www.cis.rit.edu/mcsl/research/broadbent/CIE1931_RGB.pdf>

12 years ago | 1

Answered
Covariance Matrix by Simulation
hi S. David What you described is correct, and as *Wayne King* said, one needs to to perform N times and averages them to get...

12 years ago | 1

Answered
what is the sampling frequency in wavelet method?
hi, you have N=300 points for duration t=30 secs , then the samle rate is *f=N/t=10Hz* or you can perform this way : T...

12 years ago | 1

| accepted

Load more