The provided content is about a video that demonstrates how to generate and plot a Pulse Width Modulation (PWM) signal in MATLAB App Designer’s UI Axes. The source code for the task is shared. It involves creating a class called PWMSignalApp with app components like UIAxes and PWMButton. After creating UIFigure and components, a function named PWMButtonPushed is declared. This function generates a sine wave and a PWM signal corresponding to it, plotting both signals on different UI Axes. The user is encouraged to direct any questions, suggestions, or appreciations to the provided contact email address.
Tag: matrix
How to change the values of an Matrix (or array) to 1 and 0 for positive and negative values in MATLAB?
The video illustrates how to modify the elements of a matrix to either 1 or 0 using specific code. The method transforms all positive values in the matrix to 1, while all negative or zero values are converted to 0. The operation is demonstrated with an example using pre-defined matrix ‘A.’ The necessary code is run step by step: “A = A.*(A>0)” converts all negative or zero values into zero, and then “A = A./(A + 1.*(A==0))” transforms remaining positive values into 1. For further clarification or questions, viewers are encouraged to contact the programmers through provided contact channels.
How to export UITable data into an excel file in MATLAB App Designer R2023a?
The content shares a video demonstrating how one can save app.UITable.Data to a Microsoft Excel file from the UI designed in MATLAB App Designer R2023a. The associated code is provided, which first sets up table data with specified values. It then establishes an “Export to Excel File” button, set to execute the function of writing the table data to an Excel file upon being clicked. This feature is implemented in a UI class with properties like the UIFigure, UITable, and ExporttoExcelFileButton, alongside functions managing UI components and startup functionality.
How to save bitmap to an image file in Download folder from your Android App? Android 14 | API level 34
In this video it shows the steps to save a bitmap to image file in download folder from your Android App programmatically. It demonstrates this for Android 14 | API level 34. In this video it refers to the code from my below pages of posted earlier:https://programmerworld.co/android/how-to-fix-the-error-only-mutable-bitmaps-may-be-reconfigured-convert-immutable-bitmap-to-a-mutable-bitmap-in-android-app/https://programmerworld.co/android/how-to-create-and-save-an-image-file-in-download-folder-from-your-android-app-android-13-api-33/ I hope you…
How to download an image file from internet and display in UIAxes using MATLAB script in App Designer?
In this video it shows the steps to download an image file from the internet (https URL) and save it in the local PNG file. In this video it uses sample images from the below webpage:https://programmerworld.co/android/how-to-create-a-gif-from-jpeg-images-in-your-android-app-android-studio-complete-code/ And below are the respective images’ URLs:https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images.jpeg?w=452&ssl=1https://i0.wp.com/programmerworld.co/wp-content/uploads/2022/11/images1.jpeg?w=679&ssl=1 It uses WEBREAD command to read the…
How to open and convert a JPEG file (from Download folder) into Bitmap in your Android App?
In this video, it shows how to open a jpeg file from download folder and convert it into Bitmap in your Android App. It then uses ImageView to display the image within the App layout. It uses StorageManager to access the internal storage volume. And then access the jpeg file…
MATLAB
The web content provides extensive information on multiple applications of MATLAB. Topics covered include how to design various applications like calculators, games, and alarm clocks using MATLAB App Designer, alongside solving different algorithms such as Quick Sort and Merge Sort. The content also delves into accessing and manipulating webcams, email functionality, and internet use within MATLAB. There are exercises about using MATLAB as a medium for text-to-speech conversion, creating and plotting 3-D images, generating PDF reports, running Google’s AI Palm API, etc. Towards the end, several website links give additional insights about connecting to databases and managing data using MATLAB.