Respondida
GUIDE, calling functions
When you are using the guide it is actually a gui for making gui's. What you are actually doing is making an m-file and this m-f...

más de 13 años hace | 0

Respondida
Kolmogorov
Matlab is very clear here; your dimensions mitmatch: size(CDF(:,j))=[20,1] while size(horzcat(E(:,j),P(:,j)))=[20,2]. Anothe...

más de 13 años hace | 0

Respondida
GUIDE, calling functions
A gui is just some visualization of some m-file. If you want to call a separate m-file you have to call it in the first one. ...

más de 13 años hace | 0

Respondida
Implementation of Matrix Division in Matalb
Sleijpen and Van der Vorst 1996 estimate the computation costs of direct methods as N^2.3 with memory costs N^1.7, while iterati...

más de 13 años hace | 1

| aceptada

Respondida
finding focal length of mobile camera
The magnification of a positive lens is M=f/(f-v) (see wikipedia), with f the focal length and v the distance of the center of t...

más de 13 años hace | 0

| aceptada

Respondida
interact with web browser from Matlab
Maybe this link will help: <http://mathworks.com/matlabcentral/fileexchange/29642-get-html-table-data-into-matlab-via-urlread-an...

más de 13 años hace | 0

Respondida
problem with a line
Just type doc pwelch and everything you need is there. If I remember correctly a power spectrum discards the phase infor...

más de 13 años hace | 1

Respondida
How can I remove the dc component from an Image?
class input for fft2 should be double or single and you are using unit8. I get no errors, but this is probably not the fft2 you ...

más de 13 años hace | 0

Respondida
Matlab imshow
this gives an error with imsubstract because the images are not of the same size.

más de 13 años hace | 0

| aceptada

Respondida
write output to a .txt or .mat file
m=34; n=42; N=205; A=zeros(m*N,42); for j=1:N %load matrix B, don't know how you saved it, so just assuming you do ...

más de 13 años hace | 0

Respondida
Statusbar parallel with computation and motors
To clarify a few things: 1) you have 3 for-loops (indexes i, r and p) where the first includes the others. Where exactly doe yo...

más de 13 años hace | 0

Respondida
Statusbar parallel with computation and motors
I addapted the example in the statusbar.m to show you can have them active simultaniously: f=statusbar('Wait some seconds ....

más de 13 años hace | 0

Respondida
fitting function of two variables
If you have a predevined function, f(x,y) with unknown coefficients, you can find those with the optimalization toolbox. If ...

más de 13 años hace | 1

Respondida
How to set the Attribute possition in a annotation of type rectangle
Your annotation (the highlighted rectangle) has little to do with your axes in which you specify the grid. You can see it yourse...

más de 13 años hace | 0

| aceptada

Respondida
Matlab build in qr decomposition
It is very hard to make an algorithm more efficient than Matlab-build in codes. But you can use some straigth-forward linear alg...

más de 13 años hace | 0

Respondida
write output to a .txt or .mat file
If you save and reload your data with y=load(); you have a structure file anyhow. If you want to save your variables i...

más de 13 años hace | 0

Respondida
count the number of columns 0 and 1 in a barcode image column 0 is black bars and 1 is a white bars
Hey, convert it to logical class and then sum over a column (or columns). If your image is variable Im, go to logical with ...

más de 13 años hace | 0

Respondida
conversion from double to struct
if it is a real sound file like x=load('handel') x = y: [73113x1 double] Fs: 8192 you will have a str...

más de 13 años hace | 1

Respondida
Can I concatenate histogram?
If you are using hist to produce histograms, the result will be an array (or matrix, but in that case matlab treats the colums o...

más de 13 años hace | 0

Respondida
Simple Integration
Bibha, It get this answer for your third line (note also that on line two a right bracket is missing). second = infin...

más de 13 años hace | 0

Enviada


freqspace.m
Finds the corresponding frequency array for a homogeneous spaced vector.

más de 13 años hace | 2 descargas |