Posts

Showing posts from April, 2020

Recent Post

MATLAB : Fourier transform

Image
By Nuno Nogueira, CC BY-SA 2.5, https://commons.wikimedia.org/w/index.php?curid=3912826 MATLAB has been  crucial programming language across worldwide that let us express matrix and array mathematics directly. In signal processing and communication it plays vital role in analysing and exploring time series data in time domain or frequency domain. For analysing non periodic signals in frequency domain we use Fourier transform instead of Fourier series ,which is used to express periodic signals in terms of infinite sum of sinusoidal terms .   Fourier transform can exist for :      1. Energy signals      2. Power signals       3. Impulse signals  That means absolutely integrable signals can have their Fourier transform only.  Formula for Fourier transform;   Then its come to use Fourier transform in MATLAB. So here is the code for Fourier transform of sinusoidal wave , for any other signal we ...

Neuralink : Merge of human brain with AI!

Image
"Merge of our brain with artificial intelligence". Doesn't it sounds like something straight out of a science fiction movie! But now this is happening for real. NEURALINK, one of the eccentric projects of Elon Musk is developing an ultra-high bandwidth brain-machine interface to connect humans and computers. About Neuralink We all know Elon Musk for his great projects, mainly Tesla and SpaceX. But, Neuralink is something much different from both. In a way, we can say that the other two companies aim to redefine what future humans will do but Neuralink wants to redefine what future humans will be.  Neuralink was set up by Elon Musk in 2016 but it opens up publicly about the technology it is working on, which is quite bold and controversial in 2019. Operating at a much smaller scale than Tesla or SpaceX, this conceptual startup aims to use a brain-machine interface to integrate humans with artificial intelligence by surgically implanting processors into our brai...

Setting decimal precision in c/c++

Image
In C++ and C precision and accuracy are problems which arise when using floating-point value. Now the question arises what is Precision and Accuracy? Precision is the total number of digits in any number. For example, 2.31 has 3 precision value, 0.4 has one precision. Accuracy refers to the degree of exactness or correctness of a number. we well know about pi. It is an irrational number. The value of Pi varies according to the accuracy of the calculations.NASA uses around 15 digits of pi to send rockets into space. But for small calculations that not need more precision and accuracy, we have to round off the value of pi up to certain digits. Generally, we take the value of pi equal to 3.14 for small calculations. Because the third decimal place, 1, is less than 5, we can simply drop the third and subsequent places when rounding. Now the question is how to precise our floating-point value in C/C++? There are many methods and functions available to write precise decimal val...

How contact tracing can be potential weapon against COVID-19?

Image
Currently, the entire world is struggling with pandemic COVID-19 and looking for some majors to curb it's spreading and it's treatment. Contacts tracing is one of the major to stop it's spreading. Contact tracing is a simple concept that is vital to stopping the spread of deadly infectious diseases like COVID-19. It follows three steps in order to prevent the spread of the virus:     1. Contact Identification     2. Contact Listing     3. Contact follow-up  Firstly, it identifies the infected person and recognises the symptoms of diseases and then list out the all the contacts to whom infected person meet in their past daily routine and contact them in order to know whether they are infected or not. And if necessary the exposed contacts are self quarantined or diagnosed. In fact, digital contact tracing has already been implemented by millions of users apparently to good effects. Bluetooth Beacons:- All mobile phones have Bluetooth techn...

The breaking of enigma & the dawn of modern computing

Image
         Many people think that the first working computer was built by an American team. But in fact, the world's first programmable digital computer was built in secret by the British during the Second World War at Bletchley Park. Bletchley is famous as the place where the Enigma machine was broken which was done by using a machine called BOMBE.    ABOUT ENIGMA The enigma  was a German piece of engineering that was used by the Germans to send secure, encrypted messages amongst each other during World War I. In enigma, you have to get a number of settings of the machine, or else the code cannot be cracked.  The Enigma Code seems ‘uncrackable’ due to the fact that you would have to go through more than almost 15 million million million possibilities to arrive at the correctly deciphered code! This seemingly 'uncrackable' Enigma was cracked by British mathematician and computer scientist ALAN TURING who is also known as th...

How to clear input buffer in c++(use of cin.ignore() function)

Image
A temporary storage area is called a buffer. Sometimes we need to clear the unwanted buffer, so when the next input is taken, it stores into the desired container, but not in the buffer of the previous variable. Let's see the following example we take a number and a character array as input through the keyboard and print it on the screen as output.  In this example, we have entered a number and a string but when the program run then we get only a number as the output. This is because off after entering a number into the cin statement, we need to input a character array or string. So we need to clear the input buffer, otherwise, it will occupy the buffer of the previous variable. To resolve this issue we need cin.ignore() function. After taking first input it will clear the buffer and it will take second input. The syntax of cin.ignore() function is given below cin.ignore(numeric_limits<streamsize>::max(),'\n'); In the following program we hav...

Google's new virtual braille keyboard

Image
Braille is a system for blind persons for reading and writing. It contains equivalents dots for letters and punctuation marks and provides symbols to show groupings of letters. Braille is read by moving the hand from left to right. According to the World Health Organization, at least 2.2 billion people globally have a vision impairment or blindness. To address their needs, Google revealed its new TalkBack braille keyboard, a virtual keyboard rolling out to devices running Android 5.0 or later. The company said that For people who are blind or have severely impaired vision, typing on a smartphone or computer typically requires an expensive and bulky physical braille computer – it is not exactly convenient if you want to make a quick reply on your phone. Features:- Google says its team collaborated with braille users and developers while coming up with the feature, and that it should be familiar to anyone who has typed using braille before: The company said that It uses a s...

Can we convert brain activities into text?

Image
Can we convert brain activities into text? The answer is yes! A new Artificial Intelligence system that converts brain activity into text could transform communication for people who can not speak or type. The mind-reading machine is used as a brain implant to track what neuron do when someone speaks. An algorithm then converts the data into a string of numbers, which another system then translates into a sequence of the word. This system was developed by researchers from the University of California, San Francisco, who revealed their finding in the journal Nature Neuroscience . The researchers tested their system on four people with brain implants that monitor their epileptic seizures. The participant was asked to read a range of simple sentence aloud, including “Tina Turner is a pop singer” and “the oasis was a mirage”. As they spoke, their brain signals were fed into a computer and decoded into word. The system sometimes struggled to convert the word into coherent...