Articles From Jim Sizemore
Filter Results
Step by Step / Updated 03-27-2017
You would have a tough time presenting formulas to others without being able to use math symbols. MATLAB provides you with a wealth of symbols that you can use for output purposes. Here are the most commonly used symbols and how you access them.
View Step by StepStep by Step / Updated 03-27-2016
When you first start MATLAB, the current folder always defaults to the MATLAB folder found in your user folder for the platform of your choice. For Windows users, that means the C:Users<User Name>DocumentsMATLAB folder. Burying your data way down deep in the operating system may seem like a good idea to the operating system vendor, but you can change the current folder location to something more convenient when desired. Perhaps your data is actually stored on a network drive, you want to use a shared location so that others can see your data, or you simply want to use a more convenient location on your local drive. The following steps help you change the current folder:
View Step by StepStep by Step / Updated 03-27-2016
After you create a formula or command that you want to use to perform a number of calculations in MATLAB, be sure to save it to disk. Of course, you can save anything that you want to disk. The following steps help you save any formula or command that you want to disk so that you can review it later:
View Step by StepStep by Step / Updated 03-27-2016
MATLAB provides many different ways to write scripts. Some of them don’t actually require that you write anything at all! However, the traditional way to create a script in any application is to write it. The most common first script in the entire world is the “Hello World” example. The following steps demonstrate how to create such a script using MATLAB.
View Step by StepStep by Step / Updated 03-27-2016
You can create a 3D bar chart in MATLAB. The bar chart is a standard form of presentation that is mostly used in a business environment. You can use a bar chart to display either 2D or 3D data. When you feed a bar chart a vector, it produces a 2D bar chart. Providing a bar chart with a matrix produces a 3D chart. The following steps help you create a 3D bar chart.
View Step by StepStep by Step / Updated 03-27-2016
Once you have obtained a copy of the Symbolic Math Toolbox to use with MATLAB, you should have a number of files on your hard drive. These files provide everything needed to install the Symbolic Math Toolbox. You have two ways by which you can interact with the files: If you were able to use the download agent, you see a dialog box telling you that the download is complete. At this point, you can perform one of these two tasks: Select the Start Installer option and click Finish to start the installation process. The Symbolic Math Toolbox installer will start automatically. Select the Open Location of the Downloaded Files option and click Finish. You see the location of the files open, and you must double-click the installer file to start the installation process. (The installer file is typically the only executable program in the folder.) If you performed the manual download process, you need to find the download location of the files. You must double-click the installer file to start the installation process. (The installer file is typically the only executable program in the folder.) Windows platform users may see a User Account Control (UAC) dialog box when starting the installer. Click Yes to give the installer permission to install the Symbolic Math Toolbox. Otherwise, the installation will fail. No matter how you start the installer, eventually you see a MathWorks installer dialog box. This dialog box determines the source of the files that you use to perform the installation. (Choosing the Install Using the Internet option downloads the files directly from the MathWorks site — you also have the option of using source files on your hard drive.) The following steps help you complete the installation process.
View Step by StepStep by Step / Updated 03-27-2016
You need to obtain either a trial version or a purchased version of the Symbolic Math Toolbox before you can do anything else with it in MATLAB. (When getting a trial version, you must discuss the download with someone from MATLAB before you can actually download the product.) Check out the product information and click one of the links in the Try or Buy section of the page. After you have received confirmation of your purchase, use the following steps to obtain the software:
View Step by StepStep by Step / Updated 03-27-2016
MATLAB allows you to modify the plot box aspect ratio. Instead of modifying the data, the plot box aspect ratio modifies the plot box — the element that holds the plot in its entirety — as a whole. The appearance of the data still changes, but in a different way than before. The following steps get you started with this example:
View Step by StepStep by Step / Updated 03-27-2016
Using a color bar with your MATLAB plot can help people see data values based on color rather than pure numeric value. The color bar itself can assign human-understandable values to the numeric data so that the data means something to those viewing it. The best way to work with color bars is to see them in action. The following steps help you create a color bar by using the colorbar() function and use it to define values in a bar chart:
View Step by StepStep by Step / Updated 03-27-2016
How the 3D effect appears onscreen depends on the data aspect ratio you set in MATLAB. The daspect() function lets you obtain the current aspect ratio and set a new one. The aspect ratio is a measure of how the x-, y-, and z-axis interact. For example, an aspect ratio of [1, 2, 3] would mean that for every 1 unit of the x-axis, there are two units of the y-axis and three units of the z-axis. Perform the following steps to see how this feature works:
View Step by Step