Saturday, December 14, 2013

Transmission Line Analysis Using Matlab

Matlab has a Radio Frequency Toolbox(rf toolbox). Using this toolbox matlab allows us to do some simulation and calculations about transmission lines, active components, RLC components, black box elements etc. In this post we are going to analyze a microstripline using 'rfckt.microstrip' class in the matlab. Let's calculate characteristic...
Read More

Thursday, November 7, 2013

USB Not Working on Virtualbox (on Linux host)

When using Virtualbox, generally we have usb problem. It doesn't work at the begining. The reason of that situation is the users of virtualbox operating systems doesn't know the host user. (in this case host is any Linux distribution) To deal with this problem we need to add host  user to the 'vboxusers'(virtualbox users g.) group. Proceed the following steps: 1. Open a terminal 2. Enter the following code. sudo usermod...
Read More

Delta Modulation Encoder and Decoder

In Delta Modulation, the quantizer is a 1-bit (two level) quantizer with magnitudes +δ and -δ . A block diagram of a delta modulation system is shown in following figure. Delta modulation transmits only one bit per sample. As seen from block diagram, the present value is compared with the previous value and according to sign of this difference...
Read More

Thursday, October 10, 2013

Shared Folder on Virtualbox on Linux Host

There are  a lot of people who use windows on virtualbox which is hosted by a linux distribution. For example, I installed virtualbox on Linux Mint 1.14 to setup Windows XP on it and use this for some software that I need for my education on Electrical & Electronics Engineering. Let's start with the most known problem. Problem : When we use virtualbox the most important problem is that how to share folders or directories...
Read More

Tuesday, August 27, 2013

Modeling a Whale Call with Matlab

I did my computer probation in a company called FIGES last year. In one of these days, my job was modeling a whale call of a blue whale. To do this firstly I did a long research, because I have needed some equations to represent whale call. According to my research: Befitting the largest mammal on earth, the call of an adult blue whale...
Read More

Wednesday, August 21, 2013

Firefox Babylon Add-on and More

Everyone knows Babylon dictionary, it is one of the most common dictionary that used in the world. A free babylon extension for firefox is available here. It works quite enough, the requirement is just clicking the word that you wanna search twice. Babylon Dictionary But missing part is that: It doesn't save the word you search...
Read More

Monday, August 19, 2013

Loops in Matlab ( for in matlab, while matlab, for matlab)

There are two loops in matlab: For loops  While loops For loops are used when the number of loop is certain whereas while loops are used when the condition is specified for a loop to terminate the code in it.  You can see the usage form of for loops and while loops from given examples below: Example 1: For loop for i=1:4, i end Example 2: While loop a=0; while(a<10) a= a+1; a For information in detail...
Read More

Sunday, August 18, 2013

Flash for Linux

Hi guys, most of the linux distributions do not include flash as default installed software. Mint comes with flash but such as in ubuntu it is not preinstalled. So we have to install it. There are a few ways to install flash in linux: 1.   - open software center         - enter 'adobe flashplugin        ...
Read More

Monday, August 12, 2013

Flashlight Android Application

Hi guys, today I wanna tell about one of my experince on android app development. A couple of days ago, I wrote a Flashlight android app using docs in developer.android.com, I checked the app in two different phones: first in a Motorola phone: my app worked perfect, it did its job. (turning on and turning off flash of the camera) second...
Read More

Saturday, August 10, 2013

Initial Arrangement Example in Matlab

str2=input('','s');<br /> if strmatch('do the arrangements\n',str2)<br /> <br />     disp('Yes Sir')<br /> end<br /> <br /> <br /> cd 'path'<br /> winopen('path');<br /> fprintf('Welcome to Matlab, Mr. 'name'\nCurrent Directory is rearranged, and the mlbe file is opened.\n');<br /> <br /> str1=input('','s');<br /> if strmatch('thanks',str1)<br...
Read More

A Traveling Wave by Making an Animation in MATLAB

clc %clears the command window<br /> clear %clears variables<br /> %Variables:<br /> %Eo wave amplitude (V/m)<br /> %f frequency (Hz)<br /> %omega angular frequency (rad/s)<br /> %t time snapshot<br /> %c speed of light<br /> %z position<br /> %E Electric...
Read More

How to add Categories to Blogger

Guys, today I will tell about categories in blogger. Unfortunately there is no any category widget in blogger. So we have to create it by ourselves. To do this We have two solutions. First Solution: We can use labels with Links widget. Let me Explain with an example let’s say We want Matlab,Linux,Apple as our site’s categories. Then we need to add these names as labels to our posts. Then by clicking the labels in Labels widget...
Read More

Wednesday, August 7, 2013

CPU Temperature Alarm System

Hi,  I want to write about Cpu Temperature Alarm System I have done by using advantages of linux kernel and linux shell. (I used bash shell in my script by the way.) One of the biggest advantages of linux is to reach hardware components easily through kernel. The communication with hardware comes true as given in the following steps: 1....
Read More

Monday, August 5, 2013

Tuning Processes

Introduction In real-time systems some processes can cause huge problems, or slowing down the system performance. In such situations we need to tune the running processes. With tuning I mean stopping or killing the process. To be able to do this and to know when we need to know what processes currently runnig and when process start up? Especially, administrators need this. Because unexpected processes needs to be down or...
Read More

Sunday, August 4, 2013

Format USB(flash drive) From Terminal

It's easy to format usb drives from terminal. But, you need to first find what's your usf file system. To find this we can use df command. df: report file system disk space usage  Also, to be able to format the usb, usb shouldn't be mount, if it is we are going to unmount it. Now, just to be clear I am going to format my own usb step by step, at required steps I will give the terminal screenshots. Steps...
Read More

Saturday, August 3, 2013

System Logs in Linux

Introduction to syslogd syslog daemon responsible from syslog. This structure collects all messages from running programs to the logs. It categorizes all of messages according to its types and priority, and presents to us. This is very useful for error debugging. We can use this messages to find the actual problem if we have any one at any time. Actually I used that in my previous post. You may wanna see it. Reading Logs Now,...
Read More

Friday, August 2, 2013

Gimp The GNU Image Manipulation Program

Gimp is an alternative software to Photoshop. Most users of linux use Gimp instead of Photoshop. Last version of Gimp is 2.8. I use it myself in my ubuntu 11.10 Oneiric Ocelot and Linux Mint 1.14 Nadia. I recommend it to you if you are using a distiribution of linux. If you are using Windows or other platforms, I think Photoshop is...
Read More

Wednesday, July 31, 2013

Wireless networks are not being seen by network manager

Summary: In this article I am going to show you the solution of the problem: wireless networks are not being seen by network manager even if wireless card drivers are installed. Yesterday, I reinstalled Linux 1.14 Nadia in my pc. After that I installed my wireless card driver which is Broadcom Corporation BCM4312. I learned its name and version from lspci command. lspci is a command on Unix-like operating systems...
Read More

Sunday, July 28, 2013

Dice Simulation with C or C++

I wanted to model the dice simulation using C or C++. You can see the codes in the following. ...
Read More

C veya C++ ile Zar Atma Simulasyonu

Bu programımda zar atmayı C ile modellemek istedim. Program kodlarını aşağıda görebilirsiniz. ...
Read More

Thursday, July 25, 2013

CPU Sıcaklık Alarmı Sistemi

Merhabalar, bu yazımda linux kernel ve linux shell in verdiği harika avantajlardan faydalanarak yaptığım CPU Sıcaklık Alarmı Sistemini anlatmak istedim. Linux un bize sağladığı en büyük avantajlardan biri kolaylıkla hardware bileşenlerine ulaşabilmemizdir. Hardware ile iletişim şu şekilde gerçekleşir : 1. Kullanıcı isteklerini kodlar...
Read More

Tuesday, July 23, 2013

Dictionary With Python

Python is a fast programming language as compared to other programming languages such as C, C++, java.. Also it is have a dictionary class which is very useful to create databases. So I thought writing a dictionary app with python would be efficient, fast and easy to build up. If you don't have python installed in your system, you can...
Read More

Monday, July 22, 2013

Install Android SDK on Eclipse On Linux Distributions

To start developing Android apps we need to first choose an IDE platform or environment. I recommend Eclipse. It is really good and efficient to develop android apps. I will give the step by step installation of Eclipse and set up it to develop android apps. Reqired Steps: 1. Open a terminal by typing Ctrl+F2 2. Type 'sudo apt-get install eclipse' enter, enter your password , this will install Eclipse platform. 3.  After...
Read More

Sunday, July 21, 2013

Linux Mint 1.14 Nadia Wireless Problem

I installed Linux Mint 1.14 Nadia a few months ago. Wireless  wasn't working because of the driver was not installed. In some linux mint distributions you can have this problem, nadia is one of them. Also, in some ubuntu distributions you can have the wireless problem too. To solve this problem you need to install wireless driver and reboot your computer or restart network services. To doing this there is several methods....
Read More