# Adam Filion

### MathWorks

I am an Applications Engineer at MathWorks. My MATLAB addiction began in undergrad while I was attempting to learn Fortran, then someone introduced me to MATLAB. I immediately picked it up and never looked back. These days I travel the country talking with folks of various backgrounds about how MATLAB can make their work easier.

Professional Interests: data analytics, parallel computing, machine learning, big data

**Statistics**

RANK**645**

of 247,425

REPUTATION**90**

CONTRIBUTIONS

**0** Questions

**39** Answers

ANSWER ACCEPTANCE **
0.00%
**

VOTES RECEIVED**18**

RANK**1,201** of 17,241

REPUTATION**1,419**

AVERAGE RATING**4.60**

CONTRIBUTIONS**5** Files

DOWNLOADS **39**

ALL TIME DOWNLOADS**12609**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

How to save a tall array / table to a text or csv file?

As of R2018b the tall write command now directly supports writing tall arrays to .txt files (also .csv, .xls* and custom formats...

3 years ago | 0

How to validate expected numeric tall array column?

It looks like the data provider uses '-' to denote missing data in some places. The datastore's 'TreatAsMissing' property can so...

3 years ago | 0

App Desiger vs GUIDE

This partly depends on the version of MATLAB you are using as App Designer has seen large improvements in recent releases. If Ap...

4 years ago | 0

| accepted

Possible to export standalone MATLAB executable WITH toolboxes?

As noted in other answers, almost everything you do with MATLAB can be compiled with MATLAB Compiler. It's possible whoever told...

7 years ago | 1

plotting implicitly defined curve

If you just need the plot then: figure; hold on; for ii = 1:6 ezplot(['x^2+y^2=1+' num2str(ii) '*(sin(x*y))^2']) ...

8 years ago | 0

Plotting 3D data set over x-y plane (x,y,z coordinates)

Try: F = scatteredInterpolant(busCoordsX,busCoordsY,busVolts); [xx,yy]=meshgrid(busCoordsX,busCoordsY); zz = F(xx,yy)...

8 years ago | 0

Error using matlabpool (2013a)

Try turning off any antivirus software, I've occasionally seen that cause problems.

8 years ago | 0

| accepted

Is there anyway to get the folder location where the executable is running ?

I wouldn't expect it to hardcode that path at compile time which could be a bug. You may want to contact tech support to confirm...

8 years ago | 0

How can I plot a sphere that is segmented into az-el angles?

Use the <http://www.mathworks.com/help/releases/R2013b/matlab/ref/sphere.html sphere> command. There's also the related <http...

8 years ago | 0

YTickLabels at specified RGB values in colorbar

Unfortunately I don't think there's any way to do this, supported or unsupported. EDIT: Nevermind, I misunderstood the questi...

8 years ago | 0

How to show a 4 Dimensional Plot

There are a number of tools in MATLAB for higher dimensional data, including <http://www.mathworks.com/help/matlab/animation-1.h...

8 years ago | 1

How can I record a AVI sequence of a MATLAB figure containing Virtual Reality canvas?

An alternative to getframe() is the screencapture command on the file exchange: <http://www.mathworks.com/matlabcentral/filee...

8 years ago | 0

Does an AMD 4-core processor runs better than an Intel dual core processor for parallel computing

Assuming your hardware meets system requirements: <http://www.mathworks.com/support/sysreq/current_release/index.html> Then ...

8 years ago | 0

An object with the biggest amount of scope in the Binary image

If you have Image Processing Toolbox you can use the function regionprops. It comes out to something like this, where tm is the ...

8 years ago | 0

Animate 3D Plot View

Hi Nick, you need to use f = getframe(gcf) instead of just 'getframe' to make sure it grabs the right figure window. I q...

8 years ago | 3

| accepted

how to stop the running program

Ctrl + C It'll work in most cases. You can change the key mapping in your MATLAB preferences.

8 years ago | 0

| accepted

Is my calculation too complex for Matlab?

As Bjorn mentioned, since they're periodic they may have many solutions. However if I remember the solve command right, I think ...

8 years ago | 0

colorbar position on imageplot with multiple figures

Colorbars are associated with a particular axis. If you do not specify which axis, then it will be added to the last one you use...

8 years ago | 0

imshow update in realtime, colorbar causing it to slow down

You can make visualizations inside of loops more efficient by using handle graphics to update the underlying data rather than re...

8 years ago | 1

| accepted

is there a version of Principle Component Analysis for images?

I don't know much PCA myself, but I know we have some built-in tools in Statistics and Wavelet toolboxes that may be of use: ...

8 years ago | 0

What's the difference between imagesc and imshow?

|imshow| has a number of default settings intended for displaying images, such as turning off the axes and locking the aspect ra...

8 years ago | 2

| accepted

Making a splash Screen for my Gui program

Search for 'splash screen' on the MATLAB File Exchange, there are a number of entries that can do this for you. <http://www.m...

8 years ago | 0

Test harnesses and reference models

First I would double check that you are using virtual vs non-virtual buses where appropriate. There's a good blog post here t...

9 years ago | 0

High CPU usage when matlab is idle on Linux

Have you rebooted your Linux machine since July 1? If not then that may be the problem. There was a bug with Linux that caused a...

9 years ago | 4

| accepted

Change what folder matlab starts up with

There's a doc page with examples on how to do this: <http://www.mathworks.com/help/releases/R2012a/techdoc/matlab_env/bs6j57e...

9 years ago | 1

| accepted

How can i combine two column of a matrix into one column?

You cannot mix data types inside of a matrix, but you could do this instead inside of a cell. For example A = magic(3); ...

9 years ago | 0

Cells break disappear - Why?

Hi Cillian, I've had this happen a few times when MATLAB detects a syntax error in my code, usually a missing ). I think the cod...

9 years ago | 2

How To Calculate Max Deviation On A Line

Hi Kent, here's a quick solution I worked out. Assume you have your first column of data saved as 'x' and your second as 'y'. ...

9 years ago | 0

| accepted

How to skip command lines inside the loop

You can use either an if/else or switch/case structure to conditionally execute sections of code. The examples section in their ...

9 years ago | 0

customize jet color bar, white at zero

The Examples section of the following doc page on the colormap editor contains the best easily available example I know of. You ...

9 years ago | 0