Search NASA⌕ Search

SEARCH · Search NASA

Results for “matlab”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 109 records · Page 6

Tutorial: MATLAB Implementation of a Successive Convexification Algorithm for 3 DoF Rocket Landings

The primary objective of this work is to fill in gaps and explore an alternate way of solving the 3 DoF rocket-powered landing problem presented in the 2016 AIAA paper by Szmuk, Ackimese, and Berning using successive convexification (SCvx). In the original paper, CVX, an automatic parsing package, was used to transcribe the high-level trajectory optimization problem into a format that could be read by a conic solver. The parsing step, generally computationally intensive, is hidden from the user. The use of CVX is sufficient for the generation of trajectories off-line due to the lack of runtime and flight software implementation constraints. For on-line applications, it is necessary to parse the problem for flight software implementation. References on hand-parsing powered descent guidance (PDG) problems are sparse. In this Tech Memo, the process of transcribing the 3 DoF PDG problem into the format required by MATLAB’s built-in second-order cone solver, coneprog.m, is presented in detail. Due to the abridged 3 DoF dynamics and the relatively simple nonlinearities, this reference is the natural starting point for anyone interested in grasping the concepts behind SCvx pertaining to PDG and the parsing step. Simulation results shown in this report were independently created by solving the problem using coneprog.m. The intent of this memo is to serve as a supplemental material to the original paper by breaking down the concept behind successive convexification and shed light into the parsing process. Readers are encouraged to first familiarize themselves with the material laid out in the original reference.

Alex Hayes↗

Automated Installation Verification of COMSOL via LiveLink for MATLAB

Verifying that a local software installation performs as the developer intends is a potentially time-consuming but necessary step for nuclear safety-related codes. Automating this process not only saves time, but can increase reliability and scope of verification compared to ‘hand’ comparisons. While COMSOL does not include automatic installation verification as many commercial codes do, it does provide tools such as LiveLink™ for MATLAB® and the COMSOL API for use with Java® through which the user can automate the process. Here we present a successful automated verification example of a local COMSOL 5.0 installation for nuclear safety-related calculations at the Oak Ridge National Laboratory’s High Flux Isotope Reactor (HFIR).

22 GENERAL STUDIES OF NUCLEAR REACTORS↗

Matlab Cluster Ensemble Toolbox v. 1.0

This is a Matlab toolbox for investigating the application of cluster ensembles to data classification, with the objective of improving the accuracy and/or speed of clustering. The toolbox divides the cluster ensemble problem into four areas, providing functionality for each. These include, (1) synthetic data generation, (2) clustering to generate individual data partitions and similarity matrices, (3) consensus function generation and final clustering to generate ensemble data partitioning, and (4) implementation of accuracy metrics. With regard to data generation, Gaussian data of arbitrary dimension can be generated. The kcenters algorithm can then be used to generate individual data partitions by either, (a) subsampling the data and clustering each subsample, or by (b) randomly initializing the algorithm and generating a clustering for each initialization. In either case an overall similarity matrix can be computed using a consensus function operating on the individual similarity matrices. A final clustering can be performed and performance metrics are provided for evaluation purposes.

Source record↗

Plotting XPS Narrow Scans (and Other data) with MATLAB, 1. Using the 'plot' and 'subplot' functions.

As researchers, we often focus more on data collection than data work-up. However, skillfully plotting data so that it can be effectively visualized is often an important step toward making it impactful. Data visualization in academic writing takes the form of plots, figures, graphs, spectra, etc., which are often combined with cartoons and schematics. An important goal of data visualization is to make complex data and concepts more accessible, understandable, and usable, and to do this in a concise manner – ‘a picture is worth a thousand words’ as the old cliché goes. Data visualization is both art and science, where, of course, data visualization depends on the type of data in question. Herein, we discuss ways of representing/plotting data using MATLAB from the MathWorks ® .

97 MATHEMATICS AND COMPUTING↗

An Unsteady State Gas Transport Model in Matrix Laboratory (MATLAB) for PWR Gas Management

Reactor Coolant System (RCS) hydrogen gas management can be a challenge at Pressurized Water Reactors (PWRs) during shutdown, startup, and steady state operation. Poor hydrogen control can result in higher general corrosion rates for RCS components and increases in critical path time for shutdown or startup. Also, performance indicator penalties may be accrued by entry into Electric Power Research Institute (EPRI) Action Level conditions or by accrual of Chemistry Effectiveness Index (CEI) penalties established by the Institute of Nuclear Power Operations (INPO). Furthermore, poor hydrogen control may increase industrial safety risk due to the creation of an explosive environment. Part of the hydrogen management difficulty arises from the interaction of several phenomena that require complex simulations to fully understand. While hydrogen gas transport models have been developed, the application of these models is limited by the computational intensity required to accurately model the dynamism inherent in plant shutdown or startup. Subsequently, a gas transport model is developed in a suitable computational program to meet these needs and provide input to an optimized RCS hydrogen management strategy for all operational modes. The gas transport model is used to model RCS hydrogen behavior for an example PWR during an End of Cycle (EOC) Forced Outage (FO) startup, a refueling outage (RFO) shutdown, and during nominal steady state operation. The computational software selected is Matrix Laboratory (MATLAB{sup R})

21 SPECIFIC NUCLEAR REACTORS AND ASSOCIATED PLANTS↗

Neural Network Code MATLAB

SAND2022-12606 O Neural Network Code MATLAB reads in an excel file, processes the data, trains a neural network, and tests the neural network. The code generates predictions of diffusion constants based on the data in the excel file. Sandia National Laboratories is a multimission laboratory managed and operated by National Technology & Engineering Solutions of Sandia, LLC, a wholly owned subsidiary of Honeywell International Inc., for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525.

Allers, Joshua↗

Matlab Scripts and Sample Data Associated with Water Resources Research Article

Scripts and data acquired at the Mirror Lake Research Site, cited by the article submitted to Water Resources Research: Distributed Acoustic Sensing (DAS) as a Distributed Hydraulic Sensor in Fractured Bedrock M. W. Becker(1), T. I. Coleman(2), and C. C. Ciervo(1) 1 California State University, Long Beach, Geology Department, 1250 Bellflower Boulevard, Long Beach, California, 90840, USA. 2 Silixa LLC, 3102 W Broadway St, Suite A, Missoula MT 59808, USA. Corresponding author: Matthew W. Becker (matt.becker@csulb.edu).

15 GEOTHERMAL ENERGY↗

Plotting XPS Narrow Scans (and other Data) with MATLAB’s Powerful Plotting Capabilities, 2. An Introduction to Handle Graphics

The graphical representation of numerical data plays a vital role in chemistry, materials science, and every other scientific field. No matter how good your results are, poorly represented data can ultimately make your work confusing. Indeed, with an increase in the amount of data that is being gathered, e.g., by the Materials Genome Initiative, or in X-ray photoelectron spectroscopy (XPS) or time-of-flight secondary ion mass spectrometry (ToF-SIMS) depth profiles, the importance of effectively representing data has increased. Good figures also matter because many researchers will not look at more than the title, abstract, and perhaps a few key figures from a paper.

42 ENGINEERING↗

Kinetic modelling of chlorination of nitrided ilmenite using MATLAB

In the present study, chlorination of nitride ilmenite using 2{sup k} factorial design was investigated. The reduction experiments were carried out in a temperature range of 400°C to 500°C, chlorination duration from 1 hour to 3 hours and using different type of carbon reactant. Phases of raw materials and reduced samples were analyzed by X-ray diffraction (XRD). Ilmenite was reduced to TiO{sub x}C{sub y}N{sub z} through carbothermal and nitridation for further chlorination into titanium tetrachloride. The Design of Experiment analysis suggested that the types of carbon reactant contribute most influence to the extent of chlorination of nitride ilmenite. The extent of chlorination was highest at 500°C with 3 hours chlorination time and carbon nanotube as carbon reactant.

75 CONDENSED MATTER PHYSICS, SUPERCONDUCTIVITY AND↗

MatLab Scripts

Explore the source record for details and available documents.

Ho, Clifford↗

ATS Spotted MSI Analysis with Matlab

Samples are placed on a surface using an acoustic transfer system (ATS). This results in one ore more small droplets on a surface. Typically there are hundreds to thousands of these droplets arrayed in a regular coordinate system. The surface is analyzed using mass spectrometry imaging (MSI) and at each position, one or more mass spectra are recorded. The purpose of the software is to help the user assign locations to the spots and build a report for each spot.

Bowen, Benjamin↗

2D-DIC Challenge MATLAB Analysis Code v. 1.0

This code replicates the analysis completed in the published article (see reference below) for the 2D-DIC Challenge (https://sem.org/dic-challenge/), conducted under the auspices of the Society for Experimental Mechanics (SEM). The purpose of the DIC Challenge is to provide a set of vetted and standard images, which all users and developers of Digital Image Correlation (DIC) software can use -DIC Challenge results from Sample 14 and Sample 15 of the DIC-Challenge images, and computes various statistics on the data, such as the noise, bias, and spatial resolution. P.L. Reu, E. Toussaint, E. Jones, H.A. Bruck, M. Iadicola, R. Balcaen, D.Z. Turner, T. Siebert, P. Lava, M. Simonsen (2018) Exp. Mech. 58(7):1067-1099, https://doi.org/10.1007/s11340-017-0349-0.

Jones, Elizabeth↗

FitIsoAndDeff and DeffCalculator Matlab Codes

These codes estimate effective diffusivity for species transport in materials and simultaneously fit multiple temperatures of measured isotherm and effective diffusivities for sorption transport of species through materials. Assumes triple-mode type sorption thermodynamics with mobile and immobile species in quasi-equilibrium.

Foley, BrandonR↗