Beantwortet
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...

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

Beantwortet
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. ...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 1

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 1

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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 ....

mehr als 13 Jahre vor | 0

Beantwortet
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 ...

mehr als 13 Jahre vor | 1

Beantwortet
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...

mehr als 13 Jahre vor | 0

| akzeptiert

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 0

Beantwortet
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 ...

mehr als 13 Jahre vor | 0

Beantwortet
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...

mehr als 13 Jahre vor | 1

Beantwortet
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...

mehr als 13 Jahre vor | 0

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

mehr als 13 Jahre vor | 0

Gesendet


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

mehr als 13 Jahre vor | 2 Downloads |