Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Re: Covariance matrix
Yes.
Multiplication of a column vector and a row vector will result in a square matrix. NxN in your case.
The equation i wrote is for calculating the covariance matrix. If you want to calculate the correlation matrix, which is a different thing, you should use the...
Re: Covariance matrix
Hi,
To calculate the covariance matrix, you need to take multiple measurements for each sensor, because it is not possible to talk about any variance on a single measurement set. Let's say you did M measurements for each sensor, then the number of Z vectors you have will...
I don't think that people like these will read the stickies even if they were existed.
I think it's best to delete posts like this and the ones which contain a code request and an e-mail adress only. In such cases, most of the time the poster deos not come back to check if a reply is posted to...
Re: what parts should i buy
Just buy assortments of passive components (resistors, capacitors etc.) and maybe some voltage regulators. Wait before buying for the future. After doing a few circuits, you'll know better what kind of components you'll need frequently and therefore may start buying...
Re: ac or dc
As karesz stated, using a DMM twice (Both in AC and DC modes) is better and safer. The LED method will not work in a wide voltage range, unless you use different LEDs and/or current limiting resistors for different voltage ranges.
Re: Matlab loading file
To get data from serial port, you need to use the serial port object in MATLAB. Look at the local docs. Everything is written under the topic MATLAB->External Interfaces->Serial Port I/O
You can convert the values to decimal using the hex2dec() function.
i = imread('x.jpg');
h = fspecial('sobel');
c = imfilter(i,h);
this will detect horizontal edges using the sobel operator. To detect vertical edges, you shoud use the transpose of h.
Re: 16f877a pwm no output
One period of the sine wave is 20000us
One period of the PWM is 50us
This means that you need a LUT with 400 values for a full period. Since you are using a different PWM signal for each half-period, you just need 200 values, which is NOT many.
Re: 16f877a pwm no output
Hi,
You simply can't generate a sinusoidal PWM using this method.
In your for loops, you are updating the duty cycle several times before one period of the PWM is completed. The comparator will miss lots of cycles and output useless PWM signals.
You can use the...
Using MPLAB is only one option. You don't have to use MPLAB and assembly language. You can use other IDE's for developing your code in C and then compiling it. For example HI-TECH PICC and CCSC. PICkit2 supports more than one IDE. See the link below.
**broken link removed**
1- C++ is an object oriented language while C is not. In embedded software development mostly the language of choice is C. Therefore you don't need to worry about C++ atm.
2- Not only for PICs, but for most of the microcontrollers. Actually you can use C do develop code for almost *anything*...
Hi,
The return signal automatically flows through the GND plane directly below the signal trace, because by doing so the loop inductance of the circuit is minimized.
Currents on the PCB follow the path of least inductance. The only way for that to happen is if the return current travels...
There is a step by step tutorial for that in image acquisition toolbox help, why don't you look there?
The code given here won't work in all cases because in some cases (depending on your pc's configuration), you have to give the device ID explicitly to the function "videoinput" like below
vid...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.