# MATLAB

#### Home Applications Programs MATLAB

“MATLAB Interview Questions and Answers guide to educate about the Matlab is a numerical computing environment and programming language. You will learn in Matlab Interview Questions and Answers that MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation.”

## 47 MATLAB Questions And Answers

### 1⟩ how to Add noise to an image in Matlab?

The function noise.m, now installed on ashland too, adds Gaussian, uniform, salt and pepper, additive or multiplicative noise to an image.

218 views

### 2⟩ Explain The MATLAB Application Program Interface (API)?

This is a library that allows you to write C and Fortran programs that interact with MATLAB. It include facilities for calling routines from MATLAB (dynamic linking), calling MATLAB as a computational engine, and for reading and writing MAT-files.

203 views

### 3⟩ Explain The MATLAB mathematical function library?

This is a vast collection of computational algorithms ranging from elementary functions like sum, sine, cosine, and complex arithmetic, to more sophisticated functions like matrix inverse, matrix eigenvalues, Bessel functions, and fast Fourier transforms.

213 views

### 4⟩ What is handle graphics in MATLAB?

Handle Graphics is a subsystem of MATLAB that handles graphics.

► Handle Graphics has high level commands for 2D and 3D data visualization.

► Image processing, animation and presentation graphics can be generated using Handle Graphics.

► Low level commands allow customizing the graphics appearances.

► Handle Graphics allows to build customized Graphics User Interfaces

214 views

### 5⟩ Explain Handle Graphics in Matlab?

This is the MATLAB graphics system. It includes high-level commands for two-dimensional and three-dimensional data visualization, image processing, animation, and presentation graphics. It also includes low-level commands that allow you to fully customize the appearance of graphics as well as to build complete Graphical User Interfaces on your MATLAB applications.

233 views

### 6⟩ What are the Basic Plots and Graphs of MATLAB?

Following table describes basic plots and graphs.

► Box - Axis border

► Errorbar - Plots error bars along curve

► Hold - Retains current graph while adding new graphs

► Line - Creates line object

► LineSpec (Line Specification) - Syntax of Line Specification String

► Loglog - Log to log scale plot

► Plot - 2-D line plot

► Plot3 - 3-D line plot

► Plotyy - 2-D line plots with y-axis on both left and right side

► Polar - Polar coordinate plot

► Semilogx - Semilogarithmic plot

► Semilogy- Semilogarithmic plot

► Subplot- Creates axis in tiled positions

► Xlim - Sets or queries x-axis limits

► Ylim - Sets or queries y-axis limits

► Zlim - Sets or queries z-axis limits

217 views

### 7⟩ Explain The MATLAB working environment?

This is the set of tools and facilities that you work with as the MATLAB user or programmer. It includes facilities for managing the variables in your workspace and importing and exporting data. It also includes tools for developing, managing, debugging, and profiling M-files, MATLAB's applications.

211 views

### 8⟩ Explain The MATLAB language?

This is a high-level matrix/array language with control flow statements, functions, data structures, input/output, and object-oriented programming features. It allows both "programming in the small" to rapidly create quick and dirty throw-away programs, and "programming in the large" to create complete large and complex application programs.

213 views

### 9⟩ What are the MATLAB System Parts?

The MATLAB system consists of five main parts:

* The MATLAB language.

* The MATLAB working environment.

* Handle Graphics.

* The MATLAB mathematical function library.

* The MATLAB Application Program Interface (API).

236 views

### 10⟩ What Is MATLAB?

MATLAB is a high-performance language for technical computing. It integrates computation, visualization, and programming in an easy-to-use environment where problems and solutions are expressed in familiar mathematical notation. Typical uses include:

* Math and computation

* Algorithm development

* Modeling, simulation, and prototyping

* Data analysis, exploration, and visualization

* Scientific and engineering graphics

* Application development, including Graphical User Interface building

221 views

### 11⟩ What is stress analysis in MATLAB?

MATLAB is used in aerospace engineering, space environment.

► MATLAB is suitable for flexible dynamics.

► These domain experts conduct stress analysis on various structures like metallic and composite structures.

► To analyze the stress, NASTRAN, IDEAD, Oracle and PATRAN levels of proficiency is needed.

► The tasks are also used on aircraft that is metallic structure.

► The stress analysis includes control surface stiffness understanding, loop calculations, finite element modeling and fatigue testing requirement and analysis.

243 views

### 12⟩ Explain briefly MATLAB mathematical function library?

MATLAB mathematical functions include computational algorithms.

► The elementary computational functions are sum, sine, etc.

► Matrix functions are available including matrix inversion.

► Special functions like Bessel are available.

► MATLAB includes transformation functions, namely Fourier Transformation Functions.

210 views

### 13⟩ Explain briefly about MATLAB language?

MATLAB language is a high-level matrix language.

► It has control structures, functions, data structures, I/O and OOP features.

► Allows rapid creation of throw-away programs.

► Allows creating large and complex application programs.

► MATLAB API allows to author C and FORTRAN programs to interact with MATLAB.

201 views

### 14⟩ What is MATLAB working environment?

MATLAB working environment has various tools to work with MATLAB.

► It has facilities to manage variables.

► MATLAB supports export and import data across applications.

► Certain tools are available to develop and manage MATLAB files.

► Debugging and profiling of MATLAB applications are more flexible with MATLAB.

233 views

### 15⟩ Do you know about MATLAB system parts?

Following are the 5 main parts of MATLAB.

► MATLAB Languange.

► MATLAB working environment.

► Graphics handler.

► MATLAB mathematical library.

► MATLAB Application Program Interface.

226 views

237 views

### 17⟩ Explain about stress analysis in Matlab?

People working on these areas as a aerospace engineers should have familiarity and exposure to NASTRAN and MATLAB with knowledge on space environment and modeling of flexible dynamics. These aerospace engineers will be responsible to conduct stress analysis on metallic and composite structures. NASTRAN, IDEAD, Oracle and PATRAN proficiency level is required. Their duties also include on aircraft which are metallic and composite structures. This includes and understanding of control surface stiffness and loop calculations, finite element modeling (FEM), fatigue testing requirement and analysis.

208 views

### 18⟩ Explain Matlab applications?

its used for best in human reality

205 views

### 19⟩ How to correctly apply the graphics patches in Matlab?

Open a LOCAL MACHINE window and type: xhost +ashland # Add the following code sequence just before the plot command that was giving you problems: figure; set(gcf,'renderer','zbuffer'); [s,w] = unix('echo \$DISPLAY'); set(gcf,'XDisplay',w);

219 views

### 20⟩ Can we run Matlab without graphics?

Sometimes you may want to run scripts which contain plotting commands without displaying the plots and without going into the script to comment out the commands. An example: if you're working from home and it's too slow to run graphics over the network. You can play a simple UNIX trick: % setenv DISPLAY /dev/null % matlab

216 views