photo

Jan


Fraunhofer IAF

Attivo dal 2013

Followers: 0   Following: 0

Messaggio

Professional Interests: signal processing, image analysis, machine learning

Statistica

  • 6 Month Streak
  • Knowledgeable Level 4
  • First Answer

Visualizza badge

Feeds

Visto da

Risposto
how to strengthen the image ?
I gather you are working with single channel black and white images, i.e. pixel values are either 0 or 1. In that case, what you...

quasi 11 anni fa | 0

| accettato

Risposto
how to write the code for dividing pixel values of an image with the mean pixel value?
To scale each pixel vector in hyperspectral image _X_ with the global data mean simply do X = X ./ mean( X(:) );

quasi 11 anni fa | 0

Risposto
Include function in gui m-file or separate them?
For a cleaner structure I would allways outsource functionality in seperate .m files. For me (in Matlab as in any other programm...

quasi 11 anni fa | 0

Risposto
Hi. What is the difference between xcorr and crosscorr?
Two different Toolboxes. _crosscorr_ is from the econometrics toolbox, while _xcorr_ is delivered with the signal processing too...

quasi 11 anni fa | 0

Risposto
extracting a row from a matrix
M = [1,2,3;1,1,4;2,1,2;3,2,5]; [~, max_idx] = max( M(:,end) ); max_row = M(max_idx,:);

quasi 11 anni fa | 0

| accettato

Risposto
how to fill polygone with circles without intersect with each other
I would assume, that your problem is not the actual coding, but the algorithm to use for solving this non-trivial task. Especial...

quasi 11 anni fa | 0

Risposto
speech analysis in matlab
For analyzing one specific audio recording, I would try to threshold the signal energy level. However, as far as I remember it c...

quasi 11 anni fa | 0

Risposto
substitute each element of a vector into a matrix without using loop
Like this? vector = 1:1:10; vector = reshape( vector, [1, 1, numel(vector)] ); one_vector = ones( 1, 1, numel(vector) )...

circa 11 anni fa | 0

| accettato

Risposto
substitute each element of a vector into a matrix without using loop
Maybe something like the following? matrix = [4, 5; 4, 2]; [p, q] = size( matrix ); vector = 1:1:10; matrix = repma...

circa 11 anni fa | 0

Risposto
How can i use threshold to convert a gray-scaled image into binary image ?
This is straightforward: A = imread('cameraman.tif'); % example grayscale image threshold = 120; % custom threshold val...

circa 11 anni fa | 2

| accettato

Risposto
Array in array in image??
To get the non-zero elements of an array simply do something like: A = randn(100, 100); A_non_zero = A( A~=0 ); This...

circa 11 anni fa | 0

| accettato

Risposto
spatial coordinates of BW image
Use _find()_ e.g. A = randn(100,100) > .5; % example binary image [row col] = find( A == 1 ); res = [ row col ]; ...

circa 11 anni fa | 0

Risposto
how to find spatial frequency of color image
You probably want to analyze the structure of the image's 2d fourier transform using _fft2()_. Either for each channel or after ...

circa 11 anni fa | 0

Risposto
display values in the title of a figure
title(['Mean', num2str( mean(mean(aa(:,:)))) ]) or shorter: title ( ['Mean ', num2str( mean( aa(:) ) ) ] );

circa 11 anni fa | 0

Risposto
how can I improve FFT resolution
You can use _zero padding_ (simply add zero values to your signal prior to FFT). Note that this does not provide additional info...

circa 11 anni fa | 1

Risposto
How to retrieve data from the textboxes of a GUI created with GUIDE.
You can access the content of a textbox in any function that has access to the _handles_ object. For instance if you want to acc...

circa 11 anni fa | 0

| accettato

Risposto
How do I plot the impulse response from this equation?
Maybe you want to do something like: h = [1, 3, -2, 9, 7]; ft_h = fft( h ); ft_h = sqrt( ft_h .* conj( ft_h ) )...

circa 11 anni fa | 0

| accettato

Risposto
selecting elements in the matrix
Use [row, col] = find(A>6) to find row and column indeces and use v = A( A>6 ); to get the corresponding values....

circa 11 anni fa | 0

| accettato

Risposto
How to insert artificial Artifacts in EEG signals ?
This is a very general question. In general, you will need a sample of an EOG artifact. That you can add to the EEG channels a...

circa 11 anni fa | 0

| accettato

Risposto
put a mall matrix in a big matrix
A( 1: 1 + size(B,1)-1, 5377 : 5377 + size(B, 2) - 1 ) = B;

circa 11 anni fa | 0

| accettato

Risposto
Numerical integration over a circular domain
I would try to transform the scalar field into polar coordinates and do numerical integration over a square window there. Of cou...

circa 11 anni fa | 0

Risposto
How do i obtain only the first principal component?
I'm not sure, if I fully understand your question. I doubt however, that there is a straightforward method for calculating the e...

circa 11 anni fa | 0

| accettato

Risposto
I'm not understanding why this error occurs: Error: Unexpected MATLAB expression
You are missing a multiplication operator: Try newton(x^3-x,3 * x^2-1,-1,1e-5,20) ^ in...

circa 11 anni fa | 1

| accettato

Risposto
stopping matlab from re-formating my numbers!!!
Use the _format_ argument when calling _num2str_ e.g. z = num2str( x, '%4.10f' ) if you want 10 (ten, not three ;) ) ...

circa 11 anni fa | 0

Risposto
How to prevent any variable from displaying its name?
Use a semicolon on the end of each line, e.g.: a = 1 + 1; disp( num2str(a) );

circa 11 anni fa | 0

| accettato

Risposto
Undefined function or variable 'slm'. = QUICK HELP!
The error message quite correctly states, that you never defined the variable _slm_ before you try to use it as an argument for ...

circa 11 anni fa | 0

Risposto
Convert a 3-d matrix to a 2-d matrix
b = zeros( size(a, 1), size(a, 2) ); for i = 1 : size(a, 3); b = b + 10.^(size(a, 3) - i) * a(:,:,i); end;

circa 11 anni fa | 0

Risposto
how to read a dat file in matlab
You may want to look at _importdata_

oltre 11 anni fa | 0

Risposto
Meaning of the symbol in the equation
you are looking at the square of a vector norm: |||v|||^2 = sqrt( v_1^2 + v_2^2 + ... + v_n^2 ) = v_1^2 + v_2^2 + ... + v_n^...

oltre 11 anni fa | 1

| accettato

Risposto
sigmoid function value for parameter a and b
According to my calculations you have to pick _0<b<1_ and _a>0_. E.g. b=1/2 and a=1

oltre 11 anni fa | 1

| accettato

Carica altro