TeachLCGE

version 1.3.0.0 (29.8 KB) by Matej Mikulszky
Illustration of the ReGUI (Responsive GUI) approach to creating applications.

159 Downloads

Updated 4 Jan 2022

View License

TeachLCGE serves two purposes.
First, it is an example of creation of a stand-alone application with
responsive graphical user interface (ReGUI).
Second, at the same time it is a helper application for supporting
teaching extrema of functions of two real variables - local (in this
version), constrained and global (both to be added later).
-------------- ReGUI - Responsive Graphical User Interface --------------
This application features the ReGUI -- Responsive Graphical User
Interface. When the application window is resized, the position and size
of logical blocks might change in order to give optimal user experience.
Read the article about the ReGUI here:
and take a look at the ReGUI demonstration video:
----------- TeachLCGE - Local, Constrained and Global Extrema -----------
VERSIONS:
1.3
- Added support for new MATLAB R2021b version
- str2sym(get())function implemented instead of get() function
- Author: Martin Muzelák
1.2
- Constrained and global extrema are supported (both without ReGUI,
which will be available later).
1.1
- In this version, only local extrema type is supported, other two
options will be available later with upcoming updates.
- Application is still in its early stage, some functions of two real
variables, that require different approach in terms of calculation,
might not work.
After launching the application, simple main menu is displayed, where
the user can select the language and the type of problem to explore.
After selecting the type of problem, the interface becomes the ReGUI
interface, and initially only "input field" is displayed. Input field
consists of input text field and three push buttons "Calculate",
"Show example" and "Clear the form". The whole process of using this
application then consists of the two simple steps:
1st step: insert a function of two real variables into input text field;
2nd step: press the "Calculate" button.
When calculation is finished, the ReGUI is updated with the results.
Results consist of:
- coordinates of existing stationary points of the function;
- function values of stationary points;
- determinations, if each stationary point is a saddle point or extreme;
- a 3D graph of the inserted function;
- various graphs of partial derivatives of the function. In two of these
graphs, stationary points are illustrated as the black dots and extrema
as the red dots.
For demonstration purposes a "Show example" button can be used, which
inserts a sample function into input text field and launches calculation.
This button can be pressed repeatedly for more examples.
TeachLCGE has been developed and successfully tested on MATLAB R2013a
and R2015a.
--------------------------------------------------------------------------------------------
I am grateful to Prof. Igor Podlubny (http://www.tuke.sk/podlubny/) for
teaching this approach in his course on computational tools for automation
and informatization of processes, and to Dr. Jana Pocsova
(jana.pocsova@tuke.sk) for her guidance, suggestions and support. Also,
Dr. Andrea Mojzisova's advices and remarks are highly appreciated.
Author: Matej Mikulszky, 2016-2017
email: matej.mikulszky@student.tuke.sk
Student, Technical University, Kosice, Slovakia
For updates, please check the following link:

Cite As

Matej Mikulszky (2022). TeachLCGE (https://www.mathworks.com/matlabcentral/fileexchange/62480-teachlcge), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!