Application
Any
Platform
License
Any
Programming Tutorial
C Tutorial 10 – C File I/O and Binary File I/O
When accessing files through C, the first necessity is to have a way to access the files. For C File I/O you need to use a FILE...
Programming Tutorial
This lesson will discuss C-style strings, which you may have already seen in the array tutorial. In fact, C-style strings are really arrays of chars with a little bit of special...
Programming Tutorial
C Tutorial 8 – Arrays
Arrays are useful critters that often show up when it would be convenient to have one name for a group of variables of the same type that can be accessed...
Programming Tutorial
C tutorial 7 – Structures
When programming, it is often convenient to have a single name with which to refer to a group of a related values. Structures provide a way of storing...
Programming tutorial
Pointers are an extremely powerful programming tool. They can make some things much easier, help improve your program’s efficiency, and even allow you to handle unlimited...
Programming tutorial
Switch case statements are a substitute for long if statements that compare a variable to several “integral” values (“integral” values are simply values that can be expressed as...
Programming tutorial
Now that you should have learned about variables, loops, and conditional statements it is time to learn about functions. You should have an idea of their uses as we have already...
Programming tutorial
Loops are used to repeat a block of code. Being able to have your program repeatedly execute a block of code is one of the most basic but useful tasks in programming — many...
Programming tutorial
The ability to control the flow of your program, letting it make decisions on what code to execute, is valuable to the programmer. The if statement allows you to control if a...
Learning by examples
This tutorial is a port of the C++ tutorial but is designed to be a stand-alone introduction to C, even if you’ve never programmed before. Unless you have a particular reason...
Tutorial
Matlab Tutorial 1 – The basic features
Matlab Tutorial 2 – Vectors and matrices
Matlab Tutorial 3 – Built-in functions
Matlab Tutorial 4 – Plotting
Matlab Tutorial 5 – M-files:...
Tutorial
Why use a GUI in MATLAB? The main reason GUIs are used is because it makes things simple for the end-users of the program. If GUIs were not used, people would have to work from the command...
Matlab Tutorial 9 – Numerical Methods
In this tutorial we mention some useful commands that are used in approximating various quantities of interest.
We already saw that MATLAB can find the roots...
Matlab Tutorial 8 – Polynomials in MATLAB
Even though MATLAB is a numerical package, it has capabilities for handling polynomials. In MATLAB, a polynomial is represented by a vector containing its...
Matlab Tutorial 7 – If statement
There are times when you would like your algorithm/code to make a decision, and the “if” statement is the way to do it. The general syntax in MATLAB is as follows...
Matlab Tutorial 6 – Loops
We will now cover some commands for creating loops, which are not only used in writing m-files, but in regular MATLAB sessions as well. The examples that we will give will...