Réponse apportée
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...

plus de 13 ans il y a | 0

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

plus de 13 ans il y a | 0

Réponse apportée
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. ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
Matlab imshow
this gives an error with imsubstract because the images are not of the same size.

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
count the number of columns 0 and 1 in a barcode image column 0 is black bars and 1 is a white bars
>> sum(M,2) ans = 8 8 8 8

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ....

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 0

| A accepté

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 0

Réponse apportée
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 ...

plus de 13 ans il y a | 0

Réponse apportée
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...

plus de 13 ans il y a | 1

Réponse apportée
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...

plus de 13 ans il y a | 0

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

plus de 13 ans il y a | 0

A soumis


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

plus de 13 ans il y a | 2 téléchargements |