This shows you the differences between two versions of the page.
resources:eval:user-guides:circuits-from-the-lab:cn0566:matlab [07 Aug 2023 18:15] – created Mark Thoren | resources:eval:user-guides:circuits-from-the-lab:cn0566:matlab [07 Aug 2023 20:12] (current) – Move images to this namespace Mark Thoren | ||
---|---|---|---|
Line 11: | Line 11: | ||
Once completed, your setup should resemble the image below: | Once completed, your setup should resemble the image below: | ||
- | {{ : | + | {{ : |
===== Setting up MATLAB ===== | ===== Setting up MATLAB ===== | ||
Line 18: | Line 18: | ||
For the hardware board support packages to work, you must use Matlab version **R2022b** or newer. You can go to the download page by clicking [[mw> | For the hardware board support packages to work, you must use Matlab version **R2022b** or newer. You can go to the download page by clicking [[mw> | ||
- | {{ : | + | {{ : |
---- | ---- | ||
Line 27: | Line 27: | ||
\\ | \\ | ||
After downloading the installer, open it to run the MATLAB installation tool. During the installation process, there will be a window to select which products and toolboxes will be installed, as shown in the image below. Ensure that all the products shown in the image have been selected. | After downloading the installer, open it to run the MATLAB installation tool. During the installation process, there will be a window to select which products and toolboxes will be installed, as shown in the image below. Ensure that all the products shown in the image have been selected. | ||
- | {{ : | + | {{ : |
---- | ---- | ||
Line 38: | Line 38: | ||
Once MATLAB is installed, additional toolboxes can be downloaded through the built-in **Add-On Explorer**. It can be found by opening MATLAB, selecting the **Home** tab, and clicking the three colored cubes labeled **Add-Ons** located near the top. | Once MATLAB is installed, additional toolboxes can be downloaded through the built-in **Add-On Explorer**. It can be found by opening MATLAB, selecting the **Home** tab, and clicking the three colored cubes labeled **Add-Ons** located near the top. | ||
- | {{ : | + | {{ : |
---- | ---- | ||
Line 45: | Line 45: | ||
This will open the Add-On Explorer. Here, you can search for toolboxes using the search bar in the top right corner, and install them. | This will open the Add-On Explorer. Here, you can search for toolboxes using the search bar in the top right corner, and install them. | ||
- | {{ : | + | {{ : |
---- | ---- | ||
Line 97: | Line 97: | ||
==== Running scripts ==== | ==== Running scripts ==== | ||
Once both the Phaser and Pluto are able to communicate with MATLAB, download and extract | Once both the Phaser and Pluto are able to communicate with MATLAB, download and extract | ||
- | {{ : | + | {{ : |
Then open the file **< | Then open the file **< | ||
Line 185: | Line 185: | ||
Here, the Phased Array System Toolbox is used to simulate the array factor for the Phaser. Then both the experimentally obtained array factor (from the data above) and the simulated array factor are plotted. The resulting plot that appears should resemble the image below: | Here, the Phased Array System Toolbox is used to simulate the array factor for the Phaser. Then both the experimentally obtained array factor (from the data above) and the simulated array factor are plotted. The resulting plot that appears should resemble the image below: | ||
- | {{ : | + | {{ : |