Answered

Roipoly for 3D images

This is interesting too. I had to work on a similar problem of 3D segmentation, where the correlation between slices was signifi...

Roipoly for 3D images

This is interesting too. I had to work on a similar problem of 3D segmentation, where the correlation between slices was signifi...

ungefär 11 år ago | 3

| accepted

Answered

Insert a mathematical function in a GUI from a txt file

This is quite interesting! I could do it this way: Suppose a file called data has the lines: x = 5; y = (x^2+x)*cos(x);...

Insert a mathematical function in a GUI from a txt file

This is quite interesting! I could do it this way: Suppose a file called data has the lines: x = 5; y = (x^2+x)*cos(x);...

ungefär 11 år ago | 0

Answered

How to read data as well as string headerlines?

a quickfix but dirty solution is to read everything as a string, as [id,h,w,s]=textread('data','%s %s %s %s') From the t...

How to read data as well as string headerlines?

a quickfix but dirty solution is to read everything as a string, as [id,h,w,s]=textread('data','%s %s %s %s') From the t...

ungefär 11 år ago | 0

| accepted

Answered

Signal Segmentation ( All the max values)

you could use the function findpeaks, and a tutorial is here: <http://blogs.mathworks.com/pick/2008/05/09/finding-local-extrema/...

Signal Segmentation ( All the max values)

you could use the function findpeaks, and a tutorial is here: <http://blogs.mathworks.com/pick/2008/05/09/finding-local-extrema/...

ungefär 11 år ago | 1

| accepted

Answered

Characteristics of image file formats

short answer: from MATLAB's perspective, nothing much really. You could work with any of these image formats using imread and so...

Characteristics of image file formats

short answer: from MATLAB's perspective, nothing much really. You could work with any of these image formats using imread and so...

ungefär 11 år ago | 0

Answered

brain tumor detecting

<https://sites.google.com/site/myronenko/research/mirt> may be of help.

brain tumor detecting

<https://sites.google.com/site/myronenko/research/mirt> may be of help.

ungefär 11 år ago | 0

Answered

FFT of 100 data points

if x is your data, L=length(x); dt=3.5*10^(-6); %time. fs=1/dt; t=(0:1:L-1)*dt; %If you'd like to plot the time signal: ...

FFT of 100 data points

if x is your data, L=length(x); dt=3.5*10^(-6); %time. fs=1/dt; t=(0:1:L-1)*dt; %If you'd like to plot the time signal: ...

ungefär 11 år ago | 4

Answered

segmentation for touching handwritten numeral string

Duplicated from here: <http://www.mathworks.com/matlabcentral/answers/22128-segmentation-of-single-or-multiple-touching-handwrit...

segmentation for touching handwritten numeral string

Duplicated from here: <http://www.mathworks.com/matlabcentral/answers/22128-segmentation-of-single-or-multiple-touching-handwrit...

ungefär 11 år ago | 0

Answered

HSV colormap

When you convert a RGB image to HSV, in the 3rd dimension, the 'layers' in the image are hue, saturation and value in that order...

HSV colormap

When you convert a RGB image to HSV, in the 3rd dimension, the 'layers' in the image are hue, saturation and value in that order...

ungefär 11 år ago | 0

Answered

Matrix Solution

for i = 1:7 for j = 1:7 P(i,j) = factorial(i + j - 2)./(2*factorial(j - 1)); end end for a 4x4 matrix, change the 7 in lines ...

Matrix Solution

for i = 1:7 for j = 1:7 P(i,j) = factorial(i + j - 2)./(2*factorial(j - 1)); end end for a 4x4 matrix, change the 7 in lines ...

ungefär 11 år ago | 0

Answered

how to repalce a matrix

I wonder what the purpose of this is, but here goes: Image1 = imread('rice.png'); % conveniently is 256x256. Image2 = ui...

how to repalce a matrix

I wonder what the purpose of this is, but here goes: Image1 = imread('rice.png'); % conveniently is 256x256. Image2 = ui...

ungefär 11 år ago | 0

| accepted

Answered

clustering the data

OK, so from what I understand, you are clustering the genes, and not the samples, which means that you need to transpose your sa...

clustering the data

OK, so from what I understand, you are clustering the genes, and not the samples, which means that you need to transpose your sa...

ungefär 11 år ago | 0

| accepted

Answered

sqrt in figure label

you would have to change the interpreter to latex, and then type in {\surd} in the xlabel (or any text) box. All the symbols are...

sqrt in figure label

you would have to change the interpreter to latex, and then type in {\surd} in the xlabel (or any text) box. All the symbols are...

ungefär 11 år ago | 4

Answered

Need a equivalent function of imshow.

you could use the function image % <http://www.mathworks.com/help/techdoc/ref/image.html> or imagesc % <h...

Need a equivalent function of imshow.

you could use the function image % <http://www.mathworks.com/help/techdoc/ref/image.html> or imagesc % <h...

ungefär 11 år ago | 0

Answered

supervised training of SOM in MATLAB

I don't know if matlab natively includes SOM functions, but you should definitely find it here: <http://www.cis.hut.fi/somtoolbo...

supervised training of SOM in MATLAB

I don't know if matlab natively includes SOM functions, but you should definitely find it here: <http://www.cis.hut.fi/somtoolbo...

ungefär 11 år ago | 0

Answered

Matrix values of an Image

I = imread('rice.png'); Now I includes the pixel values from the image 'rice.png' as a matrix, of size equal to the resolutio...

Matrix values of an Image

I = imread('rice.png'); Now I includes the pixel values from the image 'rice.png' as a matrix, of size equal to the resolutio...

ungefär 11 år ago | 1

Answered

Down sampling

I would assume that in this case, a more apt term is dimensionality reduction, which has to be done based on what features have ...

Down sampling

I would assume that in this case, a more apt term is dimensionality reduction, which has to be done based on what features have ...

ungefär 11 år ago | 0

Answered

mp3 encoder code in matlab, can i able to get it? ... actually i have problem implimenting pscychoacoustic model...so if possible can you give code for it?

You may want to swap the *heading* and 'description' parts of your questions hereon, :) but here's the only implementation I kno...

mp3 encoder code in matlab, can i able to get it? ... actually i have problem implimenting pscychoacoustic model...so if possible can you give code for it?

You may want to swap the *heading* and 'description' parts of your questions hereon, :) but here's the only implementation I kno...

ungefär 11 år ago | 0

Answered

SVM Regression

I don't really know why MATLAB has not included it by default, and as far as I know, there is no disadvantage as such of using S...

SVM Regression

I don't really know why MATLAB has not included it by default, and as far as I know, there is no disadvantage as such of using S...

ungefär 11 år ago | 0

Answered

Drawing the x-axis at y=0

You may want to look at this example: http://www.mathworks.com/support/solutions/en/data/1-216M68/index.html?product=ML&solut...

Drawing the x-axis at y=0

You may want to look at this example: http://www.mathworks.com/support/solutions/en/data/1-216M68/index.html?product=ML&solut...

ungefär 11 år ago | 0

Answered

Uniform Distribution (Continuous) fit on data

from: http://www.mathworks.com/help/techdoc/ref/rand.html Generate values from the uniform distribution on the interval [a, b...

Uniform Distribution (Continuous) fit on data

from: http://www.mathworks.com/help/techdoc/ref/rand.html Generate values from the uniform distribution on the interval [a, b...

ungefär 11 år ago | 0

| accepted

Answered

Weibull distribution

AFAIK, there is no particular relation between error calculation and the model you use to fit the data. They are independently c...

Weibull distribution

AFAIK, there is no particular relation between error calculation and the model you use to fit the data. They are independently c...

ungefär 11 år ago | 0

Answered

NN algorithm

http://www.mathworks.com/products/neural-network/demos.html There are *many* algorithms implemented in the Neural Network Too...

NN algorithm

http://www.mathworks.com/products/neural-network/demos.html There are *many* algorithms implemented in the Neural Network Too...

ungefär 11 år ago | 1

Answered

Linear Program set up for this Optimization (linprog)

From whatever optimization problems I've solved in MATLAB, the easiest way to do it has always been using the package called cvx...

Linear Program set up for this Optimization (linprog)

From whatever optimization problems I've solved in MATLAB, the easiest way to do it has always been using the package called cvx...

ungefär 11 år ago | 0

Answered

How to reshape a matrix

if A is the first matrix that you defined, do: B = [A(1:2,1:3);A(1:2,4:6)] to choose the required rows and columns from A to ...

How to reshape a matrix

if A is the first matrix that you defined, do: B = [A(1:2,1:3);A(1:2,4:6)] to choose the required rows and columns from A to ...

ungefär 11 år ago | 0

Answered

Using indexing to superimpose images:

From the description on the link you posted: Use this method if you have an image that you want to place in a scene, but pref...

Using indexing to superimpose images:

From the description on the link you posted: Use this method if you have an image that you want to place in a scene, but pref...

ungefär 11 år ago | 0

| accepted

Answered

how to shrink a image to fit in a screen for further image processing?

If you intend to resize the image at the cost of resolution, you need to use imresize, but if you want to keep the resolution, b...

how to shrink a image to fit in a screen for further image processing?

If you intend to resize the image at the cost of resolution, you need to use imresize, but if you want to keep the resolution, b...

ungefär 11 år ago | 0

Answered

hiding folder using command

So if you are running windows, I assume system('attrib +s +h +r foldername') when you are in the directory containing the folder...

hiding folder using command

So if you are running windows, I assume system('attrib +s +h +r foldername') when you are in the directory containing the folder...

ungefär 11 år ago | 0

Answered

Split String into Alphabets

you could access each element of the string by looking at input_text(i) where i varies from 1 to size(input_text,2). for exa...

Split String into Alphabets

you could access each element of the string by looking at input_text(i) where i varies from 1 to size(input_text,2). for exa...

ungefär 11 år ago | 0

| accepted

Answered

conversion formula

I would assume you should look at the makecform and applycform function, as defined here: http://www.mathworks.com/help/toolbox...

conversion formula

I would assume you should look at the makecform and applycform function, as defined here: http://www.mathworks.com/help/toolbox...

ungefär 11 år ago | 0

| accepted