Answered
help me in the code for image fusion using wavelet based principle component analysis
There is function in the Wavelet Toolbox for image fusion, wfusimg, and a demo, imagefusiondemo.m, but it does not use a wavel...

15 years ago | 0

Answered
Hi..I would like to convert from c to matlab..anybody can help me?? below, is the C coding.
Hi, Do you want to rewrite them in the MATLAB language, or do you want to make them callable in MATLAB? For the latter, please s...

15 years ago | 0

| accepted

Answered
downsampling image
Hi, You can use dyaddown() from the Wavelet Toolbox. x = randn(8,8); % this gives you 1st row, 1st column, 3rd row, ...

15 years ago | 0

| accepted

Answered
rand('state',11)
did you read that document, it is explained there. It is a seed. The seed is an integer, you can use it to produce repeatable re...

15 years ago | 1

Answered
size of image
size(data,3)

15 years ago | 0

| accepted

Answered
I need help using the "extract" function in Matlab
See, that means that you do not have the extract() you think you have on your path. Enter >>path and then see if the fold...

15 years ago | 0

| accepted

Answered
reconstruction of 3D FROM 2D
You just asked this in your other post. Initialize a 3-D array and place the images in the 3rd dimension.

15 years ago | 0

| accepted

Answered
creating .mat file
Yes, you can create an image volume. Create a 3-D array and place the images in that array. X = zeros(256,256,15); X(:,:...

15 years ago | 1

Answered
Image Compression
The 'maxloop' variable sets the maximum number of steps, if you decrease it too much, then your compression won't be optimal, if...

15 years ago | 0

Answered
creating .mat file
1.) If the images are the same size you can put them in an array and save that. If different, use a cell array. 2.) You can use...

15 years ago | 0

| accepted

Answered
I need help using the "extract" function in Matlab
I'm confused because your tags imply that your use case is an econometrics application, but the extract() help you cite is from ...

15 years ago | 0

Answered
plot smooth CDF using matlab
That is because the ECDF necessarily jumps, you could just use ecdf()with confidence bounds [F,X,Flo,Fup] = ecdf(y); ...

15 years ago | 0

Answered
plot smooth CDF using matlab
You could do something like this: [f,xi] = ksdensity(y); y1 = cumsum(f); y1 = y1./max(y1); ...

15 years ago | 0

Answered
pdf at a single point
Don't confuse the value of the PDF at a point with the probability that the random variable takes on that value. Those are diffe...

15 years ago | 0

Answered
I need help using the "extract" function in Matlab
It looks like from the error you are reporting that MATLAB is not able to find the function. Did you add the folder that the f...

15 years ago | 0

Answered
error in PSD of bandpass delta sigma modulator through pwelch function
You don't have to scale the output of pwelch() as you have done here. (y*fs/N) that scaling is taken care of inside pwelch(). ...

15 years ago | 0

Answered
Why this code does not run?
Hi, Just enter >> pdex1 at the command prompt, that will run the demo.

15 years ago | 0

Answered
Try-catch syntax error
Open the install_connector.m file in the editor and insert a comma after catch

15 years ago | 0

Answered
how to use soundsc with function
Your function is actually outputting a vector. Your code dtmf = cat(2, D{:}); is producing a vector, soundsc() works on ...

15 years ago | 0

| accepted

Answered
how to use soundsc with function
Transpose your cell array dtmf = dtmf'; Then try soundsc(cell2mat(dtmf),8000);

15 years ago | 0

Answered
how to use soundsc with function
Is your dtmf a Nx1 cell array? Can you do soundsc(cell2mat(dtmf),Fs)

15 years ago | 0

Answered
Getting error of Double
Hi, are you actually assigning anything to dtmf inside your function? For example, if you wrote a function function test...

15 years ago | 0

| accepted

Answered
Add contour to 3d surface plot
Do you want a contour, or a patch()? [X,Y,Z] = peaks; surf(X,Y,Z); hold on; patch(X,Y,4*ones(size(Z)),'green'); view(-2...

15 years ago | 0

Answered
How can I add a title in in the jpeg- or pdf-format saved file?
title() Just add title('Here is my title') before you save the figure.

15 years ago | 0

| accepted

Answered
How to define a path in saveas command?
You can either change directory to the directory you want to save it in, or you can specify the directory plot(randn(100,1)...

15 years ago | 0

Answered
Image type? dwt2 problem? I don't know! the size is incorrect!
Hi, You want to use 'bior4.4' in the reconstruction. The Toolbox knows that the biorthogonal filter has two analysis filters and...

15 years ago | 1

Answered
create as built in functions
You can use pathtool, to add the folder where those functions are and save that path for future sessions.

15 years ago | 0

Answered
Image type? dwt2 problem? I don't know! the size is incorrect!
Hi Nizar, You are likely using the default extension mode for the DWT. Use the periodization mode. dwtmode('per'); [C,...

15 years ago | 0

| accepted

Answered
Creating an image filter
Hi Daniel, If you have images = dir('*jpg'); names = {images.name}; Then you should be able to loop through on the ce...

15 years ago | 0

Answered
how to use listdlg
You copied and pasted this into the command window? This should work. d = dir; str = {d.name}; [s,v] = listdlg('Promp...

15 years ago | 0

Load more