# Allen

**Professional Interests:**

App Building, Fourier Analysis and Filtering, Signal and Data Processing, Seismology, Mechanical Engineering

**Statistics**

RANK**410**

of 281,673

REPUTATION**178**

CONTRIBUTIONS

**8** Questions

**89** Answers

ANSWER ACCEPTANCE **
50.0%
**

VOTES RECEIVED**28**

RANK**6,408** of 19,057

REPUTATION**161**

AVERAGE RATING**5.00**

CONTRIBUTIONS**5** Files

DOWNLOADS **11**

ALL TIME DOWNLOADS**781**

CONTRIBUTIONS**0 Posts**

CONTRIBUTIONS**0** Public Channels

AVERAGE RATING

CONTRIBUTIONS**0** Highlights

AVERAGE NO. OF LIKES

**Content Feed**

Submitted

octspace

Create logarithmic spacing with 1/N-th octave bands over a specified frequency range.

4 months ago | 2 downloads |

Submitted

DragDataTipMode

A custom class definition that replaces standard data tips with draggable versions in order to maintain a clear view of all plot...

4 months ago | 1 download |

Submitted

DragDataTip

Creates draggable data tips with custom labeling options on some 2-D plots. Custom labels options can also be applied to standar...

4 months ago | 5 downloads |

the loop is not terminated it keeps on going

It is not clear why you initialize Diff as a vector whos size is equal to x. After you first compute Diff using the norm functio...

4 months ago | 0

Whats wrong with these two functions in my app?

The application property (error) that you are tyring to use is being created upon the start of the application, but you have fai...

4 months ago | 0

How can I infer from the data cursor position, the index of the closest datapoint

Julian, What you are asking for sounds very much like what the brush data tool does. However, there are a few extra steps requi...

4 months ago | 0

| accepted

Problem with 2 plots, one in not showing and second one is showing up empty.

Jana, For both examples you are only plotting a single set of scalar values (e.g. a point) during each interation of the for lo...

4 months ago | 0

Solved

Must be in the front row...

You are given a matrix followed by a single number. Your object is to write a script that will shift the matrix around so that ...

4 months ago

Solved

Write a function man that takes a row vector v and returns a matrix H as follows..

Write a function called man that takes a row vector v as an input and returns a matrix H whose first column consist of the eleme...

4 months ago

Ordering of an array based off conditions

You can perform sorting to a specified order using a categorical array. To do this you will need to restructure your original va...

4 months ago | 0

Solved

Too Many Zeros, Dump Them!

Sometimes when I create a matrix, I use this syntax: a = zeros(1000,1000); But when the function ends, I find that I don'...

4 months ago

Solved

Replace Nonzero Numbers with 1

Given the matrix x, return the matrix y with non zero elements replaced with 1. Example: Input x = [ 1 2 0 0 0 ...

4 months ago

Solved

Matrix multiplication across rows

Given matrix m, return matrix n such that, rows of n are result of multiplication of the rows of the input matrix Example ...

4 months ago

Solved

A matrix of extroverts

Now that the introverts have had their script, the extroverts spoke up (naturally!) and demanded one as well. You will be given...

4 months ago

Solved

Enlarge array

Given an m-by-n numeric array (A) and a 1-by-2 vector (sz) indicating the dimensions [p q] to enlarge each element, return an (m...

4 months ago

Solved

Remove entire row and column in the matrix containing the input values

Remove the entire row and column from the matrix containing specific values. The specified value can be a scalar or a vector. Fo...

4 months ago

Solved

subtract central cross

Given an n-by-n square matrix, where n is an odd number, return the matrix without the central row and the central column.

4 months ago

Solved

Given a matrix, swap the 2nd & 3rd columns

If a = [1 2 3 4; 1 2 3 4; 1 2 3 4; 1 2 3 4]; then the result is ans = 1 3 2 4 1 3 2...

4 months ago

Read/Write CSV for Code Generation

There are a number of options for reading CSV files. The following functions are few that I use and differ many in the type of w...

4 months ago | 0

Solved

Some Assembly Required

The input to this function is a matrix of real numbers. Your job is to assemble the rows of the matrix into one large row that ...

4 months ago

Solved

Calculate a modified Levenshtein distance between two strings

Inspired by the Cody problem found here. The Levenshtein distance is a charater-based string metric used to measure the differe...

4 months ago

Solved

Calculate compression ratio of engine

Calculate compression ratio of engine given compression volume of cylinder(Vc), piston stroke(s) and valve diameter(d)

7 months ago

Solved

Calculate Engine Power

Calculate Engine Power (P) in kW given the values of Torque(M) in Nm and Engine Speed(n) in rpm

7 months ago

Multiplication of gigantic matrices

You can use datastores and tall arrays to work with large amounts of data. See references to both. https://www.mathworks.com/he...

7 months ago | 0

Question

How can I display numbers in scientific notation but in magnitudes of 3 and to 3 significant digits?

I am trying to display rounded values <double> in a uitable and would like do so concisely. Using scientific notation is great f...

8 months ago | 1 answer | 0

### 1

answerExpand a figure in a PDF file

Chris, Regular figures have several properties that allow you to control their size when converted to an image, and should work...

11 months ago | 0

app-designer, rename variables

I am unable to find which version of MATLAB addressed and added this functionality to AppDesigner, but at least back to R2022a y...

11 months ago | 0

App Designer - Plotting from Arrays

If the data type of your x and y variables is a double-array, then you are using the wrong syntax to access the data. Use parent...

11 months ago | 0

Passing objects from app designer to the workspace

Though I would recommend using one of @Adam Danz's solutions since they are typically a safer method of passing data, assignin c...

11 months ago | 1

| accepted